Uploaded image for project: 'Qt Visual Studio Tools'
  1. Qt Visual Studio Tools
  2. QTVSADDINBUG-1133

(Failed) Modifications to CMakePresets.json and annoying popup ribbon(s) refuse to stay gone.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P2: Important
    • None
    • 3.0.1
    • General
    • None
    • Windows
    • 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.

      1. prefix'd any non hidden configurations "name" with an underscore.
      2. removed inheritance from configurations to parents.
      3. marked them "hidden": true
      4. added it's own configure preset "Qt" (also hidden)
      5. 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.

      Screenshot:

      Put options over annoyances (if you must):

      Desktop

      • Qt VS Tool Version 3.01
      • Visual Studio version VS2022

      Attachments

        1. screenshot.png
          screenshot.png
          158 kB
        2. screenshot-2.png
          screenshot-2.png
          17 kB
        3. screenshot-3.png
          screenshot-3.png
          6 kB
        For Gerrit Dashboard: QTVSADDINBUG-1133
        # Subject Branch Project Status CR V

        Activity

          People

            mecfc Miguel Costa
            heimrich Karsten Heimrich
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes