MAC OSX redraw issues

Heads up! You've already completed this tutorial.

Steven_Hunt | 2020-11-04 11:52:47 UTC | #1

I'm VERY new to Python and coding but am working hard to get up to speed. I followed some PyQt5 tuts online and where text (labels, fields) and images (Pixmap within labels) need to update on events...they simply don't, unless I click back on my IDE (PyCharm) window OR my system terminal.

I’m testing files in two environments (system and virtualenv) with same results.

I even tried samples that came with Martin's book and I am getting the same redraw issues, at least thats what I think it is, as updated values do get passed on the event (monitored through print statements). Example: when clearing text in a field it half, clears, leaving fragments (pixel dots) until I click back on IDE or terminal window.

I'm running Python 3.9, PyQT5 on Mac Mojave 10.14.6


Over 10,000 developers have bought Create GUI Applications with Python & Qt!
Create GUI Applications with Python & Qt5
Take a look

Downloadable ebook (PDF, ePub) & Complete Source code

Also available from Leanpub and Amazon Paperback

[[ discount.discount_pc ]]% OFF for the next [[ discount.duration ]] [[discount.description ]] with the code [[ discount.coupon_code ]]

Purchasing Power Parity

Developers in [[ country ]] get [[ discount.discount_pc ]]% OFF on all books & courses with code [[ discount.coupon_code ]]
Well done, you've finished this tutorial! Mark As Complete
[[ user.completed.length ]] completed [[ user.streak+1 ]] day streak

MAC OSX redraw issues was written by Martin Fitzpatrick .

Martin Fitzpatrick has been developing Python/Qt apps for 8 years. Building desktop applications to make data-analysis tools more user-friendly, Python was the obvious choice. Starting with Tk, later moving to wxWidgets and finally adopting PyQt.