You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Repaint region is wrong on Retina display with Qt5 #11709
With master, I am getting only the upper left-hand quadrant of a plot window painted. Bisecting points to
commit 252f4135799027f9ae887e8fd87e3af906187a22
Author: Antony Lee <anntzer.lee@gmail.com>
Date: Thu Jul 27 22:32:35 2017 -0700
Let QPaintEvent tell us what region to repaint.
It appears to be consistent breakage with any mpl pyqt plot window; e.g., plt.plot([3,2,1]). Somewhere, the pixel doubling is not being taken into account in this changeset, with my versions of pyqt and qt:
# packages in environment at /Users/efiring/miniconda3/envs/mpl2:
#
# Name Version Build Channel
pyqt 5.6.0 py36h8210e8a_6 conda-forge
qt 5.6.2 h9e3eb04_4 conda-forge
@jklymak, note also that although the PR and commit causing the problem are old, they were merged only today, so unless you updated master and tested during the last 6 hours from now, you would not have seen the problem.
Activity
jklymak commentedon Jul 20, 2018
I use Qt5 on a couple of macs, and don't have an issue; are you doing something in particular, or is all painting broken? Maybe a Qt5 version issue?
efiring commentedon Jul 20, 2018
It appears to be consistent breakage with any mpl pyqt plot window; e.g.,
plt.plot([3,2,1]). Somewhere, the pixel doubling is not being taken into account in this changeset, with my versions of pyqt and qt:efiring commentedon Jul 20, 2018
@jklymak, note also that although the PR and commit causing the problem are old, they were merged only today, so unless you updated master and tested during the last 6 hours from now, you would not have seen the problem.
jklymak commentedon Jul 20, 2018
Whoops, OK, confirmed....