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

List:       kwin
Subject:    Re: Focus stealing prevention and SNI conflicts
From:       "Aaron J. Seigo" <aseigo () kde ! org>
Date:       2011-07-25 8:43:34
Message-ID: 11218393.lEOHgrBy0n () freedom
[Download RAW message or body]

[Attachment #2 (multipart/signed)]


On Saturday, July 23, 2011 22:05:41 Martin Gräßlin wrote:
> On Saturday 23 July 2011 21:58:05 you wrote:
> > On Saturday, July 23, 2011 16:35:26 Martin Gräßlin wrote:
> > > On Saturday 23 July 2011 14:21:06 Thomas Lübking wrote:

> > > > 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 ;-)
> > 
> > should be possible; patches welcome.
> 
> If you tell me where in the code I have to look, I give it a try.

kde-workspace/plasma/generic/applets/systemtray/

the SNI specific icons are in protocols/dbussystemtray/, the are held in 
collection by core/manager.cpp and the main applet is in ui/applet.cpp

> > on the topic of focus stealing preventing getting in the way, i've
> > noticed issues with it over time such as how the gpgagent window never
> > gets focus when kmail tries to sign an email.
> 
> yes very annoying, especialy as pinentry thinks it's a good idea to grab the
> keyboard and making alt+tab no longer work. Here the problem is I think
> that kmail doesn't set the transient, but never really checked it.
> 
> Attached is my kwin rule to fix pinentry.

can we put this in git and ship it with the defaults for kwin?

-- 
Aaron J. Seigo
humru othro a kohnu se
GPG Fingerprint: 8B8B 2209 0C6F 7C47 B1EA  EE75 D6B7 2EB1 A7F1 DB43

KDE core developer sponsored by Qt Development Frameworks

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

_______________________________________________
kwin mailing list
kwin@kde.org
https://mail.kde.org/mailman/listinfo/kwin


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

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