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

Ismael Asensio <isma...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
   Version Fixed In|                            |6.3.0
             Status|ASSIGNED                    |RESOLVED
      Latest Commit|                            |https://invent.kde.org/plas
                   |                            |ma/kwin/-/commit/017eed549d
                   |                            |c0f11bcd225194912fd5f10a9c4
                   |                            |bfd

--- Comment #3 from Ismael Asensio <isma...@gmail.com> ---
Git commit 017eed549dc0f11bcd225194912fd5f10a9c4bfd by Ismael Asensio.
Committed on 03/12/2024 at 22:25.
Pushed by iasensio into branch 'master'.

tabbox: Do not wrap around the window list when the shortcut is held

When the tabbox shortcut (ex. Alt-Tab) is held pressed, due to the
autorepeat keys mechanism, we'll receive a lot of rapid key events
and quickly iterate through the window list, potentially wrapping
around in an infinite loop.

Instead, let's detect if the key event is in autorepeat and stop the
rapid iteration at the bounds of the window list. Wrapping around is
still possible by releasing and pressing the non-modifier key
(generally `Tab`) again.

Wayland-only for now due to the difficulty of detecting a held key
from a xcb_key_press_event.
FIXED-IN: 6.3.0

M  +9    -0    src/tabbox/tabbox.cpp

https://invent.kde.org/plasma/kwin/-/commit/017eed549dc0f11bcd225194912fd5f10a9c4bfd

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

Reply via email to