keyboard shortcut for "go to previously selected tab"

VERIFIED FIXED in Firefox 3.1a1

Status

()

defect
VERIFIED FIXED
13 years ago
8 years ago

People

(Reporter: beltzner, Unassigned)

Tracking

({polish})

Trunk
Firefox 3.1a1
Points:
---
Dependency tree / graph

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: [fixed by bug 395980])

An advanced keyboard shortcut to quickly flip back to the tab that was previously selected would be useful for the power browsers in our audience. Need to ensure we don't step on the toes of any other shortcuts.

I'm proposing we use:

 w32:   ctrl `
 linux: ctrl `
 osx:   alt `   (accel ` is taken by OSX's switch between windows shortcut)

If switching between ctrl and alt is strange for mac, we could also do accel+shift+`, but I think that's wierder.
Alt (Option)+character is reserved for entering special characters on OS X...

Comment 2

13 years ago
How about using Ctrl ` on Mac too?  Or changing the behavior of one of the many existing (redundant) "previous / next tab" shortcut pairs?

Comment 3

13 years ago
A friendly reminder from outside of the US: the proposed shortcut simply won't work on at least some non-US keyboards (` happens to be a "dead" key and only accessible with Shift on my de-CH keyboard).

The more basic question is however: do we really need this in the core? This isn't switch tabs in most-recently-selected order (à la Windows' Alt+Tab) which users rather ask for but a simple tab flipping which IMHO isn't useful enough for not being left to an extension.
Would be useful if you have a lot of tabs opened from the same domain and you switch from one inactive tab to another. Wen you close the latter the one on the right side will be focused and not the last selected tab. 
Of course you could also just try some tabs but a shortcut (or a menu-item in the tab-menu) would be a lot easier. 
(In reply to comment #3)
> A friendly reminder from outside of the US: the proposed shortcut simply won't
> work on at least some non-US keyboards (` happens to be a "dead" key and only
> accessible with Shift on my de-CH keyboard).

Ah, blast. Good point.

> The more basic question is however: do we really need this in the core? This

You'll note it's not blocking or anything. I think it's nice polish to have, and find myself yearning for it quite frequently. The equivalent-to-alt-tab behaviour would be nicer, but significantly harder to do, and I agree that it's more appropriately started as an extension.
take over ctrl+0 ?  STM 0 is a natural fit. And swap to previous tab is far more valuable to me than a hot key to 10th tab.  This also addresses the concerns of bug 256386, which is also a polish issue (though it's not a FF bug).

WFIW "click active tab to swap" ala bug 230250 would avoid the issue of keyboard conflict.  

Updated

12 years ago
Duplicate of this bug: 380905

Comment 8

12 years ago
Isn't Ctrl+Tab the norm for this sort of functionality? It has already been implemented in Firefox, but not the way it should have been, in my opinion. It currently just cycles to the next tab to the right.

I didn't find this bug in my searches, so I submitted the above mentioned quasi-duplicate.
I've put together a prototype extension for this:
http://en.design-noir.de/mozilla/ctrl-tab/ (works best with a trunk build)
Depends on: 395980
Status: NEW → RESOLVED
Last Resolved: 11 years ago
Depends on: 445461
Resolution: --- → FIXED
Target Milestone: --- → Firefox 3.1a1
Dao, so this bug was fixed by the patch on bug 395980?
Version: 2.0 Branch → Trunk
yes
Status: RESOLVED → VERIFIED
Whiteboard: [fixed by bug 395980]
No longer blocks: 706225
You need to log in before you can comment on or make changes to this bug.