Bug 473185

Summary: after reordering tabs, Ctrl+tab consider the original next/previous tab order, not the current
Product: [Applications] konsole Reporter: Bruno Massa <brmassa>
Component: tabbarAssignee: Konsole Developer <konsole-devel>
Status: RESOLVED INTENTIONAL    
Severity: minor CC: fanzhuyifan
Priority: NOR    
Version: 24.01.80   
Target Milestone: ---   
Platform: Kubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Bruno Massa 2023-08-09 01:19:32 UTC
SUMMARY
Ctrl+tab (ctrl+shift+tab to ) navigate to the next tab. However, if the tabs were reordered, it opens in the original order, disregarding the new tab order.

STEPS TO REPRODUCE
1. open at least 3 tabs
2. drag tab #3 to the middle
3. Ctrl+tab to check the behavior

OBSERVED RESULT
goes to the tab originally next/previous to the current tab

EXPECTED RESULT
goes to the current next/previous tab

SOFTWARE/OS VERSIONS
Kubuntu Linux 23.04
KDE Plasma Version: 5.27.4
KDE Frameworks Version: 5.104.0
Qt Version: 5.15.8
kernel: 5.19.0-42-generic (64-bit) 
graphics platform: Wayland
Comment 1 fanzhuyifan 2023-12-17 06:43:00 UTC
Can reproduce.
Comment 2 fanzhuyifan 2023-12-18 04:01:45 UTC
By the way, I think shift+right/left is the documented shortcuts for moving to the next/previous tabs. Ctrl+Tab is for the last used tab, and ctrl+shift+tab is for "Last Used Tabs (Reverse)"