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

            Bug ID: 421290
           Summary: Filename: double quote sign (") used in filename is
                    not kept as-is in resulting filename on disk
           Product: kate
           Version: 19.12.3
          Platform: Ubuntu Packages
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: kwrite-bugs-n...@kde.org
          Reporter: gnu4e...@netc.eu
  Target Milestone: ---

SUMMARY

Handling of double quote signs in filenames has never been satisfying with
Kate, but version 19.x might even be worst than before.

* CASE 1:

STEPS TO REPRODUCE
1. Create a new file with Kate.
2. Save it under name:
my "blah" file.txt

OBSERVED RESULT
Saved file is named:
blah

EXPECTED RESULT
Saved file should be named on disk:
my "blah" file.txt

* CASE 2:

STEPS TO REPRODUCE
1. Create a new file with Kate.
2. Click on Save button
3. Name file (but don't save yet!):
my "blah" file.txt
4. Enter some subdirectory from current location -> filename is automatically
renamed as:
my %22blah%22 file.txt
(doesn't sound bad... but wait ^^)
5. Go up one level (to the initial location) -> filename is automatically
renamed as:
my %2522blah%2522 file.txt
6. Enter some subdirectory again -> filename is automatically renamed as:
my %252522blah%252522 file.txt
7. Etc.?

OBSERVED RESULT
1. Filename changes each time a directory is entered or exited.
2. If you finally click "Save", the resulting filename is actually what it
reads, for e.g.:
my %252522blah%252522 file.txt

EXPECTED RESULT
1. Filename should not change each time a directory is entered or exited.
2. Saved file should be named on disk:
my "bla" file.txt

SOFTWARE/OS VERSIONS
Linux/KDE Plasma:
KDE Plasma Version: 5.18.4
KDE Frameworks Version: 5.68.0
Qt Version: 5.12.8

ADDITIONAL INFORMATION
My Kate encoding: Unicode (UTF-8)
My Plasma regional setting: French

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

Reply via email to