Bug 185060 - Window-Specific Settings: prevent focus stealing _from this_ window
Summary: Window-Specific Settings: prevent focus stealing _from this_ window
Status: RESOLVED FIXED
Alias: None
Product: kwin
Classification: Plasma
Component: rules (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR wishlist
Target Milestone: ---
Assignee: KWin default assignee
URL: https://git.reviewboard.kde.org/r/126...
Keywords:
: 206986 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-02-20 20:34 UTC by Grósz Dániel
Modified: 2015-11-17 20:52 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 5.5
Sentry Crash Report:
thomas.luebking: ReviewRequest+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Grósz Dániel 2009-02-20 20:34:35 UTC
Version:            (using KDE 4.2.0)
OS:                Linux
Installed from:    SuSE RPMs

KWin has the window-specific option of preventing focus stealing by the subject window. I propose to add its counterpart: preventing focus stealing from the subject window by any other window.

It would be useful e. g. for password windows so that if an other window pops up while you are typing your password (a chat window in the worst case) you don't end up typing it into a other window where it is visible.

From the focus-preventing policy of the active window and the popup window the more strict should be used (i. e. prevent focus stealing if either the new window has preventing focus stealing by it enabled or the currently active window has preventing focus stealing from it enabled).
Comment 1 Thomas Lübking 2012-03-17 21:57:41 UTC
*** Bug 206986 has been marked as a duplicate of this bug. ***
Comment 2 Thomas Lübking 2015-11-17 20:52:36 UTC
Git commit a4791e629d6d0e6a988a222e70b82bb3555d3759 by Thomas Lübking.
Committed on 17/11/2015 at 20:30.
Pushed by luebking into branch 'master'.

Add rule to protect the focus on a window

This allows to pin the focus on certain window as well
as to more easily give it away on others (typically launchers)
Related: bug 337798
FIXED-IN: 5.5
REVIEW: 126059

M  +31   -7    activation.cpp
M  +5    -0    kcmkwin/kwinrules/ruleswidget.cpp
M  +1    -0    kcmkwin/kwinrules/ruleswidget.h
M  +296  -222  kcmkwin/kwinrules/ruleswidgetbase.ui
M  +7    -0    rules.cpp
M  +4    -0    rules.h

http://commits.kde.org/kwin/a4791e629d6d0e6a988a222e70b82bb3555d3759