F9 shortcut doesn't work after pressed in builtin terminal

Bug #1318934 reported by Adrian I. Lam on 2014-05-13
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
geany (Ubuntu)
Undecided
Unassigned

Bug Description

Package: /usr/bin/geany
Ubuntu release: Ubuntu 12.04.4 LTS
Affected Geany versions: 1.23+dfsg-1~hyper1+precise (from ppa), 0.21.dfsg-1ubuntu4 (from Ubuntu repository)

Details:
If anyone of the shortcuts F5 (execute), F8 (compile), F9 (build), Shift+F9 (make) and Ctrl+Shift+F9 (make custom target) is pressed in the embedded terminal, then even after switching the focus back to the main editor, these 5 shortcuts still do not work.

Expected to happen: The sourcecode being executed, compiled, built or made
What happened instead: Nothing

Remapping these keys to other shortcuts does not work, but the buttons and the options from the Build menu work fine. Other shortcuts also work, including F1, F2, F4, F6, Ctrl+C etc.

This can be "fixed" by unchecking the "Override Geany keybindings" option in Edit -> Preferences -> Terminal, but this will disable all shortcuts for the terminal (e.g. Ctrl+C for SIGINT).

Steps to reproduce:
1. Create an empty file with .c extension
2. Press F9 (works, brings you to the Compiler tab)
3. Go to the embedded terminal and press F9 (the ~ character should appear)
4. Switch focus back to the main editor and press F9 (nothing happens)

This has been reported to Geany https://sourceforge.net/p/geany/bugs/1032/ but they say this is a Unity bug that they won't fix. I hope this is the right place to report this, if not please let me know.

On Tue, May 13, 2014 at 07:59:39AM -0000, Adrian Lam wrote:
> [...]
> This can be "fixed" by unchecking the "Override Geany keybindings"
> option in Edit -> Preferences -> Terminal, but this will disable all
> shortcuts for the terminal (e.g. Ctrl+C for SIGINT).
>
> Steps to reproduce:
> 1. Create an empty file with .c extension
> 2. Press F9 (works, brings you to the Compiler tab)
> 3. Go to the embedded terminal and press F9 (the ~ character should appear)
> 4. Switch focus back to the main editor and press F9 (nothing happens)

This really doesn't sound like a Unity bug. If your F9 hotkeys are being
recognized by Geany when your terminal isn't active, then Unity isn't capturing
the key, and it's purely a fault within Geany.

On the other hand, I'm on Ubuntu 14.04 and can't reproduce this bug, so perhaps
you'd like to upgrade?

--
Kind regards,
Loong Jin

Adrian I. Lam (adrianiainlam) wrote :

I am still experiencing this bug in Ubuntu 14.04 Geany version 1.23.1
Note that the embedded terminal is the one within Geany in the Message Window (can be activated by View -> Show Message Window). There are some tabs in the Message Window, e.g. Status, Compiler, Messages, Scribble, Terminal. I am referring to this Terminal.
Also note that the embedded terminal will only be visible if the package libvte9 is installed. So perhaps the bug is within libvte9 instead?

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers