Bug 463580 - wraparound of virtual desktops does not work when the option is set from the control center
Summary: wraparound of virtual desktops does not work when the option is set from the ...
Status: RESOLVED INTENTIONAL
Alias: None
Product: plasmashell
Classification: Plasma
Component: Pager widget (other bugs)
Version First Reported In: 5.26.4
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-12-29 08:15 UTC by b2.temp
Modified: 2022-12-30 20:33 UTC (History)
4 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description b2.temp 2022-12-29 08:15:39 UTC
SUMMARY

Wraparound of the virtual desktop number  via the mouse wheel is broken.

STEPS TO REPRODUCE
1. Setup at least 4 virtual desktop 
2. Enable the the menu bar widget
3. In the control panel, enable "circular navigation"
4. select the first virtual destop
5. with the MW, scroll to selected the next desktop, 4 times

OBSERVED RESULT

The 4th  time the 1st desktop is not selected, showing that "circular navigation" is broken

EXPECTED RESULT

The 1st desktop should be selected

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma:  Linux Fedora 37
KDE Plasma Version: 5.26.4
KDE Frameworks Version: 5.101.0
Qt Version: 5.15.7
Graphical subsystem: X11
Comment 1 b2.temp 2022-12-29 10:55:28 UTC
from first to last too btw.
Comment 2 Nate Graham 2022-12-29 18:08:03 UTC
What do you mean exactly by "Enable the the menu bar widget"?

What thing are you specifically scrolling over to make this happen?
Comment 3 b2.temp 2022-12-30 12:59:30 UTC
(In reply to Nate Graham from comment #2)
> What do you mean exactly by "Enable the the menu bar widget"?
> 
> What thing are you specifically scrolling over to make this happen?

You place the mouse cursor over the "desktop manager" and you use the mouse whell to select another desktop.
In the past when you did that while the last desktop was active then the first when got selected, now it is not anymore.
Comment 4 b2.temp 2022-12-30 13:00:11 UTC
(In reply to b2.temp from comment #3)
> (In reply to Nate Graham from comment #2)
> > What do you mean exactly by "Enable the the menu bar widget"?
> > 
> > What thing are you specifically scrolling over to make this happen?
> 
> You place the mouse cursor over the "desktop manager" and you use the mouse
> whell to select another desktop.
> In the past when you did that while the last desktop was active then the
> first when got selected, now it is not anymore.

the first one* got selected
Comment 5 b2.temp 2022-12-30 19:55:51 UTC
The problem is actually that the setting seems to be a noop when defined from the control panel you obtain from `kcmshell5 kcm_kwin_virtualdesktops`.

When defined from the panel you obtain using the context menu of the virtual desktop selector then the setting is handled correctly.
Comment 6 Nate Graham 2022-12-30 20:33:59 UTC
Aha! This is in fact expected behavior. The setting in the control panel only affects wrap when scrolling on the desktop or using global keyboard shortcuts. The setting in the settings window of the Pager widget only affects wrap when scrolling over the Pager widget.