Review Request 123965: Encode KBookmark URL to fix compatibility with KDE4 applications
Andrey Bondrov
andrey.bondrov at rosalab.ru
Sun May 31 14:28:28 BST 2015
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/123965/
-----------------------------------------------------------
(Updated Май 31, 2015, 1:28 п.п.)
Review request for Dolphin, kdelibs, David Faure, and Hrvoje Senjan.
Repository: kbookmarks
Description (updated)
-------
We need to encode KBookmark URL to fix compatibility with KDE4 applications.
For example, KDE4 stores "~/????????" ("Downloads" in Russian) as
bookmark href="file:///home/vuohi/%D0%97%D0%B0%D0%B3%D1%80%D1%83%D0%B7%D0%BA%D0%B8/"
while KF5 stores "~/????????" as
bookmark href="file:///home/vuohi/????????/"
When the bookmark is created with KF5, KDE4 applications cannot open it.
P.S. Looks like this editor cannot display non-latin characters, it replaced actual string with questions.
Diffs
-----
src/kbookmark.cpp 98ddc99
Diff: https://git.reviewboard.kde.org/r/123965/diff/
Testing
-------
Only quick testing is done. I deleted user-places.xbel, added bookmark with kwrite (KF5 version), checked if it's properly stored in new user-places.xbel and if Dolphin (KDE4 build) can open it from Places panel. Seems to work properly.
Thanks,
Andrey Bondrov
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.kde.org/mailman/private/kfm-devel/attachments/20150531/bc902a0a/attachment.htm>
More information about the kfm-devel
mailing list