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

            Bug ID: 452315
           Summary: Switching virtual desktops causes keyboard shortcuts
                    to stop working until click
           Product: kwin
           Version: 5.24.4
          Platform: Gentoo Packages
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: kwin-bugs-n...@kde.org
          Reporter: abulhair.sapa...@gmail.com
  Target Milestone: ---

SUMMARY
I have a single activity with 4 virtual desktops side-by-side and I have
"switch one desktop to the left/right" mapped to a shortcut. When I use this
shortcut to switch to an empty desktop, it will (almost) always cause keyboard
shortcuts to stop working, and so I can't continue using those shortcuts to
switch desktops or go back, *until* I click on the desktop. I'm not exactly
sure but it seems like plasma "loses focus" when this happens.

Interestingly, this does not happen if there is a window or application open on
the new desktop, and I wait for a bit. However, if I switch quickly between
desktops that have open windows/applications, the keyboard shortcuts stop
working after a few switches. I'm guessing it has to be faster than a few
hundred milliseconds.

I think this may be related to my Xorg configuration, since I have a monitor
connected via displayport and an A/V receiver which is then connected via HDMI
to the same NVIDIA GPU. In order to run the monitor at 144Hz, I needed to put
them on different X screens, so KDE runs on the primary X screen and doesn't
manage the other display. If I instead have KDE manage both displays, the
keyboard shortcut problem doesn't occur.



STEPS TO REPRODUCE
1. Use keyboard shortcut to switch to empty desktop (no windows or applications
open)

OBSERVED RESULT
In (almost) all cases, all keyboard shortcuts stop working, as if plasma has
"lost focus."

EXPECTED RESULT
Keyboard shortcuts should continue working as normal.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Gentoo Linux Kernel 5.17.1-r1 amd64
KDE Plasma Version: 5.24.4
KDE Frameworks Version: 5.92.0
Qt Version: 5.15.3

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

Reply via email to