Details
-
Bug
-
Resolution: Out of scope
-
Not Evaluated
-
None
-
5.13.0, 5.13.1, 5.14.0, 5.13.2
-
None
Description
Error
2020-01-09 16:24:17.153 Python[46224:1790364] It does not make sense to draw an image when [NSGraphicsContext currentContext] is nil. This is a programming error. Break on void _NSWarnForDrawingImageWithNoCurrentContext(void) to debug. This will be logged only once. This may break in the future.
Versions
I have checked a lot of versions of PySide2 and the issues comes up in and after 5.12.6. (5.12.5 is fine). It also shows up in PyQt5 5.13.2 (5.13.1 is fine) and after. This makes me believe it is "bigger" than PySide2, but frankly my knowledge of this stuff is no further than "can use it".
(Can't find 5.12.6 in the version list)
Requirements
macOS
pip install pyobjc PyCocoa
Test Case
If you run the script supplied this will happen.
on 5.12.5
pip install PySide2==5.12.5
No error is shown and the window is dark, the style was applied (Working.png).
on +5.12.6
pip install PySide2==5.12.6
An error is shown and the window is white, the style was not applied (Bug.png).
The qtmodern_working.png and qtmodern_bug.png are from this repository and branch
sha1=94d9a641f61bf7059aae14801521356fd1422b72
https://github.com/Jerakin/qtmodern/tree/borderless/qtmodern