[Bug 702314] Re: Pressing F10 makes desktop unresponsive

Tim Camper twcamper at thoughtworks.com
Thu Sep 27 00:01:16 UTC 2012


The cleanest workaround I could come up with:

In my ~/.vimrc.after (but it could go in any of the *rc files vim reads
on startup in your config), I remap F10 to something safe and useful.


if has("gui_running")
  " work around linux gui F10 problem by making it a nice safe refresh
  if has("gui_gnome") || has("gui_gtk") || has("gui_gtk2")
    map <F10> <c-L>
  endif

  " other gui related stuff . . .
  . . .
endif

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

Title:
  Pressing F10 makes desktop unresponsive

Status in “vim” package in Ubuntu:
  Confirmed

Bug description:
  Binary package hint: vim-gnome

  When I press F10 in gvim, activating the menu, and then press Esc to
  get out of the menu, the rest of the desktop stops responding, i.e.
  nothing responds to clicks but gvim, and Alt-Tab also does not work. I
  found a nasty workaround for this problem by restarting metacity from
  inside gvim, but I realized today that I can also just activate the
  menu again with e.g. Alt-F, then Esc. This returns the state back to
  normal.

  I don't know whether this is a problem with gvim or with gnome, but I
  don't have this problem with any other software

  Using Ubuntu 10.10

  Installed versions:  
    vim  2:7.2.330-1ubuntu4
    vim-gnome  2:7.2.330-1ubuntu4

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/vim/+bug/702314/+subscriptions




More information about the foundations-bugs mailing list