[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#899378: plasma-desktop: Focus stealing prevention breaks when set to "high"



¡Hola Emmanuel!

El 2018-05-23 a las 15:59 +0200, Emmanuel Revah escribió:
Package: plasma-desktop
Version: 4:5.8.6-1
Severity: normal

  * What led up to the situation?

I set focus stealing prevention to "high"

  * What was the outcome of this action?

Focus stealing prevention blocks krunner and kmenu (as well as the clock), these elements very briefly appear before being "blocked".

Interesting, but I'm not sure if this can be considered a bug or a feature. In any case this is an upstream issue, can you please report this issue in the kde bug tracker (https://bugs.kde.org, you'll need a bugzilla account for reporting this), if you do this, please leave a note in this bug with the url of the upstream bug so we can track it.

  * What outcome did you expect instead?

I was expecting the focus stealing prevention to help avoid having new windows steal the focus while I'm focused and active on a program.

For example, I open Firefox, but it takes a while, so I start typing in a terminal, and then, Firefox opens and steals the focus, and bam, I'm searching the Internet for my root password.

I don't see this behaviour, testing it with xterm, firefox and konsole. Was this just an hypothetical example or is this reproducible in your setup? What other rules do you have in place? What are you using for activating windows?

Also, please check your windows rules, you can set specific values to stealing prevention, and stealing protection using them.

With the "smart" focus stealing prevention that was available before (I'm not sure when), I could open new windows, they would take the focus only if I wasn't actively using another program.

There is no smart focus stealing prevention, at least in the plasma 5 versions, was that ever part of kwin?

Regardless, of the "smart" aspect, setting FSP to "high" probably shouldn't block krunner and kmenu.

I'm not sure if a keybinding should follow a different rule, please, discuss this upstream. Saying that, even pressing on the application launcher doesn't work with FSP set to "high", that can't be right.

Happy hacking,
--
"Some people worry that artificial intelligence will make us feel inferior, but then, anybody in his right mind should have an inferiority complex every time he looks at a flower."
-- Alan Kay
Saludos /\/\ /\ >< `/

Attachment: signature.asc
Description: PGP signature


Reply to: