Bug 449058

Summary: Any downloaded files' names with Japanese characters are considered invalid
Product: [Frameworks and Libraries] frameworks-kio Reporter: eddymcv
Component: Open/save dialogsAssignee: KIO Bugs <kio-bugs-null>
Status: REPORTED ---    
Severity: normal CC: a.samirh78, kdelibs-bugs-null
Priority: NOR    
Version First Reported In: 5.90.0   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: "save as" window when trying to save a file with Japanese characters in the file name.

Description eddymcv 2022-01-24 09:13:13 UTC
Created attachment 145845 [details]
"save as" window when trying to save a file with Japanese characters in the file name.

SUMMARY
Unable to save files that contain Japanese characters in their file name. This is not only limited to Japanese characters (字,か,ム, ...)but also full width alphabet/numerical characters (123ABC) used in Japanese writing. Note that there aren't any problems when trying to name files that are already on your system with those characters.

STEPS TO REPRODUCE
1. Download a file online that contains any of the aforementioned characters in its file name
2. Attempt to choose a saving location

OBSERVED RESULT
The "save as" window is greyed with three identical notifications stacked on top of each other stating that the file has an invalid file name. After closing those notifications, the save button is greyed out, making it impossible to save unless the file name is changed. In addition, each time a character in the file name is deleted, a new notification identical to the previous ones pops up. Only if it is renamed without the aforementioned characters can the file be downloaded.

EXPECTED RESULT
The "save as" window appears and I am free to choose the saving location without changing the file's name.

SOFTWARE/OS VERSIONS
Operating System: openSUSE Tumbleweed 20220122
KDE Plasma Version: 5.23.5
KDE Frameworks Version: 5.90.0
Qt Version: 5.15.2
Kernel Version: 5.16.1-1-default (64-bit)
Comment 1 Ahmad Samir 2022-04-12 13:10:36 UTC
Looking at the screenshot that looks like the GTK file picker; you should file a bug at the GTK bug tracker (I think they're using https://gitlab.gnome.org now).