Using freshly built from git master today on Linux Fedora. In a session, move a tab to the left-most position. quit kate start kate notice that the same tab is not restored to the left-most position tab order in a session should be properly saved and restored
Could you try https://invent.kde.org/utilities/kate/-/merge_requests/1618 On 2024-10-27 10:12, Allen Winter wrote: > https://bugs.kde.org/show_bug.cgi?id=495419 > > Bug ID: 495419 > Summary: Tab order is not properly restored > Classification: Applications > Product: kate > Version: Git > Platform: Other > OS: Linux > Status: REPORTED > Severity: normal > Priority: NOR > Component: sessions > Assignee: kwrite-bugs-null@kde.org > Reporter: winter@kde.org > Target Milestone: --- > > Using freshly built from git master today on Linux Fedora. > > In a session, move a tab to the left-most position. > quit kate > start kate > notice that the same tab is not restored to the left-most position > > tab order in a session should be properly saved and restored
yes, that patch seems to work quite well
Git commit d04ee358b6324730366ff7f00d545acaf3b375e8 by Christoph Cullmann. Committed on 27/10/2024 at 15:11. Pushed by cullmann into branch 'master'. ensure we keep the tab order on session restore M +48 -1 apps/lib/autotests/kate_view_mgmt_test2.cpp M +2 -1 apps/lib/katemainwindow.h M +3 -1 apps/lib/katetabbar.h M +26 -10 apps/lib/kateviewspace.cpp https://invent.kde.org/utilities/kate/-/commit/d04ee358b6324730366ff7f00d545acaf3b375e8
Thanks for testing!
*** Bug 495872 has been marked as a duplicate of this bug. ***
*** Bug 496180 has been marked as a duplicate of this bug. ***
This is still happening (or regressed) I have a session with a 13 documents/tabs I move one of those tabs to the second position (from left) . then restart kate. now that tab is in position 13 instead or restored to position 2.
forgot to mention this is with today's kate from git with HEAD 77c61734ca359e9486b320f754198b64c6f2be3f
Hmmm, ok, bad. Not sure how that can happen, added some small test, too. That still works.
restoring tab order doesn't work even when switching sessions. in sessionA, move tab in position4 to position2. switch to sessionB switch back to sessionA and notice that tab that should be in position2 is back in position4
Operating System: MocaccinoOS (Gentoo) KDE Plasma Version: 6.2.4 KDE Frameworks Version: 6.7.0 Qt Version: 6.7.3 Kernel Version: 6.6.67-mocaccino (64-bit) Graphics Platform: X11 Processors: 16 × 11th Gen Intel® Core™ i7-11700K @ 3.60GHz Memory: 61.6 GiB of RAM Graphics Processor: NVIDIA GeForce GTX 1060 6GB/PCIe/SSE2 Manufacturer: ASUS I have this too. It worked for a while after the upgrade to Kate 24.08.3 until I have closed one tab. That may have saved the session and broke it ever after. The order does not make any sense now as the tabs are not even in some lexicographic order. It is difficult to use it and to find the needed tab now.
I have noticed another thing that may be related. If I have two files named the same, but opened from different paths, the document selector may chose the other file than the one the user peeks.
I can also confirm this, for me on current git master. The order seems to be scrambled on every launch.
I confirm Nate's remark. The order seems to be related to the latter edited files, but I am not 100% sure.