Bug 483395 - Window name in tooltip doesn't elide properly until the thumbnail shows up
Summary: Window name in tooltip doesn't elide properly until the thumbnail shows up
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Task Manager and Icons-Only Task Manager widgets (show other bugs)
Version: 6.0.1
Platform: Arch Linux Linux
: NOR minor
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords: qt6
Depends on:
Blocks:
 
Reported: 2024-03-13 01:31 UTC by fin-w
Modified: 2025-04-11 02:19 UTC (History)
2 users (show)

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


Attachments
Directory with a long name is open in Dolphin and the Task Manager program preview shows offset data until mouse movement (192.53 KB, video/webm)
2024-03-13 01:34 UTC, fin-w
Details
Mouseover Dolphin and another program in the Task Manager, showing program previews with offset data sometimes. (765.77 KB, video/webm)
2024-03-13 01:44 UTC, fin-w
Details

Note You need to log in before you can comment on or make changes to this bug.
Description fin-w 2024-03-13 01:31:13 UTC
STEPS TO REPRODUCE
1. Open Dolphin, open a directory with a name long enough to need an ellipsis at the end ("verylongname verylongname verylongname " is long enough, longer is more obvious though).
2. Mouseover the Dolphin program in the Task Manager and then don't move the mouse.

OBSERVED RESULT
The Task Manager window preview shows, but the text (program title and directory name), close button, and preview image are all offset. The text and close button are offset to the right, the preview is offset to the right and down. Once the preview shows, moving the mouse will refresh / update the preview window and it displays correctly.

EXPECTED RESULT
Task Manager window preview looks regular.

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 6.0.1
KDE Frameworks Version: 6.0.0
Qt Version: 6.6.2
Kernel Version: 6.7.9-arch1-1 (64-bit)
Graphics Platform: Wayland

ADDITIONAL INFORMATION
I've seen flickering in the Task Manager window previews of other programs sometimes, perhaps because it seems to load initially, and then update when the mouse moves even if it shows the same data. So perhaps all Task Manager window previews might be susceptible to this issue, and I've only noticed it with Dolphin. Seems that the preview shouldn't change once loaded (and load correctly the first time around)?
Comment 1 fin-w 2024-03-13 01:34:26 UTC
Created attachment 167076 [details]
Directory with a long name is open in Dolphin and the Task Manager program preview shows offset data until mouse movement
Comment 2 fin-w 2024-03-13 01:44:31 UTC
Created attachment 167077 [details]
Mouseover Dolphin and another program in the Task Manager, showing program previews with offset data sometimes.

The offset issue seems to carry over to the program preview of other programs in the Task Manager as well as affecting the Dolphin preview itself, where Dolphin was previewed directly before viewing the other program preview, provided the Dolphin preview was initially offset.
Comment 3 Nate Graham 2024-03-13 22:14:05 UTC
Can reproduce.
Comment 4 fin-w 2024-03-15 14:08:30 UTC
I've also just seen this in cases where Firefox has a tab open with a long title. The Firefox tab title is displayed by the Task Manager preview window where Dolphin would display a directory name, so this doesn't seem unique to Dolphin.