Bug 225004 - Projects removed from buildsets are re-added when kdevelop is restarted.
Summary: Projects removed from buildsets are re-added when kdevelop is restarted.
Status: RESOLVED FIXED
Alias: None
Product: kdevplatform
Classification: Developer tools
Component: project (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR normal
Target Milestone: 1.0.0
Assignee: kdevelop-bugs-null
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-01-31 14:18 UTC by Blackpaw
Modified: 2010-02-19 03:34 UTC (History)
2 users (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 Blackpaw 2010-01-31 14:18:34 UTC
Version:           3.9.97 (using KDevPlatform 0.9.97) (using 4.3.95 (KDE 4.3.95 (KDE 4.4 RC2)), Kubuntu packages)
Compiler:          cc
OS:                Linux (x86_64) release 2.6.31-17-generic

When multiple projects loaded in KDevelop they are automatically added to the buildset, however this may not be the desired behaviour - e.g a project may only be added for reference purposes.

They can be removed from the buildset, however when "Settings|Projects|Automatically add opened projects to the build set" is checked they are re-added when kdevelop is restarted. KDevelop needs to remember which projects have been already removed from the buildset when starting.
Comment 1 Nicolás Alvarez 2010-02-01 03:06:32 UTC
I think when you start kdevelop and it reloads your previously opened projects, that shouldn't count as "opening a project" for the purposes of automatically adding to the buildset. The user didn't open a project, kdevelop did so by itself.
Comment 2 Niko Sams 2010-02-18 18:54:13 UTC
SVN commit 1092310 by nsams:

Don't automatically add project items to BuildSet if the user explicitly
removed it.
BUG: 225004

 M  +12 -11    projectbuildsetmodel.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1092310
Comment 3 Blackpaw 2010-02-19 03:34:42 UTC
Tested latest trunk, all working as expected now. Thanks!