Bug 491069 - Going through tabs with Ctrl+PageUp/Down does not wrap around
Summary: Going through tabs with Ctrl+PageUp/Down does not wrap around
Status: RESOLVED DUPLICATE of bug 476565
Alias: None
Product: kate
Classification: Applications
Component: application (other bugs)
Version First Reported In: 23.08.5
Platform: openSUSE Linux
: NOR minor
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-07-31 15:16 UTC by Chris K
Modified: 2024-07-31 15:24 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Chris K 2024-07-31 15:16:32 UTC
SUMMARY
I know that the usual way of going through the tabs of the tabbar in Kate with Ctrl+Tab and Ctrl+Shift+Tab is different from most other applications in that it always goes back to the last one used. Personally this has annoyed me oftentimes but recently I found out by chance that you can also go through the tabs with Ctrl+PageUp/Down. This does the expected left/right movement. It also works in all other apps I have tried, e.g., Firefox, Dolphin, Konsole.
However, while in all these apps pressing Ctrl+PageDown on the last (rightmost) tab leads the user to the first (leftmost) tab, this does not work in Kate. Which is quite frustrating.

STEPS TO REPRODUCE
1. Open two files in Kate.
2. Having focused the second one, press Ctrl+PageDown.

OBSERVED RESULT
Nothing happens.

EXPECTED RESULT
The focus goes to the first tab.

SOFTWARE/OS VERSIONS
Linux: openSUSE 15.6 kernel 6.4.0-150600.23.14-default (64-bit)
KDE Plasma Version: 5.27.11
KDE Frameworks Version: 5.115.0
Qt Version: 5.15.12

ADDITIONAL INFORMATION
I think this could be fixed very easily if you know where. Like "if i==n: i = 0"
Comment 1 Waqar Ahmed 2024-07-31 15:24:12 UTC

*** This bug has been marked as a duplicate of bug 476565 ***