Bug 70854

Summary: Adding files and project browser behaviour
Product: quanta Reporter: palantir
Component: generalAssignee: András Manţia <amantia>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: RedHat Enterprise Linux   
OS: Linux   
Latest Commit: Version Fixed In:

Description palantir 2003-12-19 16:21:28 UTC
Version:            (using KDE KDE 3.1.4)
Installed from:    RedHat RPMs

KDE 3.1.4, quanta from CVS
When adding a file to the project (eg. new file > save as > add to project) the project tree gets partly collapsed (all the subtree containing the directory to which the file is added excepting the first level).
Comment 1 palantir 2003-12-19 16:23:29 UTC
Additionally the folders of the subtree are rendered as empty (no way to unfold them) and you need to close and reopen quanta to see the project tree (including the just added file)
Comment 2 András Manţia 2004-01-14 19:16:49 UTC
Subject: quanta_be: quanta/quanta

CVS commit by amantia: 

Fix a grave bug: newly added files were not appearing the project tree. Close bug #70854 as it's related, although not the same (and in that form not reproducable).
I will port the fix to HEAD soon.

CCMAIL: 70854-done@bugs.kde.org


  M +1 -0      project/projectupload.cpp   1.45.2.4
  M +1 -0      treeviews/projecttreeview.cpp   1.57.2.8


--- quanta/quanta/project/projectupload.cpp  #1.45.2.3:1.45.2.4
@@ -174,4 +174,5 @@ void ProjectUpload::slotBuildTree()
  list->show();
  totalText->setText(i18n("Total:"));
+ totalProgress->setTotalSteps(1);
  totalProgress->setValue(0);
 }

--- quanta/quanta/treeviews/projecttreeview.cpp  #1.57.2.7:1.57.2.8
@@ -49,4 +49,5 @@ ProjectTreeBranch::ProjectTreeBranch(KFi
     : FilesTreeBranch(parent, url, name, pix, showHidden, branchRoot)
 {
+  setAutoUpdate(false);
 }