Summary: | wish: display faded language icon on any input textbox that disappears when user start typing (move language indication into/above the input textbox) | ||
---|---|---|---|
Product: | [Frameworks and Libraries] kdelibs | Reporter: | Nadav Kavalerchik <nadavkav> |
Component: | kdeui | Assignee: | kdelibs bugs <kdelibs-bugs> |
Status: | REPORTED --- | ||
Severity: | wishlist | CC: | arysin, cfeck |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Debian unstable | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: |
Description
Nadav Kavalerchik
2011-09-03 11:47:47 UTC
Do you mean current keyboard layout? yes. (current keyboard layout) First we need a (cross-platform) method in kdelibs to query the keyboard server for the current layout. I am sure such code is in kxkbd, but I have no idea if it can be generalized and moved to kdelibs. Can i "Hook" the onFocus event of any textbox and have an external "plugin" display that notification ? kde-wide. Or in other words... Is there an event the "Fires" when i click a textbox? that i can hook some external code too? I doubt it. You might have luck with some specially crafted accessibility bridge, but my knowledge about those is void. Try asking in kde-core-devel mailing list. there's dbus API that can be used to get current layout and receive notification when it's changed I know i can use (cli) : qdbus org.kde.kxkb /kxkb org.kde.KXKB.getCurrentLayout to get the current layout. which is great. and i am currently trying to get some javascript binding to Firefox or Chrome http://sandbox.movial.com/wiki/index.php/Browser_DBus_Bridge Or something like : http://code.google.com/p/v8-dbus/ So i can display some kind on (flag?) notification near a textbox, that get user's focus, inside the browser. which suppose to be relatively easy. after i set the JS binding to DBUS. BUT, i would really like to HOOK onto the textbox class at the core of KDE (or QT) and maybe override it? to display what i wish. org.kde.kxkb is deprecated you want to use org.kde.keyboard |