Bug 485303 - Some desktops in multi-row/multi-column Pager cannot be clicked with thin floating panels
Summary: Some desktops in multi-row/multi-column Pager cannot be clicked with thin flo...
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Panel (show other bugs)
Version: 6.0.3
Platform: Neon Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-04-10 05:09 UTC by Thomas Dickson
Modified: 2024-12-19 09:39 UTC (History)
4 users (show)

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


Attachments
Screenshot of pager on a floating panel, the mouse is over the 7th desktop, but the 4th one is selected. (5.28 KB, image/png)
2024-04-10 05:09 UTC, Thomas Dickson
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Dickson 2024-04-10 05:09:45 UTC
Created attachment 168328 [details]
Screenshot of pager on a floating panel, the mouse is over the 7th desktop, but the 4th one is selected.

(apologies if this is filed under the wrong component)

SUMMARY
The with a 3x3 of virtual desktops, the pager cannot select the upper or lower six.

STEPS TO REPRODUCE
1. Add the virtual desktop pager to a floating panel
2. Add 9 virtual desktops in a 3x3 grid
3. Attempt to select the upper or lower three desktops

OBSERVED RESULT
The mouse can only select the middle three desktops (4,5,6), despite the mouse hovering over the rows above or below it.

EXPECTED RESULT
The selected desktop should be the one that the mouse is hovering over.

SOFTWARE/OS VERSIONS
Linux: 6.5.0-27
KDE Plasma Version: 6.0.3
KDE Frameworks Version: 6.0.0
Qt Version: 6.6.3
Comment 1 Thomas Dickson 2024-04-10 05:11:09 UTC
This bug also still occurs when the floating panel is in the maximised window mode.
Comment 2 Marco Martin 2024-04-10 15:34:50 UTC
does this happens only when the pager is configured to have multiple lines?
Comment 3 Nate Graham 2024-04-10 15:52:33 UTC
Can reproduce with the following settings:
- Panel with thickness of 34px or less
- 3 or more rows of virtual desktops

It affects horizontal or vertical panels, and starts working as expected if I raise the panel thickness to 36 or higher.

Seems like floating panel input redirection may be inappropriately kicking in here or something?
Comment 4 Bug Janitor Service 2024-12-13 12:27:47 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-desktop/-/merge_requests/2669
Comment 5 Niccolò Venerandi 2024-12-19 09:39:11 UTC
Git commit cdf2138fe19ad260c83b979a3df796006d219623 by Niccolò Venerandi.
Committed on 19/12/2024 at 09:38.
Pushed by niccolove into branch 'master'.

Align panel containment's spacingAtMinSize value with view

Previously the containment value would use round instead of floor,
and it would use the entire window size (including floating margins)
instead of just the panel thickness. Instead, they should always use
the same value.

M  +1    -1    desktoppackage/contents/views/Panel.qml

https://invent.kde.org/plasma/plasma-desktop/-/commit/cdf2138fe19ad260c83b979a3df796006d219623