Bug 473690 - App icon overlaps the window title in the Thumbnail Grid task switcher
Summary: App icon overlaps the window title in the Thumbnail Grid task switcher
Status: RESOLVED FIXED
Alias: None
Product: kwin
Classification: Plasma
Component: tabbox (show other bugs)
Version: master
Platform: Neon Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords: qt6
Depends on:
Blocks:
 
Reported: 2023-08-23 18:08 UTC by Patrick Silva
Modified: 2023-08-30 21:19 UTC (History)
1 user (show)

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


Attachments
screenshot (134.02 KB, image/png)
2023-08-23 18:08 UTC, Patrick Silva
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Patrick Silva 2023-08-23 18:08:36 UTC
Created attachment 161141 [details]
screenshot

STEPS TO REPRODUCE
1. open Task Switcher KCM
2. choose Thumbnail Grid task switcher under "Visualization"
3. apply the change
4. open some windows and test the task switcher

OBSERVED RESULT
the app icon sometimes overlaps the windows title. Please see the attached screenshot.

EXPECTED RESULT
the observed result should not occur

SOFTWARE/OS VERSIONS
Operating System: KDE neon Unstable Edition
KDE Plasma Version: 5.27.80
KDE Frameworks Version: 5.240.0
Qt Version: 6.6.0
Graphics Platform: Wayland
Comment 1 Nate Graham 2023-08-26 01:49:55 UTC
What font and font size are you using? Does it reproduce with 10pt Noto Sans?
Comment 2 Patrick Silva 2023-08-26 11:39:49 UTC
The font is SF Pro Display 10pt. Cannot reproduce with default font settings.
Comment 3 Nate Graham 2023-08-30 21:19:04 UTC
Git commit 996730d31004aa096ff7d5292f9e5273e0373d5f by Nate Graham.
Committed on 30/08/2023 at 23:17.
Pushed by ngraham into branch 'master'.

tabbox/switchers/thumbnail_grid: refine icon positioning

This way it won't overlap the label when using a font with unusual
metrics.

M  +1    -1    src/tabbox/switchers/thumbnail_grid/contents/ui/main.qml

https://invent.kde.org/plasma/kwin/-/commit/996730d31004aa096ff7d5292f9e5273e0373d5f