-
-
Notifications
You must be signed in to change notification settings - Fork 103
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Dark theme and rendering issue on windows #818
Comments
Hi guys! Here is a checklist of problems to check that I've understood them well and to control the progress. Please correct me if I'm wrong:
|
The application is already in dark theme, but when the value is changed, there is a white background and white text in windows11, but in macOS, this does not happen in the dark theme, it is white text on a black background. In problem 2, there is also a leftover of the value that normally appears on the white background, which should not be there. |
This is a fix of regression introduced in 4e9e968, the problem is described in ra3xdh#818
The #820 resolves the problem with nodes rendering. I have added TODO list for this issue. |
In ra3xdh#818 @dsm mentioned that when property value text is being edited, the color of text background depends on current colorscheme (dark/light), which sometimes makes text barely visible. With this commit the background color of QLineEdit, used to modifying property value, is set using stylesheet instead of QPalette.
@dsm I made a patch which uses different approach to control colours when property values is being edited, but unfortunately I don't have a windows-based machine to try it out. Could you please try the patch to check if it fixes the problem №2? UPD: hadn't seen you comment in #828 when I added this comment; I'm glad it works! |
Yes this patch fixed Problem 2. |
The full fix provided by #842 Closing as completed. |
Hi, Qt added new theming for win11 named Windows11 style beginning Qt 6.7. This theme can automatically switch dark and light mode. In dark mode editing component color of the value is white. And some rendering artifact. I add some pictures. @wawuwo
Problem 1:
Problem 2:
Problem 3:
edit from @ra3xdh : Added TODO list
The text was updated successfully, but these errors were encountered: