Open
Bug 684478
Opened 13 years ago
Updated 2 years ago
Expose current (OS level) input language through DOM
Categories
(Core :: DOM: Core & HTML, enhancement, P5)
Tracking
()
UNCONFIRMED
People
(Reporter: nadavkav, Unassigned)
Details
User Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/534.30 (KHTML, like Gecko) Ubuntu/11.04 Chromium/12.0.742.112 Chrome/12.0.742.112 Safari/534.30
Steps to reproduce:
This is a feature request.
Please see if you can expose the "current input language" that the user is currently using in an INPUT text box, through DOM. which is an OS level information that is currently not accessible to the developer.
So i can justify or align or change direction or set some image or background onto the focused input text box when the user is using it, or about to use it.
Users of multi language OSes, most of the time, type the wrong text into the textbox. then delete it and switch language and type it again. i would like to minimize this behavior. probably, using some javascript code or proper CSS settings.
Kindly,
Nadav :-)
Updated•13 years ago
|
Component: General → DOM
Product: Firefox → Core
QA Contact: general → general
Reporter | ||
Comment 1•13 years ago
|
||
How about using DBUS :
http://sandbox.movial.com/wiki/index.php/Browser_DBus_Bridge
Since, I am using KDE and it is easy for me to query KDE's DBUS, as follows:
qdbus org.kde.kxkb /kxkb org.kde.KXKB.getCurrentLayout
and get the current language (keyboard layout)
Reporter | ||
Comment 2•13 years ago
|
||
Or something like : http://code.google.com/p/v8-dbus/
Can DBUS binding be part of a vanilla Firefox browser?
Or will i always have to install something extra?
Updated•13 years ago
|
Severity: normal → enhancement
Hardware: x86_64 → All
Version: 6 Branch → Trunk
Comment 3•13 years ago
|
||
This will happen when new DOM3 keyboard events are implemented (hopefully soon).
The keyboard locale will be available only when key events are dispatched.
Reporter | ||
Comment 4•13 years ago
|
||
These are great news!
Thank you very much :-)
Comment 5•6 years ago
|
||
https://bugzilla.mozilla.org/show_bug.cgi?id=1472046
Move all DOM bugs that haven’t been updated in more than 3 years and has no one currently assigned to P5.
If you have questions, please contact :mdaly.
Priority: -- → P5
Assignee | ||
Updated•6 years ago
|
Component: DOM → DOM: Core & HTML
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•