Unsolved Artifacts after moving QGraphicsItem over QWidget
-
When I move QGraphicsItem near or over QWidgets, there are a "tracks" after moving. If minimize / maximize application - artifacts go out.
On scene - there are no such artifacts
Please help me how I can fix it.
-
Hi,
What version of Qt are you using ?
On what version of Windows ?
Can you reproduce that with a small version of your UI ? -
@SGaist
Hi, hehe, in minimal example, I can not reproduce the problem.
Have you any idea what the reason and how to fix it?I am using Qt 5.8.0. and Windows 10
-
Could be custom painting. What does theses widgets do ?
-
@SGaist the item that I move over the scene is a inherited from QGraphicsObject (of course it has a custom paint) and it leaves the trails on QTreeView that embeded into QDockWidget.
-
How did you implement that item ? It seem surprising that you can move it outside of the QGraphicsView.
-
@SGaist I not move it outside of QGraphicsView. I press at the center of custom QGraphicsObject and move it over the scene, but near the edge of QGraphicsView. The sample version of my files in the attached zip. But in sample I can not replicate the problem.
Is it possible that something else affect on it? I use in the application several hearbeats timers with 1s interval and several qthreads….[0_1541531979038_untitled4.zip](Uploading 100%)
-
This post is deleted!