Unsolved QGraphicsScene drawn outside screen bounds
-
There is an issue with QGraphicsScene::drawForeground(QPainter * painter, const QRectF & rect) function. In some cases (another thread of the app is running which is not related to the scene) "rect" with incorrect coordinates is received and the scene gets outside of the screen bounds (is not visible).
What can be the cause of the issue and how it can be solved?
Thanks in advance. -
Hi,
What does that other thread do ?
-
Processes an image.
-
Does it interact with the GUI thread ?