budgie-desktop icon indicating copy to clipboard operation
budgie-desktop copied to clipboard

Wraparound desktops

Open shwaybotx opened this issue 2 years ago • 3 comments

Current Budgie version budgie-desktop 10.6.1

Use-cases

Wraparound desktops

Proposal

Suggest an option in settings that can be enabled or disabled. When end-user reaches last desktop, it wraps around to the first, and vice versa.

References

shwaybotx avatar May 26 '22 01:05 shwaybotx

Seems like a reasonable feature to me :+1:

JoshStrobl avatar May 26 '22 08:05 JoshStrobl

After looking into this, Mutter (GNOME's window manager, which our own window manager is built on top of) doesn't support wrapping around when switching workspaces, so the simple method of implementation is out. In addition, our ideas for workarounds would necessitate the ability to tell Mutter which workspace we want to switch to, and no such API exists for that within Mutter. As far as we can tell, it's fundamentally impossible while Mutter is still in use by Budgie, and without any changes to Mutter's API. Unless GNOME adds a function to Mutter to allow manually setting a workspace index, or adds a setting within Mutter to enable workspace wraparound, I don't think this is feasible to implement within Budgie 10. Definitely within 11, though, since we'll be replacing Mutter.

serebit avatar Aug 12 '22 21:08 serebit

hmm - haven't looked at what is available from a direct mutter (V)API point of view - but from a introspection POV - wrap around workspaces is possible via an extension https://github.com/theychx/WorkspaceSwitcherWrapAround/blob/master/src/extension.js

fossfreedom avatar Dec 12 '22 11:12 fossfreedom