[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-panel-devel
Subject:    Focus stealing prevention and SNI conflicts
From:       Martin =?ISO-8859-1?Q?Gr=E4=DFlin?= <mgraesslin () kde ! org>
Date:       2011-07-23 7:16:06
Message-ID: 3721955.6zG8Z0SPIK () martin-desktop
[Download RAW message or body]

[Attachment #2 (multipart/signed)]


Hi all,

there is one thing about SNI which really annoys me.
How to reproduce the issue:
1. Have Amarok as a SNI in systray
2. Right-click the SNI and select Quit
3. Wonder why nothing happened and Amarok icon is still there
4. Notice that a window popped up but focus stealing prevention kicked in and did neither raise 
the window nor focus it.

The problem seems to be for all windows opened from a right-clicked menu and I think this is 
really bad on the user-experience.

What can we do about it?
I assume that the context menu actions trigger an action in the client and when the client opens 
the window it does not get the focus as Plasma has the focus and the focus stealing prevention 
kicks in.

I think the problem would go away if all windows opened from a SNI context menu are transient 
to Plasma. So how do we either
a) communicate to the applications that they should set the Plasma's WID as its parent or
b) let Plasma open the windows through the SNI API?

Or is there any other way how we can tackle this issue?

Cheers
Martin
["signature.asc" (application/pgp-signature)]

_______________________________________________
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic