Focus stealing prevention and SNI conflicts
Aaron J. Seigo
aseigo at kde.org
Mon Jul 25 08:43:34 UTC 2011
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
-------------- 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/20110725/22e7786a/attachment.sig
More information about the Plasma-devel
mailing list