FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Fix drawing on qt+retina. by anntzer · Pull Request #11712 · matplotlib/matplotlib · GitHub

Repository navigation

Fix drawing on qt+retina. - #11712

Merged
efiring merged 1 commit into
matplotlib:masterfrom
anntzer:retinaqt
Jul 20, 2018
Merged

efiring merged 1 commit into
matplotlib:masterfrom
anntzer:retinaqt

Conversation

anntzer commented Jul 20, 2018

Copy link
Copy Markdown
Contributor

PR Summary

@efiring Can you check whether this fixes #11709?

PR Checklist

  • Has Pytest style unit tests
  • Code is PEP 8 compliant
  • New features are documented, with examples if plot related
  • Documentation is sphinx and numpydoc compliant
  • Added an entry to doc/users/next_whats_new/ if major new feature (follow instructions in README.rst there)
  • Documented in doc/api/api_changes.rst if API changed in a backward-incompatible way

anntzer added Release critical For bugs that make the library unusable (segfaults, incorrect plots, etc) and major regressions. GUI: Qt labels Jul 20, 2018
anntzer added this to the v3.0 milestone Jul 20, 2018

jklymak left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Fixes the issue on my retina screen...

efiring left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Now it works on my system.

efiring merged commit d23ebc9 into matplotlib:master Jul 20, 2018
anntzer deleted the retinaqt branch July 20, 2018 16:26

jklymak commented Jul 21, 2018

Copy link
Copy Markdown
Member

OK, I still have issues. If I create a window and resize it a bunch of times, I can eventually get a segmentation fault using QT5Agg.

I'm going to guess that is due to this and the previous Qt repaint PR.

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   libsystem_platform.dylib            0x00007fff510d7f49 _platform_memmove$VARIANT$Haswell + 41
1   libQt5Gui.5.dylib                   0x000000010f6ddbcd QImage::copy(QRect const&) const + 1629
2   libQt5Gui.5.dylib                   0x000000010f6ddec7 QImage::detach() + 103
3   libQt5Gui.5.dylib                   0x000000010f6def6c QImage::setDevicePixelRatio(double) + 44
4   QtGui.so                            0x000000010f3c4ec8 meth_QImage_setDevicePixelRatio(_object*, _object*) + 104
5   python                              0x000000010a05fc68 _PyCFunction_FastCallDict + 200

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

GUI: Qt Release critical For bugs that make the library unusable (segfaults, incorrect plots, etc) and major regressions.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Repaint region is wrong on Retina display with Qt5

3 participants


Back | FazBrowse Home | New Git URL