Bug 395458 - Task bar/Preview: part of the text is not shown when title contains character '\'
Summary: Task bar/Preview: part of the text is not shown when title contains character...
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Panel (show other bugs)
Version: 5.13.0
Platform: Arch Linux Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-06-15 21:55 UTC by magiblot
Modified: 2020-10-09 20:36 UTC (History)
5 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Screenshot showing the issue. (83.74 KB, image/png)
2018-06-15 21:55 UTC, magiblot
Details
Screenshot showing the task switcher not having this issue. (51.95 KB, image/png)
2018-06-15 22:00 UTC, magiblot
Details
Screenshot showing problem is solved as of Plasma 5.18.3 (141.28 KB, image/png)
2020-03-10 19:03 UTC, magiblot
Details

Note You need to log in before you can comment on or make changes to this bug.
Description magiblot 2018-06-15 21:55:06 UTC
Created attachment 113360 [details]
Screenshot showing the issue.

Hi there.

Please check the enclosed screenshot. I don't think I can describe the issue any better with my own words.

I feel like the issue began after I updated to Plasma 5.13 in Archlinux x86_64 via the "Extra" repository because I don't remember seeing this previously. I have used this program a lot of times, so I should have noticed.
Comment 1 magiblot 2018-06-15 22:00:52 UTC
Created attachment 113361 [details]
Screenshot showing the task switcher not having this issue.
Comment 2 Alexander Mentyu 2018-09-26 07:54:23 UTC
Cannot reproduce this bug both on X11 and on Wayland with Notepad++ that has path with "\" symbols launched through Wine

Plasma 5.13.5 Qt 5.11 KDE 5.50.0
Comment 3 magiblot 2018-09-26 08:48:02 UTC
(In reply to Alexander Mentyu from comment #2)
> Cannot reproduce this bug both on X11 and on Wayland with Notepad++ that has
> path with "\" symbols launched through Wine
> 
> Plasma 5.13.5 Qt 5.11 KDE 5.50.0

I believe I made a wrong assumption and failed to describe the issue properly. Comparing the two attachments again, I think the text starting with "\" (that is, including what's after this character) is treated as a indivisible text block, as seems to happen in attachment 113361 [details] (instead of not being displayed at all, as I implied).

The problem then is that the title in the window preview from the task bar behaves the same than the task switcher, that is, it splits the text in two parts, as if they could be displayed in two or more lines, but only one is shown for me (see attachment 113360 [details]).

It seems like it should be displayed like the title of the tabs in the task bar: in a single line, ending with '...'.

Another part of the problem is that a string like '\Users\usuario\Desktop\alumne.SCD' cannot be splitten at e.g. '\Users', '\usuario', '\Desktop' or '\alumne.SCD' -- but I can see this is happening too within the text box where I am writing this comment (with Falkon browser), so I guess this treatment of a text string is intended behaviour of Qt or something many applications agree upon.

Cheers.
Comment 4 Kai Uwe Broulik 2018-09-26 08:49:03 UTC
I have observed a similar "unwanted" line break when the text contains a /, e.g. KFind's title "Dateien/Ordner suchen" sometimes is abbreviated to "Dateien/" without an ellipsis
Comment 5 magiblot 2020-03-10 19:03:50 UTC
Created attachment 126716 [details]
Screenshot showing problem is solved as of Plasma 5.18.3

This issue was fixed at some point and the result is now good enough.
Comment 6 magiblot 2020-10-09 20:36:45 UTC
Still fixed in 5.19.5, closing.