graesslin added a comment.
In https://phabricator.kde.org/D8519#160813, @davidedmundson wrote: > > The removal of the force activation is done since according to kwin maintainer it is wrong and must be done by the SysTray itself. > > But according the the status notifier item maintainer (defacto me), we cannot do this. It will break too many things. > > The SNI spec is used by Unity 7, Gnome, and Plasma. Can we guarauntee their trays do this? (in fact even Plasma doesn't currently do this!) > > I know it's putting you in the middle of an argument, which is unfair on you, sorry. > > forceActiveWindow may be bad, but it works. It's not really focus stealing if we explicitly know the user performed the action. In an ideal world the original SNI spec would have passed a timestamp...and blah blah, but yeah. I plan to harden the window activation so that incorrect forceActiveWindow doesn't steal focus any more. It is unfortunately a common pattern and KWin in that area just sucks. I have a plan to move that forward without breaking stuff and addressing Wayland at the same time. Once again thinking in Wayland terms helps ;-) REPOSITORY R289 KNotifications REVISION DETAIL https://phabricator.kde.org/D8519 To: mkoller, davidedmundson, graesslin Cc: #frameworks