Bug 327313

Summary: KWin.nextDesktop and KWin.previousDesktop does not respect "navigation wraps around" flag
Product: [Plasma] plasma4 Reporter: Michal <mikeos>
Component: widget-pagerAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED UNMAINTAINED    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:

Description Michal 2013-11-08 16:40:19 UTC
When "Desktop navigation wraps around" checkbox is checked it is expected that switching from last desktop to the right switches to the first desktop (identically switching from first desktop to the left results in last desktop displayed). 
It works fine using the keyboard shortcuts, however calling:

qdbus org.kde.kwin /KWin org.kde.KWin.nextDesktop
qdbus org.kde.kwin /KWin org.kde.KWin.previousDesktop

does not respect the setting and never wraps around.

Wasn't always broken in KDE 4.x.

Reproducible: Always

Steps to Reproduce:
1. In the "Pager settings" widget, "Switching" tab, check "Desktop navigation wraps around"
2. Set-up e.g. a 4 horizontal desktops configuration and switch to the last desktop (desktop 4) with your mouse
3. Issue command: qdbus org.kde.kwin /KWin org.kde.KWin.nextDesktop
Actual Results:  
Nothing happens. 

Expected Results:  
Should be seeing desktop 1.
Comment 1 Nate Graham 2018-06-08 19:02:04 UTC
Hello!

This bug report was filed for KDE Plasma 4, which reached end-of-support status in August 2015. KDE Plasma 5's desktop shell has been almost completely rewritten for better performance and usability, so it is likely that this bug is already resolved in Plasma 5.

Accordingly, we hope you understand why we must close this bug report. If the issue described  here is still present in KDE Plasma 5.12 or later, please feel free to open a new ticket in the "plasmashell" product after reading https://community.kde.org/Get_Involved/Bug_Reporting

If you would like to get involved in KDE's bug triaging effort so that future mass bug closes like this are less likely, please read https://community.kde.org/Get_Involved#Bug_Triaging

Thanks for your understanding!

Nate Graham