thomas.luebking at gmail.com
Sun Dec 14 14:33:27 GMT 2014
On Sonntag, 14. Dezember 2014 13:52:51 CEST, Jeremy Whiting wrote:
> Martin, Thomas,
> Is the implementation of InputGuard at
> complete then?
"complete"? - Yes.
"Thomas happy"? - No :-(
The class grabs the keyboard for the (managed) focused widget in active
windows (as it should), BUT the only "protection" against malicious losses
is to regrab the keyboard every 500ms (and make the lineedit white on red
if that fails)
Martin suggested to declare X11 setups which allow to break grabbing
"unsupported", but I'm not entirely happy with that.
We'd need to figure whether
a) there's a way for a client to check whether it still holds the grab
b) or alternatively adding a second client (ie. process) to guard the first
one otherwise (by trying to grab the keyboard and when that works while
client #1 is supposed to have the keyboard, sth.'s fishy here)
> should we copy that into kwidgetsaddons
I assume kwidgetsaddons should use the KDE palette definitions ("bad"
color?) - if color indication is sufficient. But that's subject for a
More information about the kde-core-devel