Bug 74217

Summary: automatic cleanups detected as external modifications
Product: quanta Reporter: Alessandro Morelli <alex>
Component: generalAssignee: András Manţia <amantia>
Status: RESOLVED FIXED    
Severity: normal CC: kbratanov, rfujimoto
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:

Description Alessandro Morelli 2004-02-05 11:45:01 UTC
Version:           3.3 Bleeding Edge (2004-01-19) (using KDE Devel)
Installed from:    Compiled sources
Compiler:          gcc version 3.3.3 20040125 (prerelease) (Debian) 
OS:          Linux

If "Automatic Cleanups on Save" are activated, each time I save a file (eligible for automatic cleanups, that is), Quanta tells me that the file has been modified externally and prompts me for action.
Asking for a diff, it shows modifications that appear to come from automatic cleanups.
Comment 1 András Manţia 2004-02-15 22:23:33 UTC
CVS commit by amantia: 

Workaround for a Kate bug. Might fix those "File changed" dialog pops up errors. Those who experienced that problem, please test it.

CCMAIL: quanta@kde.org
CCMAIL: 74305@bugs.kde.org
CCMAIL: 74217@bugs.kde.org


  M +1 -0      document.cpp   1.250


--- kdewebdev/quanta/src/document.cpp  #1.249:1.250
@@ -140,4 +140,5 @@ Document::Document(const KURL& p_baseURL
 Document::~Document()
 {
+ m_doc->closeURL(false); //TODO: Workaround for a Kate bug. Remove when KDE < 3.2.0 support is dropped.
  delete m_view;
  delete m_doc;


Comment 2 András Manţia 2004-02-25 18:16:42 UTC
*** Bug 74305 has been marked as a duplicate of this bug. ***
Comment 3 András Manţia 2004-02-25 18:17:34 UTC
*** Bug 75044 has been marked as a duplicate of this bug. ***
Comment 4 András Manţia 2004-03-02 11:40:06 UTC
Everyone who had this problem, please try to update from CVS (kdewebdev) and 
report.

Andras

Comment 5 Richard Fujimoto 2004-03-02 18:07:14 UTC
Thanks, the CVS version fixed my issue!  Hopefully it's fixed it for everyone else..
Comment 6 András Manţia 2004-03-12 16:45:11 UTC
Fixed in CVS.