Bug 456153

Summary: Icons-only Task Manager does not show titles when using Textual List preview for grouped tasks.
Product: [Plasma] plasmashell Reporter: Oliver Hiorns <oshiorns1+kdebugs>
Component: Task Manager and Icons-Only Task Manager widgetsAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: nate, oshiorns1+kdebugs
Priority: NOR    
Version First Reported In: 5.24.5   
Target Milestone: 1.0   
Platform: Manjaro   
OS: Linux   
Latest Commit: Version Fixed/Implemented In: 5.25
Sentry Crash Report:
Attachments: Broken preview with offset

Description Oliver Hiorns 2022-06-30 01:25:10 UTC
Created attachment 150280 [details]
Broken preview with offset

SUMMARY
***
NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols.
See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***


STEPS TO REPRODUCE
1. Configure Icons-only Task Manager
2. Select Behaviour>Clicking grouped task>**Shows textual list**
3. Click on a grouped collection of windows

OBSERVED RESULT
4. Often (there is inconsistency) the width is wrong and so the preview does not show the window titles

EXPECTED RESULT
5. The width is correct and the window titles are shown

SOFTWARE/OS VERSIONS
Linux: 5.19.0-1-MANJARO
KDE Plasma Version: 5.24.5
KDE Frameworks Version: 5.95.0
Qt Version: 5.15.5

ADDITIONAL INFORMATION
See attached image for how it looks when broken. Sometimes it is offset like this, sometimes it is centred.
When it is opened and is offset like this, there seems to be a flicker of the titles being correctly displayed (which presumably causes the centring to be based on that.)
Another symptom much less commonly seems to be the titles being displayed but the width of the box being too big, which occurs if a wider title was previously displayed.
Comment 1 Nate Graham 2022-06-30 16:22:56 UTC
This is fixed in Plasma 5.25.
Comment 2 Oliver Hiorns 2022-06-30 18:16:55 UTC
Ok, thanks.