Bug 263740 - kate fails to sync on save remote files
Summary: kate fails to sync on save remote files
Status: RESOLVED NOT A BUG
Alias: None
Product: kate
Classification: Applications
Component: general (other bugs)
Version First Reported In: SVN
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-20 13:14 UTC by Alin M Elena
Modified: 2011-01-24 00:03 UTC (History)
1 user (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 Alin M Elena 2011-01-20 13:14:49 UTC
Version:           SVN (using Devel) 
OS:                Linux

kate fails to sync on save remote files

I connect remotely to another machine using dolphin and sftp...
I open a file to edit with kate... when click save the file is not synced remotely. if I close kate I get a kioexec message prompting me to upload the file.

When using kwrite saving syncs the file remotely.

Alin


Reproducible: Didn't try




OS: Linux (x86_64) release 2.6.37-desktop
Compiler: gcc
Comment 1 Lukas 2011-01-23 21:21:08 UTC
Confirm.

...But can be a bug of KDE core, not Kate itself...

I its most likely a regression, since previous versions was doing right thing (sadly cant tell exact version).

The problem, is that remote file is firs downloaded to 
/var/tmp/kdecache-USERNAME/krun/000000.0.filename.ext
where 000000.0 is random number.

However pasting kio url like ftp://myhost.com/filename.ext directly to open file dialog in Kate opens file directly from server.

Also when opening from Dolphin/Konqueror system-run.png flashes near cursor.

So its likely KDE thinks Kate *CAN NOT* handle kios and uses /tmp as a wrapper to simulate such support
Comment 2 Alin M Elena 2011-01-24 00:03:50 UTC
Lukas... I have to admit you may be right... This is not a kate fault... 
As the next update of kde fixed the problem... I will close this as solved and open a new one against kio... when shows again.

Alin