Bug 355138 - Bookmarks are not restored after close/reopen with FTP
Summary: Bookmarks are not restored after close/reopen with FTP
Status: RESOLVED NOT A BUG
Alias: None
Product: kate
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Debian testing Linux
: NOR wishlist
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-11-10 15:52 UTC by Victor Porton
Modified: 2024-03-15 19:18 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Victor Porton 2015-11-10 15:52:45 UTC
When I close and reopen file with a bookmark through FTP, the bookmark is lost.

Reproducible: Always

Steps to Reproduce:
1. Open a file through FTP.
2. Set a bookmark.
3. Close the file.
4. Reopen the file (through FTP).

Actual Results:  
The bookmark is lost.

Expected Results:  
The bookmark should appear unchanged after reopen.

Kate 15.08.2
Comment 1 Victor Porton 2015-11-10 18:29:50 UTC
Bookmarks are also not restored when I save/restore a session with an FTP file.
Comment 2 Justin Zobel 2020-10-27 02:02:00 UTC
Bookmarks are not kept for FTP files.

I believe however that this might not work as Kate likely downloads the file to a temp directory and the path might be different so it doesn't know you've bookmarked something before.
Comment 3 Dominik Haumann 2020-10-31 07:29:22 UTC
Indeed, it doesn't work for remote files I guess. To fix this, we'd need to use the file hash instead of the url to save the meta data. Not sure this is a good idea, though.
Comment 4 Christoph Cullmann 2022-10-31 19:00:05 UTC
We do store the stuff, the issue is that one would need to do the restore after the file is really loaded as atm the checksum will not match and therefore nothing will happen.
Comment 5 Christoph Cullmann 2024-03-15 19:18:24 UTC
Not implemented, if somebody wants to have that, please submit a patch.

So far there was no interest to implement that for years.

https://kate-editor.org/join-us/