Bug 225004

Summary: Projects removed from buildsets are re-added when kdevelop is restarted.
Product: [Developer tools] kdevplatform Reporter: Blackpaw <lindsay.mathieson>
Component: projectAssignee: kdevelop-bugs-null
Status: RESOLVED FIXED    
Severity: normal CC: lindsay.mathieson, nalvarez
Priority: NOR    
Version: unspecified   
Target Milestone: 1.0.0   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:

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!