I tried to find out what is happening using xev, and it seems that vim
grabs mouse and keyboard input when F10 is pressed, but does not release
the grab when Escape is pressed afterwards. So this looks like a bug in
gvim.

When using F10 and Escape:

EnterNotify event, serial 17, synthetic NO, window 0x5c0001e,
    root 0x15a, subw 0x0, time 16060390, (517,521), root:(2343,609),
    mode NotifyGrab, detail NotifyInferior, same_screen YES,
    focus NO, state 16

KeymapNotify event, serial 17, synthetic NO, window 0x0,
    keys:  70  0   0   0   0   0   0   0   0   16  0   0   0   0   0   0   
           0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   

FocusIn event, serial 17, synthetic NO, window 0x5c0001e,
    mode NotifyGrab, detail NotifyInferior

KeymapNotify event, serial 17, synthetic NO, window 0x0,
    keys:  90  0   0   0   0   0   0   0   0   16  0   0   0   0   0   0   
           0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   

VisibilityNotify event, serial 17, synthetic NO, window 0x5c0001e,
    state VisibilityPartiallyObscured


When using Alt-F Escape:

EnterNotify event, serial 13, synthetic NO, window 0x5c0001e,
    root 0x15a, subw 0x0, time 16250658, (421,493), root:(2247,581),
    mode NotifyGrab, detail NotifyInferior, same_screen YES,
    focus NO, state 24

KeymapNotify event, serial 13, synthetic NO, window 0x0,
    keys:  0   0   0   0   0   2   0   0   1   0   0   0   0   0   0   0   
           0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   

FocusIn event, serial 13, synthetic NO, window 0x5c0001e,
    mode NotifyGrab, detail NotifyInferior

KeymapNotify event, serial 13, synthetic NO, window 0x0,
    keys:  90  0   0   0   0   2   0   0   1   0   0   0   0   0   0   0   
           0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   

VisibilityNotify event, serial 13, synthetic NO, window 0x5c0001e,
    state VisibilityPartiallyObscured

VisibilityNotify event, serial 13, synthetic NO, window 0x5c0001e,
    state VisibilityUnobscured

Expose event, serial 13, synthetic NO, window 0x5c0001e,
    (1,22), width 191, height 35, count 0

LeaveNotify event, serial 13, synthetic NO, window 0x5c0001e,
    root 0x15a, subw 0x0, time 16254022, (421,493), root:(2247,581),
    mode NotifyUngrab, detail NotifyInferior, same_screen YES,
    focus NO, state 16

FocusOut event, serial 13, synthetic NO, window 0x5c0001e,
    mode NotifyUngrab, detail NotifyInferior

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/702314

Title:
  Pressing F10 makes desktop unresponsive

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to