Bug 224969 - focus-stealing prevention interferes with power-button-activated logout/shutdown dialog
Summary: focus-stealing prevention interferes with power-button-activated logout/shutd...
Status: RESOLVED WORKSFORME
Alias: None
Product: kwin
Classification: Plasma
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Unspecified
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords: triaged
Depends on:
Blocks:
 
Reported: 2010-01-31 10:33 UTC by Per Ångström
Modified: 2018-10-27 02:04 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Per Ångström 2010-01-31 10:33:20 UTC
Version:            (using Devel)
Installed from:    Compiled sources

KDE 4.3.95.

Under some circumstances, I cannot use the keyboard to access the logout/shutdown dialog brought up by my pressing the power button; I have to use the mouse to do so.

It seems that it is the focus-stealing-prevention mechanism that causes this.
I think it is wrong that an important user-actived dialog is subject to focus-stealing-prevention at all.

How to reproduce:
1) Set your focus-stealing-prevention level to Extreme (System Settings -> Window Behavior -> Window Behavior).
2) Press the power button.
3) Try to dismiss the logoff/shutdown dialog using nothing but the keyboard.

Expected behavior: The logoff/shutdown dialog should be fully accessible to the keyboard, regardless of the focus-stealing prevention level.
Actual behavior: The logoff/shutdown dialog is completely out of bounds for keyboard operation. Not even Alt-tabbing will give it keyboard focus.

Curiously enough, the behavior is more consistent on Ubuntu 10.4 Alpha than on openSUSE 11.2: On Ubuntu I have to set the focus-stealing-prevention level to None to work around the issue; on openSUSE I can get away with level Low or even higher. However, even on openSUSE I can reproduce the bug after a few attempts.

I originally filed a bug on Ubuntu, but they say it's a general KDE issue.
Comment 1 Per Ångström 2010-10-05 14:31:04 UTC
Same problem in KDE 4.5.1, Ubuntu 10.10 RC.
Comment 2 Thomas Lübking 2012-03-17 22:13:01 UTC
Sorry for the delay.

a) is this actually still an issue at all? (can't reproduce, also the shutdown dialog has probably changed)
b) you can use "kcmshell4 kcmrules" to force another focus stealing prevention for the logout dialog.
Comment 3 Andrew Crouthamel 2018-09-23 02:38:26 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days, the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information.

For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please set the bug status as REPORTED so that the KDE team knows that the bug is ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 4 Andrew Crouthamel 2018-10-27 02:04:25 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least 30 days. The bug is now closed as RESOLVED > WORKSFORME due to lack of needed information.

For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!