https://bugs.kde.org/show_bug.cgi?id=525138
Bug ID: 525138
Summary: Enabling "Switch desktops independently for each
screen" together with the built-in "Virtual Desktops
Only on Primary" KWin script breaks desktop switching
initiated from non-primary screens.
Classification: Plasma
Product: kwin
Version First 6.7.4
Reported In:
Platform: Arch Linux
OS: Linux
Status: REPORTED
Severity: minor
Priority: NOR
Component: scripts
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
DESCRIPTION
If the KWin script "Virtual Desktops Only on Primary" and the "Switch desktops
independently for each screen" option in the Window Management/Virtual Desktops
settings menu are enabled at the same time, any attempt to change the current
virtual desktop that is initiated from or while focused on a non-primary screen
will fail.
STEPS TO REPRODUCE
1. Enable the KWin script "Virtual Desktops Only on Primary" in Window
Management/KWin Scripts
2. Enable "Switch desktops independently for each screen" in Window
Management/Virtual Desktops
3. Focus on a non-primary screen and use a hotkey to change screen (I believe
the default is CTRL+F1/F2/etc). You can also use the built-in Pager Plasma
widget if it is on the other screen, among many other ways.
OBSERVED RESULT
If "Show on-screen display when switching" is enabled in Window
Management/Virtual Desktops, there will be an indication that the desktop
switched, but nothing changes. If that setting is disabled there is no
indication and nothing happens.
EXPECTED RESULT
The primary screen should switch virtual desktops.
SOFTWARE/OS VERSIONS
Operating System: Arch Linux
KDE Plasma Version: 6.7.4
KDE Frameworks Version: 6.29.0
Qt Version: 6.11.2
ADDITIONAL INFORMATION
The reason this is happening is because of the (admittedly rather clever) way
Virtual Desktops Only on Primary works: There are still extra virtual desktops
for non-primary screens, but all windows on those screens are set to "on all
desktops" (see
https://invent.kde.org/plasma/kdeplasma-addons/-/blob/master/kwin/scripts/virtualdesktopsonlyonprimary/contents/code/main.js?ref_type=heads).
This means that the desktops are actually being switched when focused on
non-primary screens, but the windows and layouts are identical (hence nothing
changes).
The bug report https://bugs.kde.org/show_bug.cgi?id=522014 sounds similar but I
don't believe this person is talking about the same problem.
Whether or not this is an explicit "bug", I think the way these two settings
interact is unintended, and not intuitive for users to approach if they wanted
to be able to use their hotkeys from other screens- something I think is the
normal use-case.
--
You are receiving this mail because:
You are watching all bug changes.