Bug 263740

Summary: kate fails to sync on save remote files
Product: [Applications] kate Reporter: Alin M Elena <alinm.elena>
Component: generalAssignee: KWrite Developers <kwrite-bugs-null>
Status: RESOLVED NOT A BUG    
Severity: normal CC: 1lukas1
Priority: NOR    
Version First Reported In: SVN   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

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