Bug 496180

Summary: Kate loses tab order and reverts to LRU
Product: [Applications] kate Reporter: wedijo9431
Component: sessionsAssignee: KWrite Developers <kwrite-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: normal CC: christoph
Priority: NOR    
Version First Reported In: 24.08.3   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description wedijo9431 2024-11-12 15:47:44 UTC
SUMMARY
Tab ordering is lost and reverts to LRU despite "Limit number of tabs" "Unlimited"

STEPS TO REPRODUCE
1. rm -r .config/kate* .local/share/kate; kate &
2. Confirm Settings - Behavior - Limit number of tabs "Unlimited"
2. Create files "a" "b" "c", use mouse to move tabs to "c" "b" "a", select tab "a" then "c" then "b"
3. Save session, quit, start kate

OBSERVED RESULT
Tab list is "a" "c" "b"

EXPECTED RESULT
Tab list should be "c" "b" "a" not LRU.

SOFTWARE/OS VERSIONS
openSUSE Tumbleweed 20241111

ADDITIONAL INFORMATION
Specifically I use the mouse to reorder tabs into specific groupings, and that ordering is now lost when restarting kate, unlike previous versions. I prefer not to use LRU but instead use the deterministic/static tab convention that virtually every other UI uses. I noticed this happened the same time ctrl-pageup/down started looping rather than stopping at the start and end of the tab list, are these related (and is there a way to get that back)?
Comment 1 Christoph Cullmann 2024-11-12 18:08:07 UTC

*** This bug has been marked as a duplicate of bug 95419 ***
Comment 2 Christoph Cullmann 2024-11-12 18:08:26 UTC

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