Bug 444075

Summary: Thumbnail Grid Task Switcher: Window previews can overlap with title
Product: [Plasma] kdeplasma-addons Reporter: David <david.cortes.rivera>
Component: Task SwitchersAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED FIXED    
Severity: normal CC: isma.af, nate
Priority: NOR    
Version: 5.23.0   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In: 6
Sentry Crash Report:
Attachments: kde_previews_overlapping

Description David 2021-10-20 02:22:36 UTC
SUMMARY
The new window previews system can lead to situations in which the preview of some window is large enough to block part of the window title.

STEPS TO REPRODUCE
1. Get the "Thumbnail Grid" task switcher (Settings -> Window Management -> Task switcher).
2. Set a low screen resolution.
3. Open many windows of some app.
4. Trigger the task switcher (Ctrl+Tab).

OBSERVED RESULT
Some window previews are too large and collide with the title of the window preview.

EXPECTED RESULT
Should not collide with the title of the window preview, like in earlier versions when the window previews looked a bit different from current ones.

SOFTWARE/OS VERSIONS
Operating System: Debian GNU/Linux
KDE Plasma Version: 5.23.0
KDE Frameworks Version: 5.86.0
Qt Version: 5.15.2
Kernel Version: 5.14.0-3-amd64 (64-bit)
Graphics Platform: X11
Processors: 16 × AMD Ryzen 7 2700 Eight-Core Processor
Memory: 15.5 GiB of RAM
Graphics Processor: AMD VEGA10

ADDITIONAL INFORMATION
Comment 1 Nate Graham 2021-10-20 15:05:44 UTC
Can you please attach a screenshot?
Comment 2 David 2021-10-20 16:29:39 UTC
Created attachment 142683 [details]
kde_previews_overlapping

Attached a video. Spectacle doesn't take static screenshots for that kind of thing.
Comment 3 Nate Graham 2021-10-20 16:58:53 UTC
Thanks.
Comment 4 David 2021-10-20 17:06:29 UTC
(In reply to Nate Graham from comment #3)
> Thanks.

I have a feeling that this is not the only place in which previews are used and probably more components would be affected.
Comment 5 Ismael Asensio 2024-02-12 18:55:21 UTC
This got fixed with the UI revamp of the thumbnail grid switcher for Plasma 6 
(https://invent.kde.org/plasma/kdeplasma-addons/-/merge_requests/379)

Unfortunately it was a full revamp and not a simple bugfix we can backport to 5.27.