QColorDialog broken becaus of new Windows 11 style spin buttons
-
@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.
-
@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-124235It’s fixed already. Patch is in review.
-
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?
-
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:
int main(int argc, char *argv[]) { QApplication a(argc, argv); QColorDialog dia; dia.exec(); return a.exec(); }
-
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. -
@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.