gpilab / framework

The GPI framework provides the canvas for graphically assembling algorithms.
Other
20 stars 7 forks source link

Unwanted/permanent selection boxes after accessing node menu #25

Open borupdaniel opened 5 years ago

borupdaniel commented 5 years ago

I often have a selection box appear when accessing the node menu. The box behaves as if I'm clicking and holding, rather than selecting a node. Once I click to select the node, the box becomes permanent until I close the canvas.

image

aganders3 commented 5 years ago

I've seen this but have no idea how to fix it. It feels like a Qt bug where it doesn't realize it needs to redraw that portion, but then even moving a node over it sometimes doesn't fix it.

borupdaniel commented 5 years ago

I'm able to reproduce the behavior with the following steps:

1) Left-click and hold to start a selection box 2) While holding, right click to open the selection menu 3) After doing this, the selection box continues to follow the cursor around even when the left button is released. 4) On the next left click, the box becomes permanent at the location of the click.

borupdaniel commented 5 years ago

Moving nodes over these doesn't seem to have any effect for me. At any rate, it's not a major problem but wanted to add an issue for it.