Bug 492632

Summary: [KF 6.5.0] Can't save remote file changes
Product: [Frameworks and Libraries] frameworks-kio Reporter: sebaro <esebaro>
Component: generalAssignee: KIO Bugs <kio-bugs-null>
Status: RESOLVED NOT A BUG    
Severity: normal CC: christoph, kdelibs-bugs-null, waqar.17a
Priority: NOR    
Version First Reported In: 6.6.0   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description sebaro 2024-09-04 06:09:32 UTC
SUMMARY
Can't save remote file changes.

STEPS TO REPRODUCE
1.  Open remote file for editing
2.  Save changes

OBSERVED RESULT
The file ‘fish://...’ has been modified. Do you want to upload the changes?
Upload/Do Not Upload
Upload - >
Error: A file named fish://... already exists.

EXPECTED RESULT
Remote file changes are saved.

SOFTWARE/OS VERSIONS
Linux:Gentoo
KDE Frameworks Version: 6.5.0
Qt Version: 6.7.2

ADDITIONAL INFORMATION
Same issue with both sft and fish. Was fine in 6.4.0.
Comment 1 Waqar Ahmed 2024-10-08 08:59:49 UTC
Seems like a KIO bug
Comment 2 sebaro 2024-10-08 10:02:14 UTC
Same issue with 6.6.0.
Sometimes it works but most of the time it doesn't.
Maybe is a KIO issue, I didn't know for which to open the bug, framework or gear.
Comment 3 sebaro 2024-12-01 07:10:04 UTC
How to reproduce:

Create a remote test file as "test", open it with kwrite, on titlebar the title is "fish://user@IP/path/file", edit then save, file is saved.

Change the extension to "php", open file with kwrite, on titlebar the title is "test.php @ ~/.cache/kioexec/krun/1234_0", edit then save, result:
The file ‘fish://user@IP/path/test.php’
has been modified. Do you want to upload the changes? -> Yes
A file named fish://user@IP/path/test.php already exists.
Comment 4 sebaro 2025-02-11 19:33:48 UTC
With 6.10.0 I can't even save file without extensions.
Comment 5 sebaro 2025-08-06 18:09:47 UTC
It was an issue with the main "Open with kwrite" menu option which had an incorrect command.