Created attachment 186924 [details] Issue on Plasma 6.5.2 STEPS TO REPRODUCE 1. Reduce the Application Menu to its minimal size in a horizontal Panel. 2. Reduce the Application Menu to its minimal size in a vertical Panel. OBSERVED RESULT The minimal/default Application Menu sizes are different by a few pixels. EXPECTED RESULT The minimal/default Application Menu size should be the same. SOFTWARE/OS VERSIONS Operating System: Arch Linux KDE Plasma Version: 6.5.2 KDE Frameworks Version: 6.20.0 Qt Version: 6.10.0 Kernel Version: 6.17.8-arch1-1 (64-bit) Graphics Platform: Wayland Processors: 8 × 11th Gen Intel® Core™ i5-11300H @ 3.10GHz Memory: 9 GB of RAM (8.1 GB usable) Graphics Processor 1: Intel® Iris® Xe Graphics Graphics Processor 2: NVIDIA GeForce GTX 1650 Manufacturer: LENOVO Product Name: 82MG System Version: IdeaPad Gaming 3 15IHU6
Found it. readonly property int minimumGridRowCount: Math.min(Screen.desktopAvailableWidth, Screen.desktopAvailableHeight) * Screen.devicePixelRatio < KickoffSingleton.gridCellSize * 4 + (fullRepresentationItem ? fullRepresentationItem.normalPage.preferredSideBarWidth : KickoffSingleton.gridCellSize * 2) ? 2 : 4 as the panel moves the desktopAvailableWidth/Height changes. This is working as coded. --- >The minimal/default Application Menu size should be the same. Why?
(In reply to David Edmundson from comment #1) > Found it. > > readonly property int minimumGridRowCount: > Math.min(Screen.desktopAvailableWidth, Screen.desktopAvailableHeight) * > Screen.devicePixelRatio < KickoffSingleton.gridCellSize * 4 + > (fullRepresentationItem ? > fullRepresentationItem.normalPage.preferredSideBarWidth : > KickoffSingleton.gridCellSize * 2) ? 2 : 4 > > > as the panel moves the desktopAvailableWidth/Height changes. This is working > as coded. > > --- > > >The minimal/default Application Menu size should be the same. > > Why? I supposed this would cause problems in low resolutions.
Created attachment 187160 [details] Issue on Plasma 6.5.3 (In reply to David Edmundson from comment #1) > Found it. > > readonly property int minimumGridRowCount: > Math.min(Screen.desktopAvailableWidth, Screen.desktopAvailableHeight) * > Screen.devicePixelRatio < KickoffSingleton.gridCellSize * 4 + > (fullRepresentationItem ? > fullRepresentationItem.normalPage.preferredSideBarWidth : > KickoffSingleton.gridCellSize * 2) ? 2 : 4 > > > as the panel moves the desktopAvailableWidth/Height changes. This is working > as coded. > > --- > > >The minimal/default Application Menu size should be the same. > > Why? But if that's the case, then why the difference is just a single pixel?
This is Application Launcher, not Application Menu. Moving it there.
This is already fixed in Plasma 6.5.4. You're using 6.5.2, where there was a one-pixel breakage here. Well-spotted. :)
My mistake, sorry. I wasn't testing properly; this is indeed an issue, and making a vertical panel Kickoff into a Horizontal panel kickoff does lose a pixel and cause the view to have only three columns.