After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 57394 - Shift+Control+">" and "<" are bad shortcuts
Shift+Control+">" and "<" are bad shortcuts
Status: RESOLVED FIXED
Product: galeon
Classification: Deprecated
Component: User interface
unspecified
Other Linux
: Normal normal
: 1.0
Assigned To: Daniel Erat
Daniel Erat
: 60195 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2001-07-11 18:25 UTC by Christian Rose
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Christian Rose 2001-07-11 18:25:52 UTC
The default keyboard shortcut for "move tab left" in Galeon is
Shift+Control+"<" and for "move tab right" it's Shift+Control+">", but this
does not work on a Swedish keyboard.
On a Swedish keyboard, "<" is "<" but ">" is Shift+"<" and so pressing
Shift+Control+"<" will actually move the tab to the right...

Many European keyboard layouts have "<" and ">" placed like this. I
checked, and Belgium, Denmark, France, Italy, Netherlands, Norway,
Switzerland, Spain and Germany also have it this way.
Comment 1 Marco Pesenti Gritti 2001-08-15 12:16:53 UTC
We could add two other shortcuts and keep < > (because a lot of people
like it and they are used to netscape).
Any suggestion ?
Comment 2 Christian Rose 2001-08-15 12:36:08 UTC
Why not also Ctrl+"<" and Ctrl+">" ?
Comment 3 Christian Rose 2001-08-15 13:44:29 UTC
Ok, my lastest suggestion is to use Ctrl+< for moving left, and Ctrl+>
alternatively Ctrl+Shift+< for moving right.
The drawback is that this requires two parallell shortcuts for moving
right which is tricky, but it's the best suggestion I can think of
right now that uses < and >.
Comment 4 Marco Pesenti Gritti 2001-08-15 13:46:31 UTC
Forget my last comment.
I think we should not use < > ...
I think using 2 accels is tricky and I'd prefer to not do it
Comment 5 Daniel Erat 2001-08-29 20:50:21 UTC
Ctrl+< and Ctrl+> don't work here on a U.S. keyboard with the Dvorak
and qwerty layouts, since I need to hold down the Shift key to get the
angled braces.  I think Ctrl+[anything besides an uppercase or
lowercase letter or a number] shortcuts are going to have to be
translated for different locales, since we don't know whether Shift
will have to be depressed or not.  Is this possible?
Comment 6 Daniel Erat 2001-08-29 21:21:32 UTC
Or what about if we change the "Next tab" item's accelerator to
Ctrl+Tab and "Previous tab"'s to Ctrl+Shift+Tab.  Are there any funky
keyboards where Shift+Tab has a special meaning?

This has the added feature of resolving
http://bugzilla.gnome.org/show_bug.cgi?id=52988 . :)
Comment 7 Christian Rose 2001-08-29 21:34:00 UTC
Tab is pretty standard AFAIK. However, you want to be careful not to
conflict with existing Tab conventions; ALT+TAB for switching windows,
TAB and SHIFT+TAB for cycling between widgets, and so on. I can't
remember anything off my head that uses CTRL+TAB and CTRL+SHIFT+TAB as
per your suggestion, though. However, with the plethora of window
managers out there, I would be surprised if there wasn't one that
doesn't also bind these shortcuts by default. But until someone
complains about that, I think your suggestion is an excellent one.
Comment 8 Daniel Erat 2001-09-03 18:09:27 UTC
It doesn't look like this is a viable solution, unfortunately.  GTK
doesn't seem to allow the Tab key in accelerators.

Does anyone have other suggestions?
Comment 9 Christian Rose 2001-09-03 18:28:24 UTC
If GTK+ doesn't allow shortcut combinations using tab (like CTRL+TAB)
for tabs I think that should be considered a bug in GTK+, and reported
as such...
Comment 10 Daniel Erat 2001-09-06 05:36:05 UTC
Looking at GTK's source, it appears that this is intentional.  GDK_Tab
is part of the "invalid_accelerator_vals" array. :)  I don't think
this is something that we can get changed.
Comment 11 Christian Rose 2001-09-06 08:00:57 UTC
We can ask the Usability Project about this problem.
Comment 12 Daniel Erat 2001-09-07 04:42:40 UTC
It sounds like in GTK 2.0, Ctrl-PgUp/PgDown will go to the 
next/previous tab in GtkNotebooks:
http://developer.gnome.org/projects/gap/keynav/gtk_containers.html . 
Perhaps we should use those instead for the time being (they work
here).  Opinions?
Comment 13 Yanko Kaneti 2001-09-07 04:58:41 UTC
i'd say "go for it"

Comment 14 Christian Rose 2001-09-07 08:56:22 UTC
Yes, please use that.
Comment 15 Daniel Erat 2001-09-07 16:19:42 UTC
Okay, in CVS I've changed these to:

Previous tab: Ctrl + Page Up
Next tab: Ctrl + Page Down
Move tab left / right: Shift + Ctrl + Page Up
Move tab right / down: Shift + Ctrl + Page Down

Several caveats:

1. GTK calls the keys Prior and Next instead of Page Up and Page Down.
 This seems confusing to me, but I assume there are some keyboards
where this is what the keys are actually called. :)  In any case, I
don't think there's anything that can be done about this apart from
requesting a change in GTK.

2. I swapped the functions of Page Up and Page Down from GTK 2.0. 
This way makes a lot more sense to me, especially when you have a
vertical tab listing where the previous tab is above and the next tab
is below.  I'll probably file a request that it be this way in GTK 2.0
as well.

Closing for now; if there are any problems, please reopen.
Comment 16 Daniel Erat 2001-09-07 18:14:47 UTC
*** Bug 60195 has been marked as a duplicate of this bug. ***
Comment 17 Christian Rose 2001-12-27 23:06:31 UTC
Regarding point 1 and the labeling of "Prior" and "Next" in gtk+. This
is reported as bug 63700.
Comment 18 Christian Rose 2001-12-27 23:17:52 UTC
Bug 67606 mentions an alternative set of shortcuts for switching tabs.