It looks like you're new here. If you want to get involved, click one of these buttons!
Reporting an issue seen on all my company's PCs with windows.
Legacy scripts that use Qt to generate dialog are seeing weird issue when ran on v0.28.x (v0.27 and below is OK).
The Qt dialog will start, but when you hover with your mouse on it, it's components will disappear. Next time you start the dialog none of the components will show, just the dialog frame.
If the last line below is changed from dialog.show() to dialog.exec_() then everything is fine.
I will try the same code at home to see if this a windows environment issue specific to my company.
Here is a short code that shows it:
dialog = pya.QDialog.new()
layout = pya.QHBoxLayout(dialog)
textBox = pya.QPlainTextEdit("test", dialog)
This issue also happening on my home PC, so not just in my company.
My home PC windows version:
Edition Windows 10 Home
Installed on 2/5/2021
OS build 19044.2728
Experience Windows Feature Experience Pack 120.2212.4190.0
I see such an issue, but only when running scripts from the IDE and with the debugger on. I also do not see the effect when I open the dialog in modal mode (using
exec_). Also in my case, when I close the IDE, the dialog starts behaving normal.
Thing is, the debugger will interfere with events generate by Qt and routed via the abstract method stubs that are present in the Qt classes. Some events are disabled (specifically the paint events) in order to prevent nasty situations such as the debugger being caught in it's own paint events.
In a production scenario the debugger should not be active, so I think that behavior is acceptable.
Are these observations matching with yours?