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

            Bug ID: 463808
           Summary: Quickly pressing alt+tab in succession from a window
                    that is capturing the cursor won't keep mouse focus
    Classification: Plasma
           Product: kwin
           Version: 5.26.5
          Platform: Archlinux
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: wayland-generic
          Assignee: kwin-bugs-n...@kde.org
          Reporter: matheus.scattolinanse...@outlook.com
  Target Milestone: ---

SUMMARY
This does not happen in the X11 session, only wayland is affected here.
If the current focused window is capturing the pointer, pressing alt+tab twice
(apparently under 1s), effectively switching to another window and quickly
going back,  the mouse focus is completely lost, as in you can't interact with
the window using the mouse pointer anymore. 
This is particularly obvious in full screen games, as you can't use the mouse
within the game window after alt+tabbing twice, yet the cursor is visible on
the screen, it's simply not relayed to the window anymore.
The workaround is to manually minimize the window or pressing alt+tab again,
then waiting a second, then alt tabbing back. It kinda feels like there's a
timer component to it

Keyboard focus in this scenario works as expected regardless

STEPS TO REPRODUCE
1. Open fullscreen game: native/wine, it doesn't matter
2. Press alt+tab twice quickly
3. Cursor is visible on top of the window, but you can't interact with it
anymore

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

Reply via email to