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

            Bug ID: 520223
           Summary: Enhance focus stealing prevention: Freeze time (ignore
                    inputs) after focus automatically switched
    Classification: Plasma
           Product: kwin
      Version First master
       Reported In:
          Platform: Compiled Sources
                OS: Linux
            Status: REPORTED
          Severity: wishlist
          Priority: NOR
         Component: core
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: ---

Although the window manager already has Focus Stealing Prevention feature, I
propose to add a "No-input Freeze Time" feature to enhance it, which is useful
when auto focus switching triggers. (Under certain conditions auto focus
switching can still occur)


If one of the following already happands:
- Focus automatically switched to another window
- Workspace automatically switched (which also involves switching focus to
another window)

during a "freeze time" (eg 0.5s) mouse clicks and keyboard inputs are not
delivered to the newly focused window.

The idea is to prevent accidental inputs from being sent to a wrong window,
while you're in the middle of typing or clicking.

I vaguely recall (not entirely sure) that many years ago when using Windows,
when a warning dialog popped up, it would flash the dialog's title bar for
about 0.5s. During that, pressing Enter seemingly wouldn't trigger a click on
the 'OK' button.

Regardless, I believe this kind of input-freeze period could become a standard
feature of Focus Stealing Prevention. I hope this can be implemented.

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

Reply via email to