Bug 336926

Summary: Switch tabs using ALT + <Number>
Product: [Applications] dolphin Reporter: Arjun AK <arjunak234>
Component: generalAssignee: Dolphin Bug Assignee <dolphin-bugs-null>
Status: RESOLVED NOT A BUG    
Severity: wishlist CC: arjunak234
Priority: NOR    
Version First Reported In: 16.12.2   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Arjun AK 2014-07-01 11:45:02 UTC
For instance, in order to switch to the fourth tab, the user could press ALT+4. ALT+0 could be used to switch to the last tab

Reproducible: Always
Comment 1 Frank Reininghaus 2014-07-01 14:56:15 UTC
Thanks for the idea!

I see that Firefox has that feature already. Are you aware of any KDE applications that also use these shortcuts for switching tabs? I'm asking because we try to use similar shortcuts in all KDE applications. If no such "tab switching" shortcuts are used in KDE yet, this should probably be discussed with the usability team to see if a general guideline can be made out of it.

The only possible problem that I'm seeing is that there might be conflicts with already existing shortcuts in some applications (and conflicts with user-defined shortcuts, of course).
Comment 2 Arjun AK 2014-07-01 15:03:38 UTC
>Are you aware of any KDE applications that also use these shortcuts for switching tabs?
Akregator uses this. It uses the numbers 1-9
Comment 3 Frank Reininghaus 2014-07-01 15:08:21 UTC
OK, thanks for the quick reply! I was actually thinking of web browsers like Rekonq or Konqueror, but there are other applications that also have tabs, of course.

Still, I think that you might want to ask the usability team if a general tab shortcut guideline could be made out of this, which would then be recommended for all KDE appliations. I think that this is better than implementing this in isolated applications one after the other without ever discussing it properly.
Comment 5 Arjun AK 2014-07-09 12:59:42 UTC
I think we should stick with numbers instead of using accelerator keys. It would be much more easier to implement.
Comment 6 Frank Reininghaus 2014-07-20 22:04:29 UTC
Thanks for discussing this issue with the usability team!

(In reply to Arjun Ak from comment #5)
> I think we should stick with numbers instead of using accelerator keys. It
> would be much more easier to implement.

Well, changing tabs with the accelerators (i.e., pressing Alt+"key which is underlined in the tab title") is implemented already. Alt+Number would be an additional new feature, and I see that some users might appreciate it because they know if from, e.g., Firefox.

However, I see a potential problem now: If the accelerator for tab is a number, e.g., 1 (happens, i.e., if a tab shows a folder whose name contains only digits), then Alt+1 will open that tab. If we make Alt+1 activate the first tab, then we have a problem because "1" is not an accelerator any more for that tab.
Comment 7 Arjun AK 2014-07-21 08:35:13 UTC
>Well, changing tabs with the accelerators (i.e., pressing Alt+"key which is underlined in the tab title") is implemented already

Didn't know this was available. Closing this feature request then.