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

CMake variable table defaults Key column to minimum width

    XMLWordPrintable

    Details

    • Platform/s:
      Linux/X11
    • Commits:
      6d681cc5ad (qt-creator/qt-creator/7.0) 6d681cc5ad (qt-creator/qt-creator/master) 6d681cc5ad (qt-creator/qt-creator/qds-3.3) 6d681cc5ad (qt-creator/tqtc-qt-creator/7.0)

      Description

      When launching Qt Creator, the table of CMake variables under the Projects -> Build section defaults the Key column to minimum width.

       

      This table overall has very strange behavior:

      • Upon first launching Qt Creator and loading a project, the Key column width is the minimum and can be resized.
      • When selecting File -> Close All Projects and Editors, then re-opening the same project, the Key and Value columns each take up 50% of the table width and cannot be resized.
      • When selecting File -> Close All Projects and Editors for a second time and re-opening the same project, the Key and Value columns each take up 50% of the table width and can be resized.

       

      When closing Qt Creator, this behavior resets, even if you manually resized the Key column. The sequence of behavior remains the same:

      1. First project loaded has the Key column at minimum width.
      2. Second project loaded has Key and Value columns at 50% each, but not resizeable.
      3. Third and following projects loaded has the Key and Value columns at 50% each and may be resized.

       

      I am running Qt Creator 7.0.0 on Arch Linux with KDE.

       

        Attachments

        1. cmake variables.png
          68 kB
          Aaron Barany
        2. QtCreator-CMake-Settings-Column-Width.mp4
          577 kB
          Cristian Adam
        3. resize-2022-04-05_02.19.35.mp4
          521 kB
          Aaron Barany
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            Assignee:
            cadam Cristian Adam
            Reporter:
            akb825 Aaron Barany
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes