Opened 10 years ago

Last modified 13 months ago

#8285 new enhancement

Change keyboard shortcuts for "next tab" and "previous tab"

Reported by: dfnsonfsduifb Owned by: deryni
Milestone: Component: pidgin (gtk)
Version: 2.5.4 Keywords:
Cc: FeepingCreature


When using pidgin and there are multiple tabs open, the default shortcut for next/previous tab is the gnome default Ctrl-PgUp? (Previous) Ctrl-PgDn? (Next). This cannot be changed even in ~/.purple/accels.

It would be nice to have the option to change that, as it is very annoying on some laptops where the PgDn? key is left of the PgUp? key (meaning that you press left to get the next tab and press right to get the previous tab).

Kind regards, Johannes

Change History (7)

comment:1 Changed 10 years ago by rekkanoryo

I think this is provided by GTK+, making it something we can't directly control ourselves. Note, however, that you can use ctrl+[ and ctrl+] to move "up" and "down" (respectively) through the tabs.

comment:2 Changed 10 years ago by deryni

  • Status changed from new to pending

GTK+ provides the bindings when the notebook tabs are focused, we 'provide' the bindings when the input area is. Which is what makes this tough to make configurable. The input area has no logical (as far as GTK+ is concerned) connection to the notebook tabs so it doesn't pay any attention when the input area is focused. (See gtkconv.c:conv_keypress_common for all the things we grab, notably [ and ] are ours in this case also.)

I'm open to ideas about how to make this sort of thing configurable but I don't have any ideas that aren't horrible myself.

As a side note, the orientation of Page Down to the left of Page Up strikes me as a poor choice regardless of any pidgin (or other application usage) in that most languages read left-to-right and top-to-bottom. So it would seem to me that the standard orientation would be that right is roughly equivalent to down, but maybe not.

comment:3 Changed 10 years ago by dfnsonfsduifb

  • Status changed from pending to new

Oh, OK, I didn't know that key binding came from GTK+ and was virtually hardcoded. I thought the tabs management was equal to gnome-terminal which has the same default configuration (Ctrl-PgUp/Dn?) and can be changed to whatever one wants to.

Thanks for the tip to use Ctrl-[ and Ctrl-] - this is however no option on a German language keyboard where those combintions would end up being Ctrl-AltGr?-8 and Ctrl-AltGr?-9 :-)

Thanks for having a look into that issue!

Kind regards, Johannes

comment:4 Changed 10 years ago by QuLogic

  • Owner changed from lschiere to rekkanoryo

comment:5 Changed 10 years ago by bernmeister

dfnsonfsduifb: Is this still an issue for you? Can this ticket be closed?

comment:6 Changed 10 years ago by deryni

  • Component changed from unclassified to pidgin (gtk)
  • Owner changed from rekkanoryo to deryni

Hm... perhaps the best way to let people customize (or disable) these bindings would be to create a 'Window' or 'Tab' menu to the conversation window which would contain entries like 'Next/Previos? Tab', 'Next/Previous? Most Active Tab', and possibly 'Next/Prev? Window' (if more than one conversation window exists) and maybe even contents similar to the right-click tab menu.

This would allow the default bindings to be set as menu hotkeys, which would let people remove or override them.

comment:7 Changed 13 months ago by FeepingCreature

Ping. Not the owner but yes I'd still want this.

Note: See TracTickets for help on using tickets.
All information, including names and email addresses, entered onto this website or sent to mailing lists affiliated with this website will be public. Do not post confidential information, especially passwords!