Bug 509724 - Add a "Rename" button to file saving dialogs when naming conflicts
Summary: Add a "Rename" button to file saving dialogs when naming conflicts
Status: CONFIRMED
Alias: None
Product: frameworks-kio
Classification: Frameworks and Libraries
Component: Open/save dialogs (other bugs)
Version First Reported In: 6.18.0
Platform: Arch Linux Linux
: NOR wishlist
Target Milestone: ---
Assignee: KIO Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-09-20 18:29 UTC by d47919cdff4811e20a12490d18f18a78
Modified: 2025-09-23 17:24 UTC (History)
5 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
The dialog in question (13.39 KB, image/png)
2025-09-20 18:29 UTC, d47919cdff4811e20a12490d18f18a78
Details

Note You need to log in before you can comment on or make changes to this bug.
Description d47919cdff4811e20a12490d18f18a78 2025-09-20 18:29:01 UTC
Created attachment 185119 [details]
The dialog in question

SUMMARY
Portal “Save” overwrite prompt lacks a “Rename” option (only Overwrite/Cancel). Please add “Rename” that auto-uniquifies (e.g., "name (1).ext").

STEPS TO REPRODUCE
1. In LibreWolf/Firefox, right-click any image -> "Save Image As…"
2. Choose a folder where a file with the same name already exists
3. Click "Save"

OBSERVED RESULT
Overwrite confirmation dialog presents only **Overwrite** and **Cancel**.

EXPECTED RESULT
A third button **Rename** that suggests/applies an auto-suffix (e.g., "(1)", "(2)", …). 
Ideally, a toggle/setting to "auto-rename on conflict".

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Yes
KDE Plasma Version: 6.4.5
KDE Frameworks Version:6.18.0
Qt Version: 6.9.2

ADDITIONAL INFORMATION
- Session: X11 (`XDG_SESSION_TYPE=x11`)
- Desktop: KDE
- Window manager: kwin 6.4.5
- Example app: LibreWolf/Firefox (non-Flatpak)
- WM_CLASS of dialog: `xdg-desktop-portal-kde` (from `xprop`)
- Dolphin: 25.08.1
- Rationale: KDE’s file copy/move conflict dialog offers **Rename**; the portal save dialog does not. Adding it would reduce manual retries when saving many files.
- Severity: **Wishlist**
- Attachment: screenshot of the overwrite prompt
Comment 1 David Redondo 2025-09-22 08:54:41 UTC
That's the same as in "normal" save dialogs.
Comment 2 d47919cdff4811e20a12490d18f18a78 2025-09-22 09:52:39 UTC
(In reply to David Redondo from comment #1)
> That's the same as in "normal" save dialogs.

Would it be possible to add it there too then?