https://bugs.kde.org/show_bug.cgi?id=505530

            Bug ID: 505530
           Summary: Saving JSON file deletes lines
    Classification: Applications
           Product: kate
      Version First 25.04.2
       Reported In:
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: major
          Priority: NOR
         Component: application
          Assignee: kwrite-bugs-n...@kde.org
          Reporter: mk_spamgu...@proton.me
  Target Milestone: ---

Created attachment 182230
  --> https://bugs.kde.org/attachment.cgi?id=182230&action=edit
The json file in question.

SUMMARY
When saving this specific json file a reformat is triggered (while I have this
disabled in my settings) and a whole entry is removed. With this bug I can't
rely on Kate for any json work.
I tried restarting the editor, thinking it might be a random bug. I also tried
moving the file (outside the git repo) on disk and I keep getting the same
result. 

STEPS TO REPRODUCE
1. Open the json file.
2. Hit "control + s" or click the save button.
3. Watch the text disappear.

OBSERVED RESULT
Text just disappears, I'm glad I had the file in git.

EXPECTED RESULT
No reformatting and lines deleted with a json file on disk.

SOFTWARE/OS VERSIONS
Operating System: EndeavourOS
KDE Plasma Version: 6.3.5
KDE Frameworks Version: 6.14.0
Qt Version: 6.9.1
Kernel Version: 6.14.10-arch1-1 (64-bit)
Graphics Platform: Wayland
Processors: 32 × AMD Ryzen 9 7950X3D 16-Core Processor
Memory: 62.4 GiB of RAM
Graphics Processor: AMD Radeon RX 7900 XTX

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to