Selected style changed when returning from sleep
I recently migrated my Qt app from Qt 4.8.4 to Qt 5.5, and I have some resiliant bug I need to fix.
If i run the app, put the computer to sleep and then get back to the app, I may have some issue with the style :
- most of the widgets are ok
- some widgets are display with the default style.
- every newly opened widgets are opened with the default style
- selecting another style is correctly applied to the whole application.
I do not get this behaviour every time, it's more like 1 on 5 try.
I'm exclusively running my app on Windows 7, 64bits.
I'm also a bit new to Qt so I'm totally lost. I don't know what to try, what to search, and what informations may be needed here to get some help.
Thanks for any tips or hints !
Hi and welcome to devnet,
To be sure I understand you correctly: these bugs are only there since you moved your application to Qt 5 ?
@SGaist Hi, thanks !
Yes no one ever experienced this problem before the Qt 5 migration.
What does your application do ? Anything OpenGL related ?
Can you create a small sample application that shows that behavior ?