Hi Maksim, I also have seen this behaviour, but was not aware of the cause. I think it is good you've tracked it down. Now I see. Meantime I can suggest one more workaround to make autorepeat works again: 3. Type in any xterm window xset r which resets autorepeat rate in X. I have KDE desktop installed on my computer and ROOT from CVS-23-12-2003. Best regards, Stanislav. Maksim A. Nikulin wrote: > Hi, > > root-3.10.02 has annoying behavior. I often use [Alt+Tab] keys to > switch between several windows. When I press [Alt+Tab] in a TCanvas I > get key autorepeat broken in all programs. I didn't see the same > problem in root-3.05.07. > > With gdb I found that key press event ([Alt] in my case) leads to > gVirtualX->SetKeyAutoRepeat(kFALSE). Key release event should restore > normal behavior throw gVirtualX->SetKeyAutoRepeat(kTRUE) but the > TCanvas window don't receive it. > > To get autorepeat working I can: > 1. Type gVirtualX->SetKeyAutoRepeat(kTRUE). Unfortunately completion > doesn't work (safe global pointer?). > 2. Press and release any key when mouse pointer is on the TCanvas menu > bar. > > Are where any way to exclude manipulations with autorepeat and other > X11 global options? Possible I saw other rare trouble in X11 which can > be connected with ROOT. > > Hard and soft details: > CPU: Intel Pentium III > OS: RedHat Linux 7.3 > ROOT version: 3.10/02 custom build > X: XFree86-4.2.1 > Window manager: Blackbox 0.65.0 (bbkeys 0.8.6) > > Maksim Nikulin
This archive was generated by hypermail 2b29 : Sun Jan 02 2005 - 05:50:05 MET