[kate] [Bug 506956] Cursor position is not saved for closed tabs other than last active tab

2025-07-13 Thread Christoph Cullmann
https://bugs.kde.org/show_bug.cgi?id=506956

Christoph Cullmann  changed:

   What|Removed |Added

  Latest Commit|https://invent.kde.org/util |https://invent.kde.org/util
   |ities/kate/-/commit/f5ac709 |ities/kate/-/commit/2c30913
   |b3aab7228a269eb5bb869a21551 |04c550e2355d0a4b3cf7749b1db
   |267a26  |ded272

--- Comment #3 from Christoph Cullmann  ---
Git commit 2c3091304c550e2355d0a4b3cf7749b1dbded272 by Christoph Cullmann.
Committed on 13/07/2025 at 17:21.
Pushed by cullmann into branch 'release/25.08'.

Fix cursor position not being restored with multiple views

The session autosave that we trigger when starting up should specify
autosave=true, otherwise during session save we delete the session
config groups when saving data.

Add a test for this case, it starts up the app then opens a session
with 2 docs and then sets cursor position. We then close the app and
start up again similar to how the app is started in real world. Then
we check whether cursor position is correct


(cherry picked from commit f5ac709b3aab7228a269eb5bb869a21551267a26)

Co-authored-by: Waqar Ahmed 

M  +75   -0apps/lib/autotests/kate_view_mgmt_test2.cpp
M  +1-1apps/lib/kateapp.cpp

https://invent.kde.org/utilities/kate/-/commit/2c3091304c550e2355d0a4b3cf7749b1dbded272

-- 
You are receiving this mail because:
You are watching all bug changes.

[kate] [Bug 506956] Cursor position is not saved for closed tabs other than last active tab

2025-07-13 Thread Christoph Cullmann
https://bugs.kde.org/show_bug.cgi?id=506956

Christoph Cullmann  changed:

   What|Removed |Added

 Resolution|--- |FIXED
 Status|ASSIGNED|RESOLVED
  Latest Commit||https://invent.kde.org/util
   ||ities/kate/-/commit/f5ac709
   ||b3aab7228a269eb5bb869a21551
   ||267a26

--- Comment #2 from Christoph Cullmann  ---
Git commit f5ac709b3aab7228a269eb5bb869a21551267a26 by Christoph Cullmann, on
behalf of Waqar Ahmed.
Committed on 13/07/2025 at 13:44.
Pushed by cullmann into branch 'master'.

Fix cursor position not being restored with multiple views

The session autosave that we trigger when starting up should specify
autosave=true, otherwise during session save we delete the session
config groups when saving data.

Add a test for this case, it starts up the app then opens a session
with 2 docs and then sets cursor position. We then close the app and
start up again similar to how the app is started in real world. Then
we check whether cursor position is correct

M  +75   -0apps/lib/autotests/kate_view_mgmt_test2.cpp
M  +1-1apps/lib/kateapp.cpp

https://invent.kde.org/utilities/kate/-/commit/f5ac709b3aab7228a269eb5bb869a21551267a26

-- 
You are receiving this mail because:
You are watching all bug changes.

[kate] [Bug 506956] Cursor position is not saved for closed tabs other than last active tab

2025-07-13 Thread Bug Janitor Service
https://bugs.kde.org/show_bug.cgi?id=506956

Bug Janitor Service  changed:

   What|Removed |Added

 Status|REPORTED|ASSIGNED
 Ever confirmed|0   |1

--- Comment #1 from Bug Janitor Service  ---
A possibly relevant merge request was started @
https://invent.kde.org/utilities/kate/-/merge_requests/1816

-- 
You are receiving this mail because:
You are watching all bug changes.