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

            Bug ID: 505382
           Summary: "Remove Trailing Spaces: Never" doesn't work
    Classification: Applications
           Product: kate
      Version First 23.08.5
       Reported In:
          Platform: Ubuntu
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: kwrite-bugs-n...@kde.org
          Reporter: pit...@free.fr
  Target Milestone: ---

SUMMARY

I have configured "Remove trailing spaces" to "Never" in the Kate
configuration.

Yet, if I open a file with existing trailing spaces, edit a bit, then save it,
then trailing spaces are automatically removed by Kate. I have tried with a C++
file and a regular text file, to make sure this wasn't specific to a file type.

I have also tried setting "Remove trailing spaces" to "On modified lines" and
got the same result.

STEPS TO REPRODUCE
1. Set "Remove trailing spaces" to "Never" in the Kate configuration dialog;
press "Apply" and close
2. Open a file with existing trailing spaces
3. Edit the file in some other places
4. Save the file

OBSERVED RESULT

Trailing spaces have been removed on saving, despite Kate being told not to do
so.

EXPECTED RESULT

Trailing spaces should have been left intact.

SOFTWARE/OS VERSIONS
Ubuntu 24.04
Kate 23.08.5
(running on a XFCE desktop)

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

Reply via email to