files icon indicating copy to clipboard operation
files copied to clipboard

Bookmarks change name automatically to the bottom-most folder/item in Bookmarks

Open JohnDumpling opened this issue 4 years ago • 4 comments

What Happened

I changed the system language from English to Slovak (as I'm working on the translations). The older system files for Photos, Videos, Music etc. got replaced with folders in Slovak language. But as the previous translator has made A LOT of mistakes, I renamed some of the bookmarked folders through a context menu, so the translations would appear correct. However, after a system restart, all bookmarks that I renamed had the same name (same as the bottom-most item I renamed): image

Expected Behavior

Bookmarked folders or files should not be renamed automatically.

Steps to Reproduce

  1. Switch system language and click on the "Replace older system folders with new names in your language"
  2. Rename some of the bookmarked folders
  3. Restart the system and look at the bookmarks' names. Did they change?

Platform Information

Lenovo Legion 5 running elementary OS 6 (dualbooting Windows 10) CPU: Ryzen 4800h with Radeon iGPU dGPU: GTX 1660ti mobile with 470 driver from AppCenter Files app version: 6.0.1

JohnDumpling avatar Aug 23 '21 10:08 JohnDumpling

Strange! Could you post the contents of ~/.config/gtk+3.0/bookmarks (unless you have already corrected the bookmarks)? Each line consists of a uri followed by the name used on the bookmark.

I suspect this is due to a bug that was recently fixed by https://github.com/elementary/files/pull/1783. This fix will not have reached the stable release yet I guess.

jeremypw avatar Aug 23 '21 17:08 jeremypw

Even after renaming them again, the file remains intact: image

JohnDumpling avatar Aug 24 '21 07:08 JohnDumpling

#1783 seems to be that issue, although it is not yet implemented (there wasn't a system update that would fix this)

JohnDumpling avatar Aug 24 '21 07:08 JohnDumpling

OK, thanks. So a workround would be to edit the ~/.config/gtk+3.0/bookmarks manually to give the required custom names. Hopefully it will not be too long before a new release is made, but the gatekeepers are pretty busy atm.

jeremypw avatar Aug 24 '21 08:08 jeremypw