Bug 407509 - "File already exists" dialog does not show up when you try to rename a file using the name of a file already present on desktop
Summary: "File already exists" dialog does not show up when you try to rename a file u...
Status: REPORTED
Alias: None
Product: frameworks-kio
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: 6.4.0
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: KIO Bugs
URL:
Keywords:
: 470333 (view as bug list)
Depends on:
Blocks:
 
Reported: 2019-05-13 20:08 UTC by Patrick Silva
Modified: 2025-03-24 22:58 UTC (History)
4 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Patrick Silva 2019-05-13 20:08:57 UTC
STEPS TO REPRODUCE
1. set your desktop do folder view layout
2. copy two files of the same type to desktop
3. try to rename one of the two files using the same name as the other file that you copied to desktop

OBSERVED RESULT
plasma shows the error message "Could not rename file..."

EXPECTED RESULT
plasma shows the same "File already exists" dialog that appears when you follow the steps 2 and 3 using Dolphin

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 5.15.5
KDE Frameworks Version: 5.57.0
Qt Version: 5.13.0 beta3
Comment 1 Kai Uwe Broulik 2019-05-23 15:18:17 UTC
Dolphin uses KIO::moveAs which prompts to rename if already exists, whereas Folder View goes through KDirModel which uses KIO::rename which complains when it already exists and doesn't work when direct rename isn't possible.
I guess KDirModel should be changed?
Comment 2 Patrick Silva 2023-05-27 13:15:37 UTC
*** Bug 470333 has been marked as a duplicate of this bug. ***