Skip to content

fall back to filename for restore if original location can't be determined#4604

Merged
provokateurin merged 3 commits intomasterfrom
restore-missing-original-location
May 4, 2026
Merged

fall back to filename for restore if original location can't be determined#4604
provokateurin merged 3 commits intomasterfrom
restore-missing-original-location

Conversation

@icewind1991
Copy link
Copy Markdown
Member

If the original location of a trash item can't be determined, base the restore target on the path instead.

This usually ends up with it placing the restored item in the root of the groupfolder.

The current broken behavior ends up trying to use '' as the target, which ends up conflict resolving into something like ' (2)'.

Signed-off-by: Robin Appelman <robin@icewind.nl>
…determined

Signed-off-by: Robin Appelman <robin@icewind.nl>
@icewind1991 icewind1991 added the 3. to review Items that need to be reviewed label Apr 30, 2026
@icewind1991
Copy link
Copy Markdown
Member Author

/backport to stable33

@icewind1991
Copy link
Copy Markdown
Member Author

/backport to stable32

@icewind1991
Copy link
Copy Markdown
Member Author

/backport to stable31

@icewind1991
Copy link
Copy Markdown
Member Author

/backport to stable30

Signed-off-by: Robin Appelman <robin@icewind.nl>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to review Items that need to be reviewed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants