https://bugs.kde.org/show_bug.cgi?id=525594
Bug ID: 525594
Summary: Saving a color scheme omits unicode characters
Classification: Applications
Product: systemsettings
Version First 6.7.5
Reported In:
Platform: Other
OS: Linux
Status: REPORTED
Severity: normal
Priority: NOR
Component: kcm_colors
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected],
[email protected]
Target Milestone: ---
DESCRIPTION
When saving a color scheme, unicode characters are omitted from the saved
filename even if they are valid. which can lead to conflicts where
differently-named color schemes attempt to save to the same file. This is
particularly problematic for users with languages that are heavily reliant on
unicode characters, such as Chinese.
STEPS TO REPRODUCE
1. Open an existing color scheme
2. Click "Save As" and add some unicode characters to the new name. For
example, save the modified version of "Breeze Light" as "Breeze Light 测试一".
3. Open ~/.local/share/color-schemes.
OBSERVED RESULT
The file is saved without any unicode characters: in the above example, it will
be saved as "Breeze Light.colors". If you attempt to save another color scheme
as, for instance, "Breeze Light 测试二", a prompt to overwrite an existing color
scheme will appear, because it would also be saved as "Breeze Light.colors".
EXPECTED RESULT
Unicode characters are properly handled, where valid ones for use in filenames
are kept while only invalid ones (e.g. "/") are omitted or replaced.
SOFTWARE/OS VERSIONS
Operating System: Fedora Linux 44 (KDE Plasma Desktop Edition) x86_64
KDE Plasma Version: 6.7.5
KDE Frameworks Version: 6.30.0
Qt Version: 6.11.2
--
You are receiving this mail because:
You are watching all bug changes.