[ROOT] [Alt+Tab] and SetKeyAutoRepeat trouble

From: Maksim A. Nikulin (M.A.Nikulin@inp.nsk.su)
Date: Wed Jan 28 2004 - 14:44:06 MET


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