Community
Participate
Working Groups
Created attachment 212791 [details] illustrative screenshot Under project properties > C/C++ General > Indexer, there is a combobox at the bottom for choosing the build configuration that the indexer should use. When project-specific settings are disabled, I think this combobox should also be disabled. I'll attach a screenshot. This seems to be the same in both Indigo and Juno (at least M5) builds.
That is how it is intended by design. This combobox is enabled when option "Use the build configuration specified in the project's indexer settings" is chosen on Indexer Preference page. This is not the best design IMHO, perhaps we can discuss other options in this bug?
I see what you mean but the enabled-ness of the radio buttons inside the 'Build configuration for the indexer' box is toggled when the 'Enable project specific settings' checkbox is toggled. This is what confuses me.
Weird, I can reproduce this on Linux (Ubuntu 11.10) and Mac (10.7) but not on Windows 7.
Scratch that, this is because my workspace setting is "Use active build configuration" in my Windows workspace but not in my other workspaces.
Created attachment 212821 [details] Enable combo box only when project specific (not derived) and fixed config This should fix it. Andrew G, would you mind reviewing/testing the tiny patch? I'm not that familiar with this page but it seems like this is how it should behave.
Comment on attachment 212821 [details] Enable combo box only when project specific (not derived) and fixed config Fixed patch description.
(In reply to comment #6) > Comment on attachment 212821 [details] > Enable combo box only when project specific (not derived) and fixed config > Fixed patch description. After your patch, how one would use preference "Build configuration for the indexer", especially the second choice? That build configuration will be hardcoded and not changeable anymore?
Comment on attachment 212821 [details] Enable combo box only when project specific (not derived) and fixed config (In reply to comment #7) > (In reply to comment #6) > > Comment on attachment 212821 [details] > > Enable combo box only when project specific (not derived) and fixed config > > Fixed patch description. > After your patch, how one would use preference "Build configuration for the > indexer", especially the second choice? That build configuration will be > hardcoded and not changeable anymore? You're right. That would force the user to tick "Enable project specific" even though it doesn't override anything. It works as intended. It is a bit confusing though.
(In reply to Marc-Andre Laperle from comment #8) > It works as intended. It is a bit confusing though. Is there anything still to be done for this bug, or can we close it?
(In reply to Nathan Ridge from comment #9) > (In reply to Marc-Andre Laperle from comment #8) > > It works as intended. It is a bit confusing though. > > Is there anything still to be done for this bug, or can we close it? I think it wasn't closed because it would be nice to improve the UI so that it's less confusing.
(In reply to Marc-Andre Laperle from comment #10) > (In reply to Nathan Ridge from comment #9) > > (In reply to Marc-Andre Laperle from comment #8) > > > It works as intended. It is a bit confusing though. > > > > Is there anything still to be done for this bug, or can we close it? > > I think it wasn't closed because it would be nice to improve the UI so that > it's less confusing. Should we open a new bug for that? I haven't personally verified but it seems the original bug has been fixed here.