Bug 471160

Summary: Scrolling horizontally and vertically on a grid pager work in an unexpected way
Product: [Plasma] plasmashell Reporter: Miles B Huff <MilesBHuff>
Component: Pager widgetAssignee: Plasma Bugs List <plasma-bugs-null>
Status: CONFIRMED ---    
Severity: minor CC: hein, nate
Priority: NOR    
Version First Reported In: 5.27.5   
Target Milestone: 1.0   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Example of grid pager

Description Miles B Huff 2023-06-17 14:18:24 UTC
Created attachment 159747 [details]
Example of grid pager

SUMMARY
Scrolling horizontally and vertically on a grid pager work unintuitively.

STEPS TO REPRODUCE
1. Configure 4 workspaces in 2 rows
2. Add a pager widget to your panel
3. Scroll vertically on your pager.  Observe as the pager goes left first, instead of down.
4. Edit your pager settings, and deselect "Navigation wraps around".
5. Scroll horizontally on your pager.  This will work correctly on the first change (from 1 to 2), but then wrap around to 3.

OBSERVED RESULT
The anti-wrapping option is not fully honored when using a grid of virtual desktops.

EXPECTED RESULT
1. Vertical scrolling should only scroll the pager vertically.
2. Horizontal scrolling should only scroll the pager horizontally.

SOFTWARE/OS VERSIONS
Windows: N/A
macOS: N/A
Linux: 6.3.7
KDE Plasma Version: 5.27.5
KDE Frameworks Version: 5.107.0
Qt Version: 5.15.9

ADDITIONAL INFORMATION
Since not everyone has access to horizontal scrolling, I'd suggest adding an additional toggle.  This additional toggle will make vertical and horizontal scrolling behave strictly.  That way, people with only vertical scrolling can still use the current behaviour.