Skip to content
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

Open
wants to merge 12 commits into
base: master
Choose a base branch
from

Conversation

remram44
Copy link
Member

@remram44 remram44 commented Jun 9, 2015

Fixes #13

Please check everywhere. Also the code doesn't look great, might warrant some cleaning/factoring.

@remram44
Copy link
Member Author

remram44 commented Jun 9, 2015

Crashes on Windows when VTK is involved 😢 (version: 5.10.0)

@remram44
Copy link
Member Author

remram44 commented Jun 9, 2015

@ctsilva
Copy link

ctsilva commented Jun 10, 2015

that's a very strange behavior.

On Tue, Jun 9, 2015 at 4:46 PM, Remi Rampin notifications@github.com
wrote:

This is what I mean by "flicker":
https://googledrive.com/host/0B3ucPz7GSthBTE81eUo3eGhlWk0
Crash: https://googledrive.com/host/0B3ucPz7GSthBZVhWUVlQUTFOYzg


Reply to this email directly or view it on GitHub
#18 (comment).

@remram44 remram44 force-pushed the use-pixmaps-when-dragging-rbs branch 2 times, most recently from 9d1f3dd to d881733 Compare June 16, 2015 15:40
remram44 and others added 12 commits June 16, 2015 11:40
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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants