Focus stealing prevention and SNI conflicts

Martin Gräßlin mgraesslin at kde.org
Sat Jul 23 14:35:26 UTC 2011


On Saturday 23 July 2011 14:21:06 Thomas Lübking wrote:
> Am Sat, 23 Jul 2011 09:16:06 +0200
> schrieb Martin Gräßlin <mgraesslin at kde.org>:
> 
> > 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?
> 
> c) have SNI act on mb release (to pass the timer test)
> d) have SNI release focus before doing anything - why
> precisely does it require input focus at all and can we at least assume
> that it's safe to drop it eg. once a qmenu has popped up?
I like option D unless Plasma devs tell us why it doesn't work ;-)
> 
> IMO any way to make "the window" transient for plasma is suboptimal.
Yes I was aware that it is not optimal, that's why I asked for better solutions.

Cheers
Martin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
Url : http://mail.kde.org/pipermail/plasma-devel/attachments/20110723/b0292b2e/attachment.sig 


More information about the Plasma-devel mailing list