Stylesheet problem with Qt > 5.12.2
-
I think this should also be reproducible with a small testcase - please file a bug report at https://bugreports.qt.io and attach the testcase.
-
@Rumen-GB
Hi
While a bug description does help. without a sample to clearly show
the issue / regression, it might not get much love as in many cases its an
application bug and not directly Qt issues.I can see you use Widget Names as selector.
Is the issue you experience like it does ignore the
name and affect another widget even it has other name or what is
the actual thesis about what is broken between the versions ? -
@mrjj the issue is that the stylesheet does not affect the child widgets. It did till qt 5.12.2 and stopped at 5.12.3. It is clearly seen on the screen shots. The frame by default is green. It should change to yellow during the exposure and back to green when done. Both screenshots are during the exposure. Note how buttons and labels keep its green background with 5.13 and are all yellow with 5.12.2. I played a bit and figured that this regression is introduced in 5.12.3
Rumen
-
@mrjj said in Stylesheet problem with Qt > 5.12.2:
it might not get much love as in many cases its an
application bug and not directly Qt issues.That's the reason why I want a small reproducer - to see if it's really a Qt bug or not.
-
@Christian-Ehrlicher I agree but if this worked before 5.12.3 and now it stopped... I would assume it is a regression :)
-
@Rumen-GB said in Stylesheet problem with Qt > 5.12.2:
I would assume it is a regression :)
No matter what you think - if we can not reproduce it with a simple testcase, noone will be able to fix it.
-
Now I can prove it :) I created a test program to illustrate it.
it is all here:
https://bugreports.qt.io/browse/QTBUG-79545 -
@Rumen-GB: thx, I cleaned it up a little bit and can reproduce it.
/edit: and found the solution - is already fixed in 5.12.6
-
@Rumen-GB said in Stylesheet problem with Qt > 5.12.2:
Hi, thanks can this be backported to 5.12.x?
Please read my last post.
-
@Christian-Ehrlicher thank you!