Created attachment 112352 [details]
Screenshot showing soft hyphen displayed as a space
[I’m not sure if this is the right component, or even product, so feel free to reassign.]
If the text in the title bar contains a soft hyphen (i.e. Unicode character U+00AD), this is displayed as a space.
The soft hyphen should be invisible.
(A soft hyphen should always be invisible unless it word is broken over two lines, where it magically turns into an ordinary hyphen).
In our (Norwegian Nynorsk) translation of the system settings modules, we have many long (compound) words, and we use soft hyphens to ensure that module names can be displayed properly, i.e. hyphenated over several lines. For example, the module name ‘Skrivebordseffektar’ (‘Desktop Effects’) has a soft hyphen between ‘Skrivebords’ and ‘effektar’, ensuring that it is displayed as
if the word needs to be broken over two lines. This works very well. But the module name is also shown in the title bar, and there the soft hyphen seems to be replaced by a space, ‘Skrivebords effektar’, which is wrong.
I’ll attach a screenshot showing the problem.
Created attachment 112353 [details]
Text file with soft hyphen in filename
Here’s a file to easily reproduce the bug. It’s called ‘skrivebordseffektar.txt’, with a soft hyphen between ‘skrivebords’ and ‘effektar.txt’.
Steps to reproduce bug:
1. Open the file in Kate, Kwrite or another editor that shows the file name in the title bar.
2. Note that the title bar says ‘Skrivebords effektar.txt’ instead of ‘Skrivebordseffektar.txt’.
(Note that downloading the attachment using Chromium doesn’t work, as it replaces the soft hyphen with an underscore. But downloading it using Firefox works fine.)
*** This bug has been marked as a duplicate of bug 376813 ***