GNOME Bugzilla – Bug 610978
Embedded Terminal - CTRL+F9 keybinding doesn't close bottom panel
Last modified: 2019-03-23 20:49:18 UTC
CTRL+F9 keybinding doesn't close bottom panel, it will instead print garbage on the embedded terminal
*** Bug 618841 has been marked as a duplicate of this bug. ***
To put some light on the issue, the terminal emulator consumes almost all key events. To solve this, we need to handle Ctrl+F9 manually in the key event of the terminal widget. This means looking up, and keeping track of, the accelerator of the Show/Hide panel action using the accelmap, and comparing the key/mod with that. Then we need to activate that binding in the accelmap manually and block the terminal widget from trying to handle it. At least, that's what I think we need to do.
Hi, Is there any update on this one ? -- Regards, Rakesh Pandit
*** Bug 649120 has been marked as a duplicate of this bug. ***
I was told that this bug may be on vte. I have reported it some time ago there at bug #649120 but I'm now marking it as duplicate of this one. I'd also extend it to the fact that the terminal intercepts other gedit keybindings such as F6. Someone who knows better should move it to the appropriate project.
See also bug 700899 (provide shortcut to switch back to main editing view), which is related.
Created attachment 248072 [details] [review] Bug 610978 - Allow using normal keyboard shortcuts in terminal plugin Now the key-press-event handler does: - Special shortcuts: Ctrl+Tab, Ctrl+Shift+Tab, Ctrl+Shift+C, Ctrl+Shift+V - Allows Vte.Terminal to handle specific shortcuts (found them online) - Attempts to activate a global gedit shortcut and if that fails allows Vte.Terminal to handle the key-press-event I don't know if the specifically allowed shortcuts are all correct.
This problem has been fixed in the development version. The fix will be available in the next major software release. Thank you for your bug report.
Comment on attachment 248072 [details] [review] Bug 610978 - Allow using normal keyboard shortcuts in terminal plugin Added comment about why we special case some Vte.Terminal shortcuts.