Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. QColorDialog broken becaus of new Windows 11 style spin buttons

QColorDialog broken becaus of new Windows 11 style spin buttons

Scheduled Pinned Locked Moved Unsolved General and Desktop
colordialogstyle
9 Posts 3 Posters 830 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • C Offline
    C Offline
    csab6597
    wrote on last edited by
    #1

    The new Windows 11 style coming with Qt 6.7 makes QColorDialog almost unusable with its new Spin Button Arrows side by side. What to do?

    Color.png

    Christian EhrlicherC 1 Reply Last reply
    0
    • C csab6597

      The new Windows 11 style coming with Qt 6.7 makes QColorDialog almost unusable with its new Spin Button Arrows side by side. What to do?

      Color.png

      Christian EhrlicherC Offline
      Christian EhrlicherC Offline
      Christian Ehrlicher
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @csab6597 said in QColorDialog broken becaus of new Windows 11 style spin buttons:

      What to do

      Since the bug is already reported, wait until a fixed version comes out or don't use the new style but the old windowsvista one.

      Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
      Visit the Qt Academy at https://academy.qt.io/catalog

      1 Reply Last reply
      0
      • C Offline
        C Offline
        csab6597
        wrote on last edited by
        #3

        Ok thanks, did not find the bug report at first

        Axel SpoerlA 1 Reply Last reply
        0
        • C csab6597

          Ok thanks, did not find the bug report at first

          Axel SpoerlA Offline
          Axel SpoerlA Offline
          Axel Spoerl
          Moderators
          wrote on last edited by
          #4

          @csab6597 said in QColorDialog broken becaus of new Windows 11 style spin buttons:

          Ok thanks, did not find the bug report at first

          This is the bugreport:
          https://bugreports.qt.io/browse/QTBUG-124235

          It’s fixed already. Patch is in review.

          Software Engineer
          The Qt Company, Oslo

          1 Reply Last reply
          1
          • C Offline
            C Offline
            csab6597
            wrote on last edited by
            #5

            That bug report states the bug was now fixed in version 6.7.2, I just installed 6.7.2 but I see no change, there still are those too big spin buttons exactly like in my first post? I double checked that in MS Visual Studio in the Qt Extension there only is Qt 6.7.2 present?

            1 Reply Last reply
            0
            • C Offline
              C Offline
              csab6597
              wrote on last edited by
              #6

              This ist still not fixed in Qt 6.8.1.
              It is 8 months now, has this been given up on?

              1 Reply Last reply
              0
              • Christian EhrlicherC Offline
                Christian EhrlicherC Offline
                Christian Ehrlicher
                Lifetime Qt Champion
                wrote on last edited by Christian Ehrlicher
                #7

                I just downloaded Qt 6.8.1 for msvc2022 and it works as excepted, tested on my dev machine and on a win11 system without qt, just deployed through windeployqt:

                8c2c67f4-8a5e-4738-9f63-9bfb2259625c-grafik.png

                int main(int argc, char *argv[])
                {
                    QApplication a(argc, argv);
                    QColorDialog dia;
                    dia.exec();
                    return a.exec();
                }
                

                Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
                Visit the Qt Academy at https://academy.qt.io/catalog

                1 Reply Last reply
                0
                • C Offline
                  C Offline
                  csab6597
                  wrote on last edited by
                  #8

                  Well ok, I definitely expected the final fix to be resizing the spin buttons such that they stack vertically again, as it was before 6.7.
                  So we will now have different spin buttons per operating system, on Linux narrower and vertical, on Windows 11 side by side and wider. Hmm.

                  Christian EhrlicherC 1 Reply Last reply
                  0
                  • C csab6597

                    Well ok, I definitely expected the final fix to be resizing the spin buttons such that they stack vertically again, as it was before 6.7.
                    So we will now have different spin buttons per operating system, on Linux narrower and vertical, on Windows 11 side by side and wider. Hmm.

                    Christian EhrlicherC Offline
                    Christian EhrlicherC Offline
                    Christian Ehrlicher
                    Lifetime Qt Champion
                    wrote on last edited by
                    #9

                    @csab6597 said in QColorDialog broken becaus of new Windows 11 style spin buttons:

                    Well ok, I definitely expected the final fix to be resizing the spin buttons such that they stack vertically again, as it was before 6.7.

                    No, the windows11 style places them the way it is.

                    So we will now have different spin buttons per operating system,

                    I don't see a problem here - windows 11 looks different than macos, kde or gnome. If you want the same style for every os then hard-code it to fusion style.

                    Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
                    Visit the Qt Academy at https://academy.qt.io/catalog

                    1 Reply Last reply
                    0

                    • Login

                    • Login or register to search.
                    • First post
                      Last post
                    0
                    • Categories
                    • Recent
                    • Tags
                    • Popular
                    • Users
                    • Groups
                    • Search
                    • Get Qt Extensions
                    • Unsolved