https://bugs.kde.org/show_bug.cgi?id=393740
            Bug ID: 393740
           Summary: Title bar doesn’t handle soft hyphens – rendered as
                    spaces
           Product: kwin
           Version: unspecified
          Platform: Other
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: decorations
          Assignee: kwin-bugs-n...@kde.org
          Reporter: k...@huftis.org
  Target Milestone: ---

Created attachment 112352
  --> https://bugs.kde.org/attachment.cgi?id=112352&action=edit
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.]

Observed behaviour:
If the text in the title bar contains a soft hyphen (i.e. Unicode character
U+00AD), this is displayed as a space.

Expected behaviour:
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).

Use case:
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 ‘Skrivebords­effektar’ (‘Desktop Effects’) has a soft hyphen
between ‘Skrivebords’ and ‘effektar’, ensuring that it is displayed as

Skrivebords-
effektar

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.

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

Reply via email to