gnome-terminal shortcuts: Alt+Shift+1 shows as Alt+! etc.

Bug #328444 reported by Matti Viljanen on 2009-02-12
Affects Status Importance Assigned to Milestone
GNOME Terminal
gtk+2.0 (Ubuntu)
Ubuntu Desktop Bugs

Bug Description

Binary package hint: gnome-terminal

Using Jaunty alpha 4, updating packages daily.

I use irssi a lot, using gnome-terminal. By default irssi uses Alt+num to change windows, gnome-terminal uses Alt+num to change tabs. When multiple tabs are open, Alt+num keypress is catched by gnome-terminal, so I decided to bind tab keys differently:

Alt-Shift-1 -> Tab 1
Alt-Shift-2 -> Tab 2

The keypresses function just fine, but they are displayed like this:

Alt-Shift-1 -> Alt-!
Alt-Shift-2 -> Alt-@
etc. (depends on keymap used)

This behavious is, in my opinion, wrong.

See screenshot (Finnish keymap used).

Pedro Villavicencio (pedro) wrote :

thanks for the report, why is it wrong? same issue happens if you press Alt+Shift+ F for example you'll get a capital F instead of a normal one because shift key is pressed, and yes the key works as expected because is emiting the ! key press. I don't think this is a bug.

Changed in gnome-terminal:
assignee: nobody → desktop-bugs
importance: Undecided → Low
status: New → Incomplete
Matti Viljanen (direc85) wrote :

First, having Alt-!, Alt-@ and so on in tabs menu is wrong, and it doesn't let the user follow the logic "1 for first tab, 2 for second tab" etc., instead it makes the user look for the non-numeric characters, causing confusion among non-exprerienced users.

Second, have a look at eg. New Tab and Close Tab shortcut entries - Ctrl-Shift-T and Ctrl-Shift-W are given.

My point is that if a shortcut requires pressing Ctrl, Shift and number 1 keys, they should be all displayed, instead of the character some combination may give and not including one or more required keys!

Does this behaviour occur in any other Gnome programs? At least Gnome's own shortcut manager application shows Alt-Shift-1 as Alt-Shift-! which is not as bad but not right...

Matti Viljanen (direc85) wrote :

Oh, and the Alt-Shift-F vs. Alt-F matter... The letter is always capitalised for making it more distinguishable.

Pedro Villavicencio (pedro) wrote :

let's forward this upstream better, leaving an upstream task open so we don't forget, thanks for the quick response Matti.

Changed in gnome-terminal:
status: Incomplete → Confirmed
Pedro Villavicencio (pedro) wrote :
Changed in gnome-terminal:
status: Confirmed → Triaged
importance: Undecided → Unknown
status: New → Unknown
Pedro Villavicencio (pedro) wrote :

comment from upstream:

"The same happens in gtk+/tests/testaccel (GtkCellRendererAccel) and with
in-place menu-editing, so it's a general gtk+ thing. Re-assigning to gtk+;
probably NOTABUG.
 reassigning this one to gtk+ as well.

Changed in gnome-terminal:
status: Unknown → New
Bernhard (b.a.koenig) wrote :

I have problems in gnome-terminal (jaunty) with the shortcuts CTRL-RIGHT and CTRL-LEFT, which are supposed to jump one word right or left. They don't work but I'm sure they worked in intrepid.

Should I file a new bug?

Bernhard (b.a.koenig) wrote :

I have filed the CTRL-RIGHT/CTRL-LEFT issue here:
if people are interested.

Changed in gnome-terminal:
importance: Unknown → Low
Changed in gnome-terminal:
status: New → Confirmed
Changed in gnome-terminal:
status: Confirmed → Expired
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.