Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
None
-
3.0.1
-
None
-
-
51b4bdad7 (dev), dea87219d (dev)
Description
(Failed) Modifications to CMakePresets.json and annoying popup ribbon
The new update to vstools latest annoyance wanting to 'convert [CMakePresets.json] to Qt/CMake'
modifies the file in such a way as to render any significant configure presets useless.
The modified CMakePresets is flawed and not used, even if it was the configurations are forced to hidden.
If you attempt to fix it, it immediately changes it back to the broken state !!
I was using clang-cl and it has done several things.
- prefix'd any non hidden configurations "name" with an underscore.
- removed inheritance from configurations to parents.
- marked them "hidden": true
- added it's own configure preset "Qt" (also hidden)
- added vendor "checksum"
To Reproduce
Simply customize a CMakePresets.json with your own configuration(s) and allow it to 'convert' when the annoying popup displays (it will keep coming back, you can't miss it at the top of the editor window).
Expected behavior
It's also expected that any modifications will:
- not affect existing configurations in a negative way.
- be transparent, you could have made them inherit "Qt" or just added environment block to inherit.
- be functional, perhaps the default preset is.. which means nothing as the point of having a configuration is ...
-
- you guessed it: ability to configure it. You have removed the ability to do so.
-
-
- Annoyances: ***
The tool should not annoy the user to convert at all, It should be an option in the menu.
If you choose to do this anyway, it should only be displayed once.. not keep coming back.
If the user clicks the [x] choosing not to convert (or change CMakeSettings.json to CMakePresets.json too !!) it should NEVER appear again for that project.
- Annoyances: ***
Screenshot:
Put options over annoyances (if you must):
Desktop
- Qt VS Tool Version 3.01
- Visual Studio version VS2022