| Summary: | KDE forgets certain keyboard settings | ||
|---|---|---|---|
| Product: | TDE | Reporter: | Luc <lucmove> |
| Component: | tdeaccessibility | Assignee: | Timothy Pearson <kb9vqf> |
| Status: | NEW --- | ||
| Severity: | major | CC: | bugwatch, julius.schwartzenberg, midenok |
| Priority: | P5 | ||
| Version: | 3.5.13.x [Trinity] | ||
| Hardware: | i386 | ||
| OS: | Linux | ||
| Compiler Version: | TDE Version String: | ||
| Application Version: | Application Name: | ||
| Bug Depends on: | 850 | ||
| Bug Blocks: | |||
|
Description
Luc
2011-02-03 00:25:03 CST
I have this problem as well. To reproduce: 1. Boot a notebook with an external keyboard already plugged in and try moving the cursor around in a large document with the cursor keys. 2. Unplug the external keyboard (or boot a notebook without an external keyboard plugged in) and plug the external keyboard in. Then try moving the cursor around again in a large document. It will seem very inconvenient compared to the first attempt now. This bug, along with the infamous numlock bug, need the still-to-be-written TDE udev interface library to be properly fixed. See http://trinitydesktop.org/wiki/bin/view/Developers/TUComputerAPI for the specification. In short, TDE does not handle device hotplugging in a sane manner. Trying to hack around the problem will not help and risks introducing more bugs; the best and safest solution is to implement true systemwide hotplug support for TDE via the above library specification. You don't need udev library here and moreover MUST NOT use it, because Xorg configuration and udev devices are two different things. Xorg can ignore some devices after all.
You may wish to catch some events from Xorg which will notify you about keyboard state change:
PropertyNotify event, serial 14, synthetic NO, window 0x3a5,
atom 0x126 (_XKB_RULES_NAMES), time 301157, state PropertyNewValue
PropertyNotify event, serial 15, synthetic NO, window 0x3a5,
atom 0x126 (_XKB_RULES_NAMES), time 303685, state PropertyNewValue
Though these are not very informative, you may wish to find a better ones. Look at XkbNewKeyboardNotify, it may become useful here.
http://www.x.org/releases/X11R7.6/doc/libX11/specs/XKB/xkblib.html#xkb_event_types
|