GNOME Bugzilla – Bug 790458
Cursor disappears after typing Ctrl+F7
Last modified: 2017-11-18 08:47:27 UTC
If I open a file and press Ctrl+F7 to build the program, the cursor disappears. I can still type in the file but without being able to see the cursor. This only happens when I use the shortcut. Clicking the button with mouse does not cause this problem.
Looks like the first issue is that the global keybinding isn't activating. The second issue is that F7 is a fairly unknown feature of GtkTextView, in that F7 toggles cursor visibility.
Created attachment 363964 [details] [review] workbench: capture Control+F7 before widget dispatch For some reason, gtkbindingset is activating our event for Ctrl+F7 as the F7 action. A workaround for now, is to just capture it before the event propagates to the target widget. F7 continues to work to toggle the visibility of the caret in the textview.
Attachment 363964 [details] pushed as 109f4f5 - workbench: capture Control+F7 before widget dispatch