Bug 483623 - Uneven spacing between desktops when fractionally scaled
Summary: Uneven spacing between desktops when fractionally scaled
Status: CONFIRMED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Pager widget (other bugs)
Version First Reported In: 6.0.2
Platform: NixOS Linux
: NOR minor
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords: qt6
Depends on:
Blocks:
 
Reported: 2024-03-15 05:21 UTC by ectospore
Modified: 2024-04-11 20:53 UTC (History)
3 users (show)

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


Attachments
Unevenly spaced desktop previews (2.48 KB, image/png)
2024-03-15 05:21 UTC, ectospore
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ectospore 2024-03-15 05:21:50 UTC
Created attachment 167228 [details]
Unevenly spaced desktop previews

SUMMARY
Desktop previews in the pager widget sometimes have uneven spacing when fractional scaling is used.

STEPS TO REPRODUCE
1. Set display scale to a non integral value (tested 125% and 150%)
2. Adjust panel size

OBSERVED RESULT
Sometimes desktop previews are spaced unevenly.

EXPECTED RESULT
They should have consistent spacing between them.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 6.6.21
(available in About System)
KDE Plasma Version: 6.0.2
KDE Frameworks Version: 6.0.0
Qt Version: 6.6.2

ADDITIONAL INFORMATION
Comment 1 ectospore 2024-03-15 05:41:30 UTC
PS: This happens on both X11 and Wayland sessions.
Comment 2 Nick 2024-03-21 21:18:42 UTC
Subtle, but I can duplicate this on Neon / Wayland / Intel graphics with scaling at 125% and a panel height of 38px. I think this could be a related to 483338 which relates to pixel rounding errors. Would be good to get this confirmed by a dev who knows more than me! Thanks, Nick.