-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Replace cell widgets by pixmaps while dragging on overlays #18
base: master
Are you sure you want to change the base?
Conversation
Crashes on Windows when VTK is involved 😢 (version: 5.10.0) |
This is what I mean by "flicker": https://googledrive.com/host/0B3ucPz7GSthBTE81eUo3eGhlWk0 |
that's a very strange behavior. On Tue, Jun 9, 2015 at 4:46 PM, Remi Rampin [email protected]
|
9d1f3dd
to
d881733
Compare
Somehow, this doesn't fix the issue.
VTK will fail to render with "invalid drawable" if its widget is unparented first.
Also contains fix for "invalid drawable"
If the plot gets the drag focus first it creates a focus change between the plot and the cell container. This caused a dragExit event each time the mouse was moved. Setting transparentForMouseEvents on currentWidget when creating fake widget seems to fix this.
Fixes #13
Please check everywhere. Also the code doesn't look great, might warrant some cleaning/factoring.