Replying to my own question (actually, not sure my first message made it to the 
list), a helpful colleague found the following:

https://forum.qt.io/topic/98059/push-button-label-settext-not-refreshing-under-macos

which leads to https://bugreports.qt.io/browse/QTBUG-68740 and 
https://bugreports.qt.io/browse/QTBUG-68521. I have a small test project that 
shows that those bugs are back with Qt 5.15.2 and 5.13.

Should I reopen the bug(s), start a new bug? I figure there is no hope of 
getting them fixed with the current emphasis on Qt 6 but at least if someone 
else experiences this issue then it might be nice to have the issue documented. 

I was able to reproduce the issue on macOS 10.14 and 10.15 but not macOS 11 
(Big Sur) and Windows 10. All were running the same conda virtual environment. 
Same in the sense that the same commands were use to generate each environment 
on each respective system.

--
Mike Jackson

On 6/28/21, 8:46 AM, "Michael Jackson" <mike.jack...@bluequartz.net> wrote:

    We have developed a small GUI app using Qt 5.15, PySide2, and Widgets. 
There are a few instances when running the application that QLineEdits or 
QListViews are not updating after we update the underlying model or even just 
do a “setText()” (in the case of QLineEdit). If we resize the app window then 
we see the new values. I’ve not seen this behavior before with our C++ Qt apps 
so I’m wondering if we just missed something that needs to be done for PySide2 
apps? Here is our setup.

    MacOS 10.15 and MacOS 11.4
    Anaconda virtual environment running Python 3.8. Here are the setup 
commands to build the environment.

      conda create -n easybake python=3.8 tqdm requests
      pip install pyside2
      pip install dataclasses-json

    The project is located at 
https://www.github.com/bluequartzsoftware/MetaForge

    We have resorted to a few "workarounds" such as setting the widget 
visible(fasle), visible(true) after we do the "setText()". Clearly we are just 
missing something simple. I hope.

    Thanks for any help/pointers.
    --
    Michael Jackson



_______________________________________________
Interest mailing list
Interest@qt-project.org
https://lists.qt-project.org/listinfo/interest

Reply via email to