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

Workaround for QT cursor bug in dock areas #1559

Merged
merged 1 commit into from Dec 5, 2012

Conversation

ChrisBeaumont
Copy link
Contributor

Someone pointed out to me that the change in #1433 doesn't work when plots are embedded within QDockAreas (the cursor never changes). This is probably related to the Qt bug discussed here.

To reproduce the issue, under MPL 1.2.0: https://gist.github.com/4208745

This PR sets the cursor at a different level in the widget hierarchy, and seems to sidestep the problem.

Note that I haven't checked whether this change breaks the original problem addressed by #1404

@dmcdougall
Copy link
Member

Cheers @ChrisBeaumont. I can confirm this fixes the issue. Merging.

dmcdougall added a commit that referenced this pull request Dec 5, 2012
Workaround for QT cursor bug in dock areas
@dmcdougall dmcdougall merged commit 78cfcbe into matplotlib:master Dec 5, 2012
@dmcdougall
Copy link
Member

This is a pretty nice fix and it's a ridiculously tiny change. @mdboom Can I cherry-plonk this into v1.2.x?

@mdboom
Copy link
Member

mdboom commented Dec 5, 2012

Yes: I think this makes sense to put on 1.2.x.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants