Bug 122439 - kate & fish protocol with "Save As"
Summary: kate & fish protocol with "Save As"
Status: RESOLVED WORKSFORME
Alias: None
Product: kdelibs
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: unspecified
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: kdelibs bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-02-21 19:51 UTC by Daniel P. Stasinski
Modified: 2009-05-01 20:16 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel P. Stasinski 2006-02-21 19:51:39 UTC
Version:            (using KDE KDE 3.5.1)
Installed from:    Fedora RPMs
OS:                Linux

This is a "bug/quirk" that hurt.

I was editing a remote file in Kate (fish protocol).

When using "Save As" with remote files, Kate apparently first saves the file under its current name (bad), then dupes that file, closes the current file and finally loads the duped/renamed file.

It should not first save the file with it's current name.  This defeats the whole purpose of saving it as another file name.

In my case, it lost me my original text file and I ended up with duplicate edited files.
Comment 1 Christoph Cullmann 2008-02-10 20:21:57 UTC
We use the normal kparts method, if that is broken, thats a kdelibs problem
Comment 2 Dario Andres 2009-05-01 20:05:51 UTC
Here using:

Qt: 4.5.1 (qt-copy  958974)
KDE: 4.2.71 (KDE 4.2.71 (KDE 4.3 >= 20090428))
kdelibs svn rev. 960693 / kdebase svn rev. 960693
on ArchLinux i686 - Kernel 2.6.29.1

When editing a file under smb:/, "Save As" doesn't write the changes to the current filename. (so it keeps unchanged)

Can you still reproduce this with a KDE4 version and any other non-local protocol. (May be it's only related to fish:/ (which I can't test))

Thanks
Comment 3 Erlend Hamberg 2009-05-01 20:15:04 UTC
I could not reproduce this. (openSuse 11.1, KDE 4.2.2)

I opened vaffel.txt over fish://, changed its contents and saved as vaffel2.txt. The first file's contents was unchanged and the second file had the expected contents.
Comment 4 Dario Andres 2009-05-01 20:16:13 UTC
Marking as WORKSFORME