Bug 74716

Summary: refreshing opened file failes and previous cached copy is rendered instead (concerning remote files via KIO_fish)
Product: [Unmaintained] quanta Reporter: Stefano di Sandro <stedis>
Component: generalAssignee: András Manţia <amantia>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Stefano di Sandro 2004-02-09 15:54:38 UTC
Version:           3.2.0 (using KDE 3.2.0, compiled sources)
Compiler:          gcc version 3.3.2
OS:          Linux (i686) release 2.4.23

1.
When saving a new created plain text file, without extension associated,
in a correctly opened 'fish://' remote location, it is saved remotely but Quanta
reject to open it and alerts that "file is unreadable" removing all content from the
edit window.

I must close the file window and reopen it to be able to start editing again.

2.
When saving a correctly opened plain text file, with non extension, remote file is
updated as expected, but the window is refreshed with the file as it was _before_ changes and
cursor is placed at the top of the document.

If, editing the file, I set a highlight syntax mode (for example Markup/HTML), or I save the 
file with an  extension known by Quanta, the problem vanishes.

If I work on a local file I don't register the bug even if the highlight mode is "none" _AND_
the file has got no extension.

Bye,
Stefano
Comment 1 András Manţia 2004-02-25 18:46:09 UTC
Can you test what happens if you do the same in Kate?

Comment 2 Stefano di Sandro 2004-02-26 11:09:52 UTC
Test in Kate accomplished: no bug.

Test in Quanta with transport FTP: no bug.
Test in Quanta with transport SMB: no bug.
Test in Quanta with local fs storage: no bug.

Comment 3 András Manţia 2004-02-26 12:20:42 UTC
CVS commit by amantia: 

Fix saving of files with fish:// [#74716]. Loading of the files is corrupted (with both Quanta and Kate) on CVS HEAD...

CCMAIL: 74716-done@bugs.kde.org


  M +1 -0      ChangeLog   1.223
  M +0 -3      parsers/saparser.cpp   1.22
  M +1 -2      src/quanta.cpp   1.430
  M +26 -45    src/quantadoc.cpp   1.134
  M +1 -0      src/quantadoc.h   1.40