Opened 11 years ago

Last modified 10 years ago

#306 assigned enhancement

Cycle through tabs (ctrl-tab) in most-recently-used order

Reported by: patspam Owned by: Sewi
Priority: minor Milestone:
Component: editor Version: 0.34
Keywords: usability, external consistency Cc:


Can we make ctrl+tab cycle through tabs in most recently used order? e.g. more closely mimic the Windows/Gnome? alt-tab model.

I find this behviour very useful when I have multiple tabs open and I want to jump "back" to the previous file I was just working on (or back 2 in the order, etc..).

The really nice way to do this is to indicate visually which tab is going to be opened while the user is still ctrl-tabbing and only open the tab when the ctrl key is released. This gives the user a chance to hit Esc to cancel mid-way.

I've seen some apps do this by just highlighting the tab name in the tab bar, others that render a little preview of the tab (a la Windows/Gnome? alt-tab), and others that render a little list of tab names on top of the screen showing which tab will be opened. Either of the latter two are extra nice if you can actually click a tab of choice with the mouse whilst the preview is on the screen.

Personally I'd have this as the default behaviour, but if some people like the current "in tab order" that Padre currently follows I'd be happy to just have this as a feature that can be turned on in Preferences.

N.B. Normally ctrl-shift-tab does the same thing in the opposite direction, however I can never fit 3 fingers of my left hand comfortably on all three buttons so I'm so concerned about that!

Change History (5)

comment:1 Changed 11 years ago by patspam

See also: #140

comment:2 Changed 11 years ago by jquelin

definitely don't put this one as the default: it could confuse people not used to it, and it's not predictable when just having a look at padre.

but it is a good idea to implement that...

comment:3 Changed 11 years ago by waxhead

It's done in Notepad++ and I've come to really like it alot.

comment:4 Changed 10 years ago by waxhead

  • Owner set to Sewi
  • Status changed from new to assigned

I'm just going through some of the outstanding tickets, since you've done the work on the tab order stuff I figure you can close these if you can, and get the kudos for it! :)

comment:5 Changed 10 years ago by zenogantner

  • Keywords usability external consistency added
Note: See TracTickets for help on using tickets.