Bug 361672 - Plasma Ignores the KWin Setting of Disabling "Desktop navigation wraps around"
Summary: Plasma Ignores the KWin Setting of Disabling "Desktop navigation wraps around"
Alias: None
Product: plasmashell
Classification: Plasma
Component: Pager (show other bugs)
Version: 5.5.4
Platform: Kubuntu Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
Depends on:
Reported: 2016-04-12 14:19 UTC by Michael Tunnell
Modified: 2020-11-25 19:19 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:


Note You need to log in before you can comment on or make changes to this bug.
Description Michael Tunnell 2016-04-12 14:19:34 UTC
This is not an issue specific to the Pager applet, this applies to pretty much everything related to Plasma. This also seems to have existed since Plasma 4. 

Previous Bug Reports:
1. https://bugs.kde.org/show_bug.cgi?id=286297
2. https://bugs.kde.org/show_bug.cgi?id=327313
3. https://bugs.kde.org/show_bug.cgi?id=334230

The issue is that when you disable the "Desktop navigation wraps around" option in System Settings -> Desktop Behavior -> Virtual Desktops -> Switching, KWin respects the decision but nothing in Plasma respects it.

Unfortunately, I could not find any setting in Plasma that respected this wrap disabling.

Reproducible: Always

Steps to Reproduce:
1. Disable navigation wrap.
2. Mouse scroll on Pager widget or system desktop.

Actual Results:  
1. In the Pager widget, do a mouse-scroll on it and the desktop navigation wraps.
2. Using the Mouse-scroll on the desktop itself via the Desktop Settings -> Mouse Actions -> Vertical-Scroll = Switch Desktops the navigation continues to wrap.

Expected Results:  
Stop at the first and last desktops when this setting is disabled.

If you have shortcuts defined in KWin for switching desktops then those shortcuts respect the option of disabling the navigation wrap.

KWin Shortcuts I've Tested that Work as Expected:
Switch to Next Desktop
Switch to Previous Desktop
Switch One Desktop Up
Switch One Desktop Right
Switch One Desktop Down
Switch One Desktop Left
Comment 1 Michael Butash 2016-08-10 00:55:36 UTC
I am having this same problem, further more I noticed as of 5.7 upgrade to neon, it causes a kwin crash as well to break compositing.  If I untick "Desktop navigation wraps around", and cause an infinite loop of the desktops, kwin does not crash.

Same as above to reproduce, but Mouse scroll causes kwin to crash as well.
Comment 2 Alexander Mentyu 2018-02-21 13:45:46 UTC
Can reproduce this bug without crashing in:

Plasma: 5.12.1
Apps: 17.12.2
Frameworks: 5.43.0
Qt: 5.10.1
Kernel: 4.14.20-2-MANJARO
OS: Netrunner Rolling
Comment 3 Kevin Herron 2018-09-29 15:58:37 UTC
This setting is still ignored in Plasma 5.13.

KDE Plasma Version: 5.13.14
KDE Frameworks Version: 5.49.0
Qt Version: 5.11.1
Comment 4 David Edmundson 2018-10-22 09:57:46 UTC
Git commit a2b683a10802ae564c99c4c30601297917a7566d by David Edmundson, on behalf of Phuong Nguyen.
Committed on 22/10/2018 at 09:57.
Pushed by davidedmundson into branch 'master'.

Implement option to toggle page navigation wraps around for pager plasmoid


This patch implement an option to disable navigation wraps around for the pager plasmoid, which potentially cause inconveniences for user who switch desktop using mouse wheel or touchpad scroll.

The patch is implemented since "Desktop navigation wraps around" option in "System Settings -> Desktop Behavior -> Virtual Desktops -> Switching" only affects keyboard shortcut mapping.


Reviewers: #plasma, #vdg, davidedmundson

Reviewed By: #plasma, davidedmundson

Subscribers: hein, zzag, ngraham, abetts, davidedmundson, broulik, plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D14988

M  +4    -0    applets/pager/package/contents/config/main.xml
M  +11   -0    applets/pager/package/contents/ui/configGeneral.qml
M  +8    -2    applets/pager/package/contents/ui/main.qml

Comment 5 José 2020-11-25 19:19:35 UTC
It still happens and it's so annoying

Kde Neon
Plasma 5.20.3
Framework 5.75.0