https://bugs.kde.org/show_bug.cgi?id=525002

Christoph Cullmann <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|https://invent.kde.org/util |https://invent.kde.org/util
                   |ities/kate/-/commit/723c17b |ities/kate/-/commit/75074dd
                   |6d7f818c04cb0c0dacfaedf4c6c |577c568cc6efe9e7c604016b365
                   |b2a3fe                      |edd96f

--- Comment #3 from Christoph Cullmann <[email protected]> ---
Git commit 75074dd577c568cc6efe9e7c604016b365edd96f by Christoph Cullmann.
Committed on 14/11/2026 at 22:13.
Pushed by cullmann into branch 'release/26.12'.

cli: honor --line and --column for already open and session documents

When opening a file with --line / --column (or -l / -c):
- If the file was already restored from the previous session, openDocUrl
  found the existing document without positioning the cursor on its view.
  Apply the requested cursor position and clear selection on the activated
  view in openDocUrl without disturbing other views.
- When delegating to an existing Kate instance via DBus or SingleApplication,
  the --line and --column arguments were omitted from the target file URL
  payload and sent separately, resulting in the cursor not moving or moving
  on the wrong document. Pass the CLI cursor directly into the URL payload,
  and activate the document view atomically upon tokenOpenUrlAt.


(cherry picked from commit 723c17b6d7f818c04cb0c0dacfaedf4c6cb2a3fe)

Co-authored-by: Ishaan Maheshwari <[email protected]>

M  +23   -9    apps/kate/main.cpp
M  +15   -4    apps/lib/kateapp.cpp
M  +1    -0    apps/lib/kateapp.h
M  +2    -2    apps/lib/kateappadaptor.cpp

https://invent.kde.org/utilities/kate/-/commit/75074dd577c568cc6efe9e7c604016b365edd96f

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

Reply via email to