-
Notifications
You must be signed in to change notification settings - Fork 669
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix bookmark creation in GNOME, XFCE etc. #9752
Conversation
Are there still gtk2 distros? (should we handle both locations) |
I don't think there are any left. Gtk+ 2.0 has been deprecated for a while now. Even Xfce adopted Gtk+ 3 around 2015. |
Gtk+ 3 based desktops store bookmarks information in another location. The old path was valid for Gtk+ 2 only. Tested on xUbuntu 20.04, 22.04, Fedora 36, openSUSE Leap 15.3.
9a94eae
to
dc120c0
Compare
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
Expected result: There is a bookmark in the sidebar of the file browser |
Same with a trusted old 2.11.0 client. No bookmarks. Sorry. |
Works as expected in an Ubuntu 22.04.1 with GNOME. Using Linux Mint 21 with MATE, the bookmark creation does not work. I tracked the bug down to missing escaping: spaces must be escaped as Cinnamon is working as expected. |
Adding the escaping makes Xfce display the bookmark like this: Right now, it looks like this: I am not sure what causes this behavior. Both ways are kind of broken. On Mint 21 with Cinnamon, the escaping fixes the rendering. (In fact, without escaping, a warning icon Similar result on Ubuntu 22.04.1: vs. I don't think any of this is critical. I'll create an issue for 3.1. @HanaGemela @jnweiger please limit testing of this change to the following desktop environments for now:
|
Please post an excerpt of your |
a) I never intentionally used bookmarks, seems the file has now more entries, than visible in the UI. Strange, but ok for me.
In my home, I actually have
|
Please replace the spaces with |
This comment was marked as off-topic.
This comment was marked as off-topic.
Added a new account (the one with cloud.fablab ...):
This time it got proper escaping. OK Bookmarks can be "renamed" in Nemo. After doing so the file looks like this:
Just right. the whitesapaces that should be escaped remain escaped, the one that shouldn't isn't. OK. Confirmed fixed from my side. |
Gtk+ 3 based desktops store bookmarks information in another location. The old path was valid for Gtk+ 2 only.
Tested on xUbuntu 20.04, 22.04, Fedora 36, openSUSE Leap 15.3.