Bug 466751 - Window title stripped after dash
Summary: Window title stripped after dash
Status: RESOLVED DOWNSTREAM
Alias: None
Product: plasmashell
Classification: Plasma
Component: Task Manager and Icons-Only Task Manager widgets (other bugs)
Version First Reported In: master
Platform: Other Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-03-02 23:43 UTC by Jannik
Modified: 2023-03-06 22:46 UTC (History)
1 user (show)

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


Attachments
Screenshot of the bug (75.22 KB, image/png)
2023-03-02 23:44 UTC, Jannik
Details
Screenshot with "classic" task bar (66.58 KB, image/png)
2023-03-02 23:44 UTC, Jannik
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jannik 2023-03-02 23:43:16 UTC
SUMMARY
Opening an Virtual-Machine with virt-manager which has an dash "-" in the name, in the window preview all characters after and the dash itself are stripped from the name. The same is happening with an RDP-Connection opened with Remmina.

STEPS TO REPRODUCE
1.  Create a virt-manager vm with a dash in the name, or save an RDP-connection with a dash i the name in Remmina
2.  Open the vm or RDP-Connection
3.  Hover over the task icon and only the characters before the dash are shown

OBSERVED RESULT
Window title is stripped by dash

EXPECTED RESULT
Window title is fully visible

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Fedora 37
KDE Plasma Version: 5.27.2
KDE Frameworks Version: 5.103.0
Qt Version: 5.15.8

ADDITIONAL INFO
The effect only occures in the window-preview title. When I change the style to "classic" and disable grouping the window title is shown correctly in the taskbar but not in the preview.
Comment 1 Jannik 2023-03-02 23:44:00 UTC
Created attachment 156937 [details]
Screenshot of the bug
Comment 2 Jannik 2023-03-02 23:44:46 UTC
Created attachment 156938 [details]
Screenshot with "classic" task bar
Comment 3 Nate Graham 2023-03-06 22:46:03 UTC
The text after the dash is the app name. We strip it so it doesn't duplicate the text that appears in the tooltip right above it.

The issue here is that the window is changing its app name after launch. That's kinda sus. It shouldn't do that. Apps don't get different names at runtime. So this appears to be an app bug.