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)

All
Linux
enhancement

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 :-)
Component: General → DOM
Product: Firefox → Core
QA Contact: general → general
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)
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?
Severity: normal → enhancement
Hardware: x86_64 → All
Version: 6 Branch → Trunk
This will happen when new DOM3 keyboard events are implemented (hopefully soon). The keyboard locale will be available only when key events are dispatched.
These are great news! Thank you very much :-)
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
Component: DOM → DOM: Core & HTML
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.