elementary / elementary/files

Update bookmarks on rename/move operations

Open
#2,820 3 comments 0 reactions 0 assignees View on GitHub
Needs Design Priority: Wishlist
Dominant language
Vala
Stars
365
Forks
82
Avg merge
4d 2h
Merged PRs (30d)
3

Description

### Problem

Renaming a file or folder causes the bookmark to point to a non-existing location

It is annoying to rename a file, then suddenly the shortcut for it needs to be remade

### Proposal

When renaming from Files, once rename is successful,
a quick check if there is a bookmark pointing to the old name
a bookmark name and path update to point to the new name

ditto probably for move operations

...I could do it when Files-Gtk4 lands, but really not much for touching gtk3 code, or risking something that will be skonched away in the porting efforts

### Prior Art (Optional)

_No response_

Contributor guide

Open the contributing guide

Research direction

Start by locating the Files rename and move success handling and the existing bookmarks implementation, then determine whether the work belongs in the GTK3 code or the Files-Gtk4 port. Verify the bookmark’s name and path after a successful rename or move, including the case where no bookmark points to the old location.

Written by the indexing model from the issue text.

Assessment

Domain
desktop
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
50/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.