Bug 70854 - Adding files and project browser behaviour
Summary: Adding files and project browser behaviour
Status: RESOLVED FIXED
Alias: None
Product: quanta
Classification: Miscellaneous
Component: general (show other bugs)
Version: unspecified
Platform: RedHat Enterprise Linux Linux
: NOR normal
Target Milestone: ---
Assignee: András Manţia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-12-19 16:21 UTC by palantir
Modified: 2004-01-14 19:16 UTC (History)
0 users

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 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);
 }