https://bugs.kde.org/show_bug.cgi?id=521597

            Bug ID: 521597
           Summary: "Switch to Window to the [direction]" shortcuts
                    misbehave when "Switch desktops independently for each
                    screen" enabled
    Classification: Plasma
           Product: kwin
      Version First 6.7.0
       Reported In:
          Platform: Fedora RPMs
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: multi-screen
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: ---

Created attachment 193247
  --> https://bugs.kde.org/attachment.cgi?id=193247&action=edit
Reproduction screencast

DESCRIPTION
When using "Switch desktops independently for each screen", the directional
window focus changing shortcuts ("Switch to Window to the [direction]") behave
in a way that defeats the purpose of per-screen virtual desktops, by causing
unintended desktop switching. Despite virtual desktops no longer spanning all
screens, the shortcuts only seem to switch to windows on matching desktops
(same number).

STEPS TO REPRODUCE
1. Use a multi-screen setup - the following steps assume a two-screen setup (L
for Left and R for Right) with numbered virtual desktops (e.g. L1 represents
Left Screen Desktop 1);
2. Enable "Switch desktops independently for each screen" in Settings > Apps &
Windows > Window Management > Virtual Desktops;
3. Open a window on each of the following desktops: L1, R1, R2;
4. Switch to L1 and R1;
5. Switch back and forth between the windows on L1 and R1 using the "Switch to
Window to the [Left/Right]" (default Meta+Alt+Left/Right) - it should work as
expected: you can switch between the windows of each desktop with no issues;
6. Switch to R2, focusing the window on it;
7. Attempt to focus the window on L1 by pressing the "Switch to Window to the
Left" shortcut.

OBSERVED RESULT
It switches to the window on L2, forcibly switching from L1 to L2, thereby
making directional navigation unusable in the described scenario. 

EXPECTED RESULT
It switches to the window on L1, keeping the current virtual desktops on each
screen, similar to how the task switcher behaves by default (displays the
windows of the two visible screens, not those of the matching desktop).

SOFTWARE/OS VERSIONS
Operating System (available in the Info Center app, or by running `kinfo` in a
terminal window): Fedora Linux 44
KDE Plasma Version: 6.7.0
KDE Frameworks Version: 6.27.0
Qt Version: 6.11.1

ADDITIONAL INFORMATION
In the attached screencast, I reproduce the issue by starting focused on
Dolphin within R2 and attempting to focus Konsole on L1 by pressing Meta+H, my
shortcut for "Switch to Window to the Left", but Plasma ends up switching to L2
and focusing Firefox.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to