Daguerreo / NodeEditor

Qt Node Editor. Dataflow programming framework
BSD 3-Clause "New" or "Revised" License
18 stars 5 forks source link

White Lines #19

Open tay10r opened 2 years ago

tay10r commented 2 years ago

When dragging nodes around, white lines appear around their original locations.

Tested using Qt 6 (don't have the minor, patch version at the moment.)

Original issue here: https://github.com/paceholder/nodeeditor/issues/294

Daguerreo commented 2 years ago

Have you using Windows? Because I never seen that on Linux, but I think it could be happened to me too in Win once.

Just out of curiosity, try in the constrctor of FlowView, line 40

after setBackgroundBrush(flowViewStyle.BackgroundColor);

try to add setViewportUpdateMode(QGraphicsView::FullViewportUpdate);

and check if change something. It should prevent the glitch when embedded widget is resized

tay10r commented 2 years ago

@Daguerreo can confirm that it doesn't happen on Linux (Ubuntu). Will update when I find out if the call to setViewportUpdateMode fixes the problem.