Bug 497121 - Shortcut "Switch to Screen to the Left" does not work when no open windows
Summary: Shortcut "Switch to Screen to the Left" does not work when no open windows
Status: REPORTED
Alias: None
Product: kwin
Classification: Plasma
Component: general (other bugs)
Version First Reported In: 6.2.4
Platform: Fedora RPMs Linux
: NOR minor
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords: multiscreen
Depends on:
Blocks:
 
Reported: 2024-12-06 09:55 UTC by Zane Godden
Modified: 2025-05-28 06:56 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Zane Godden 2024-12-06 09:55:07 UTC
STEPS TO REPRODUCE
1. Virtual Desktops (I have 9 and this is tested on Desktop 1. Other virtual desktops seems unaffected)
2.  In a dual monitor setup (Horizontal) create shortcuts for Switch to Screen to the Left/Right
3. Open a window on the right screen with no window on the left
4. Use shortcut to switch to screen to the left

OBSERVED RESULT
The left screen is not selected.

EXPECTED RESULT
The left screen should be selected regardless if a window is open. If the inverse is done, a window opened on the left screen but none open on the right, the shortcut switch to screen to the right, does work as expected.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Fedora 41
KDE Plasma Version: 6.2.4
KDE Frameworks Version: 6.8.0
Qt Version: 6.8.0
Kernel: 6.11.10-lqx1.fc41

ADDITIONAL INFORMATION
I have also tested this with the shortcut "Switch to Next Screen" and "Switch to Previous Screen" and this also exhibits the same behaviour. If there is no window open to the right and the left screen is selected, Switch to Next Screen works as expected. If there is no window open to the left and the right screen is selected, Switch to Previous Screen does not work.