Bug 470992

Summary: Panel height is significantly larger in Wayland vs X
Product: [Plasma] plasmashell Reporter: Andrew Udvare <audvare>
Component: PanelAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: nate, niccolo.venerandi, sam
Priority: NOR    
Version First Reported In: master   
Target Milestone: 1.0   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed/Implemented In: 6.0
Sentry Crash Report:

Description Andrew Udvare 2023-06-13 21:29:35 UTC
STEPS TO REPRODUCE
1. In X, set scale to 150%. Log out and log back in.
2. Set up a panel on the top. Set its height to 50.
2. Log out and log back in with Wayland.

OBSERVED RESULT
Panel size is much larger than in X.

EXPECTED RESULT
Panel size should be exactly the same.

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: Linux 6.3.7
(available in About System)
KDE Plasma Version: 5.27.5
KDE Frameworks Version: 5.107.0
Qt Version: 5.15.9

ADDITIONAL INFORMATION
I do not think a migration to the correct Wayland size (about 34) is acceptable. The numbers in X and Wayland should be the same. Sometimes with the way things are we still need to go back to X and do not expect significant changes (preferably none).
Comment 1 Nate Graham 2023-09-15 16:36:59 UTC
In fact, the Wayland height is the correct one; it was always a bug on X11 that the panel didn't scale with the scale factor. In Plasma 6, this is fixed, and the panel will scale with the scale factor on both Wayland and X11.