Modal dialogs do not receive focus when opened
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
vim (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
To reproduce with 2:7.3.547-6ubuntu5 on Ubuntu GNOME 13.04:
1. Open a file in GVIM.
2. Edit the file in another program.
3. Switch back to GVIM using one of
* Alt-Tab switcher
* Clicking on GVIM's title bar (not the client area)
* The "Activities" switcher
A modal dialog pops up saying 'W11: Warning: File "test" has changed since editing started'.
Expected: The modal dialog is focused, so that I can immediately dismiss it by pressing Enter or reload the file by pressing L.
Actual: The modal dialog is not focused. Keyboard input appears to be ignored.
Workaround: Switch away from GVIM and then back. (For instance, Alt+Tab twice.) The dialog receives focus. (You could also click using your mouse if you have time for such things.)
I can reproduce in the bare Vim source tree and reported it as https:/ /code.google. com/p/vim/ issues/ detail? id=172. Sorry if this report was redundant!