Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-31630

Path Chooser does not allow to click Next in custom json wizards

    XMLWordPrintable

Details

    Description

      If JSON wizard only has Path Chooser and has "path" set and "mandatory" set like this:

      {
                          "name": "Path",
                          "type": "PathChooser",
                          "trDisplayName": "Path:",
                          "mandatory": true,
                          "data":
                          {
                              "kind": "directory",
                              "basePath": "%{InitialPath}",
                              "path": "%{InitialPath}"
                          }
      }

      then it is not possible to click Next unless clicking on Browse and back, which is not needed if the default path suits for the user. Should be able to click Next if the default path exists and is ok to the user.

       

      You can test this by modifying existing cpp wizard in share/qtcreator/templates/wizards/classes/cpp/wizard.json. Just remove all fields except PathChooser and try to add Class in Code editor.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            kandeler Christian Kandeler
            arminr Armin Riiet
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes