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

List:       kde-frameworks-devel
Subject:    Re: KModifierKeyInfo usage and API
From:       David Faure <faure () kde ! org>
Date:       2013-11-10 9:16:00
Message-ID: 1807148.2HLqH4yIxf () asterix
[Download RAW message or body]

Aaron?

Anyone from the plasma team?

I would appreciate input on this (see precise question at the end),
it's preventing KF5 from moving forward with KModifierKeyInfo.

Please CC kde-frameworks-devel, I'm not on plasma-devel.

On Wednesday 16 October 2013 09:56:03 David Faure wrote:
> We are still a bit unsure what to do about KModifierKeyInfo in KF5:
> 
> * It's currently only implemented on X11
> (PovAddict says querying for modifiers on Windows is easy to add, but
> getting notified of changes seems quite problematic)
> 
> * The API (latching vs locking) seems to be a bit too X11 specific, it's
> unsure that these concepts exist on other platforms
> (issue raised in http://git.reviewboard.kde.org/r/112443/#review41013)
> 
> * gwenview was ported away from it (a simple keyPress handler takes care of
> notifying the app that Ctrl was pressed)
> 
> * This leaves two users for KModifierKeyInfo as far as lxr.kde.org can see:
> 
> 1) kile uses it to query the status of Caps Lock at the time when a key is
> pressed. It uses isKeyLatched()||isKeyLocked() so clearly it doesn't need
> the distinction.
> 
> 2) Plasma's KeyService offers the KModifierKeyInfo API in the
> KeyStatesEngine. Not sure how to then find the users of that.... general
> search on keystate found this:
> http://lxr.kde.org/source/kde/kdeplasma-addons/applets/plasmaboard/widget.cpp
> but I can't find the actual use of the engine in there?
> Can a plasma developer tell me how to find the use of this stuff, to see how
> much we can change its API? Thanks.

-- 
David Faure, faure@kde.org, http://www.davidfaure.fr
Working on KDE, in particular KDE Frameworks 5

_______________________________________________
Kde-frameworks-devel mailing list
Kde-frameworks-devel@kde.org
https://mail.kde.org/mailman/listinfo/kde-frameworks-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

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