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

            Bug ID: 433903
           Summary: Files with quotes in filename can not be opened in
                    Kate.
           Product: kate
           Version: 19.12.3
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: application
          Assignee: kwrite-bugs-n...@kde.org
          Reporter: roczech+kdeb...@gmail.com
  Target Milestone: ---

Created attachment 136339
  --> https://bugs.kde.org/attachment.cgi?id=136339&action=edit
Screenshot of the error message next to the file

SUMMARY

Files with quotes in filename can not be opened in Kate.

STEPS TO REPRODUCE

1. Create file with quotes in filename, e. .g
$ touch 'the "foo"'

2. In Kate go to "File" -> "Open …"

3. Select the file 'the "foo"' and open it


OBSERVED RESULT

If a file named 'foo' exists, this file is opened.

If no such file exists, an error message appears: 'The file
"/home/username/foo" could not be found'

In any case, the file 'the "foo"' is not opened.

EXPECTED RESULT

The file 'the "foo"' should be opened.


SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Kubuntu 20.04 and Kubuntu 20.10
KDE Plasma Version: 5.18.5 and 5.19.5
KDE Frameworks Version: 5.68.0 and 5.74.0
Qt Version: 5.12.8 and 5.14.2

ADDITIONAL INFORMATION

Bug might be related to https://bugs.kde.org/show_bug.cgi?id=421290 and
https://bugs.kde.org/show_bug.cgi?id=352537
It seems quotes are not properly handled or escaped in File dialogues. However
I see this bug as slightly more severe than the other ones, since it actually
hinders me from opening files in Kate that I got from $somewhere_else.

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

Reply via email to