SUMMARY: Right now, if a file is closed, then opened again, kate dispalys the file at the top (line 0). It would be very useful if instead it scrolled to the last position of the cursor since document was last opened.. SOFTWARE/OS VERSIONS Linux/KDE Plasma: Ubuntu 22.04 (available in About System) KDE Plasma Version: KDE Frameworks Version: Qt Version: ADDITIONAL INFORMATION
Seems to be a regression because of session auto save..
I just tested it on master and it's working for me. Can you give more information on this like KDE Gear, Frameworks, Qt versions? A more detailed test case? Custom configs?
A possibly relevant merge request was started @ https://invent.kde.org/utilities/kate/-/merge_requests/1433
(In reply to Romário Rios from comment #2) > I just tested it on master and it's working for me. Can you give more > information on this like KDE Gear, Frameworks, Qt versions? A more detailed > test case? Custom configs? Thanks. Simply open a text file in Kate. Scroll to the middle. Select a word from a line in the middle. Close Kate, open again. The cursor is on the first line. I'm on ubuntu 22.04.
Git commit d3e6cf7f8af1508ef066c12cc38eab78a6ccc763 by Christoph Cullmann, on behalf of Waqar Ahmed. Committed on 27/03/2024 at 09:38. Pushed by cullmann into branch 'master'. Fix session autosave deletes view session config We store view config whenever a view is closed in KateViewSpace. Session autosave feature broke this because it wiped the saved config. M +14 -12 apps/lib/session/katesessionmanager.cpp M +2 -2 apps/lib/session/katesessionmanager.h https://invent.kde.org/utilities/kate/-/commit/d3e6cf7f8af1508ef066c12cc38eab78a6ccc763