Bug 278319 - KIO should watch for changes in temporary file instead waiting for application exit when editing remote files
Summary: KIO should watch for changes in temporary file instead waiting for applicatio...
Status: RESOLVED DUPLICATE of bug 252026
Alias: None
Product: kio
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: 4.6
Platform: Mandriva RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: David Faure
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-07-23 09:59 UTC by Michał D. (Emdek)
Modified: 2013-06-19 04:48 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 Michał D. (Emdek) 2011-07-23 09:59:01 UTC
Version:           4.6 (using KDE 4.6.4) 
OS:                Linux

When I try to edit file opened from Dolphin browsing SFTP resource in Geany (I cannot check in katepart based editor due broken updated packages...) then there is created temporary file which is opened in editor but saving it in editor doesn't change it on server, instead when the application is exited then there is dialog asking if it should be saved...
Current behavior is hardly acceptable even with single document applications but has no sense at all when there are multiple opened documents and we need to close whole application to see changes in one of them... Moreover opening and closing application to see changes on server (example: web development) is very flawed workload that wastes time.
KIO should watch for changes in that temporary files instead (using for example QFileSystemWatcher) to make this more transparent to user and making it work as expected.

Reproducible: Always

Steps to Reproduce:
Open file from SFTP resource (Dolphin, Krusader...) in Geany (I've not tried other scenarios), made some changes in file and save it.

Actual Results:  
Changes are not synchronized until application is closed and we confirm it using KIOExec dialog. 

Expected Results:  
Changes should be populated each time document is saved (when temporary file is changed).
Comment 1 Dawit Alemayehu 2013-06-19 04:48:53 UTC
This is essentially the same thing being requested in bug# 252026. We will have to see if we want to do this when we fix that bug report. Marking it as duplicate so it can be tracked there.

*** This bug has been marked as a duplicate of bug 252026 ***