Bug 494413 - "Switch to Window to the Left" and "Switch to Window to the Right" only partially works on Virtual Desktop 1
Summary: "Switch to Window to the Left" and "Switch to Window to the Right" only parti...
Status: REPORTED
Alias: None
Product: kwin
Classification: Plasma
Component: general (other bugs)
Version First Reported In: 6.1.5
Platform: Arch Linux Linux
: NOR minor
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-10-10 12:12 UTC by Anne-Laure
Modified: 2025-05-26 13:48 UTC (History)
2 users (show)

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


Attachments
video demonstrating the unexpected behaviour of Switch to Window shortcuts not properly working on virtual desktop 1 (407.10 KB, video/webm)
2024-10-10 12:12 UTC, Anne-Laure
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Anne-Laure 2024-10-10 12:12:13 UTC
Created attachment 174615 [details]
video demonstrating the unexpected behaviour of Switch to Window shortcuts not properly working on virtual desktop 1

Hello,

SUMMARY
When you use virtual desktops, only on the first (Desktop 1) virtual desktop:
* `Switch to Window to the Left` when you've selected the window on the Right doesn't work. 
* `Switch to Window to the Right` when you've selected the window on the Left doesn't work.

For both of these, the "wrap around" behaviour **does** work: that is, if I've selected the window on the left, I can `Switch to Window to the Left` to wrap around to the window on the right. Likewise, if I've selected the window on the right, I can `Switch to Window to the Right` to wrap around to the window on the left.

This only happens on Desktop 1. All other virtual desktops work ok (not sure why).

STEPS TO REPRODUCE
1. Use multiple virtual desktops ( see screenshot for settings)
2. Set keyboard shortcuts for the `Switch to Window to the Right` and `Switch to Window to the Left` actions in kwin 
3. open up two windows on Desktop 1, and on any other Desktop (in my video, I used Desktop 4), and observe that the same action doesn't behave the same on these two desktops.

OBSERVED RESULT
Cannot use `Switch to Window to the Left` when selecting the right window, and cannot use `Switch to Window to the Right` when selecting the left window on virtual desktop 1.

EXPECTED RESULT
All "Switch to Window X" behave the same on all desktops.

SOFTWARE/OS VERSIONS

```
Operating System: EndeavourOS
KDE Plasma Version: 6.1.5
KDE Frameworks Version: 6.6.0
Qt Version: 6.7.3
Kernel Version: 6.6.54-1-lts (64-bit)
Graphics Platform: Wayland
Processors: 24 × AMD Ryzen 9 7900X 12-Core Processor
Memory: 61.9 GiB of RAM
Graphics Processor: AMD Radeon Graphics
``` 

Please see here for my keyboard shortcuts: https://postimg.cc/gxMvKNMq
and here for my virtual desktop settings: https://postimg.cc/v48r9pvZ

I've also attached a video demonstrating the observed behaviour.

Thank you for all your hard work.

Kind Regards,
Anne-Laure