pyside6_qtads
pyside6_qtads copied to clipboard
Workaround for QTBUG-125149: Misplaced popup menu for reparented combo box
Have you noticed that the dropbox for QComboBox has not been working correctly in your applications recently? Well, see QTBUG-125149. As indicated in the comments, QTBUG-122747 introduced this behavior in 6.7.0. Here is our equivalent issue #280 for the Joulescope UI.
I am working to help identify the problem and get a fix upstreamed in Qt, but this will take some time.
In the meantime, I need to release a "patched" version of the Joulescope UI. I would rather not revert all the way back to Qt ADS 4.2.1 to get PySide6 6.6.2 support. ADS 4.3.0 looks to have some good fixes (QT ADS releases).
To create a "patched" pyside6_qtads, I forked pyside6_qtads, and then modified line 15 of .github/workflows/main.yml
to be:
run: echo "rel0=6.6.3.1" >> $GITHUB_OUTPUT # Force PySide6 version
Instead of running ./scripts/get-recent-releases.py
to get the most recent PySide6 release, this pins it to 6.6.3.1 from Apr 2, 2024. The Joulescope UI seems to work well so far with this build and PySide6 6.6.3.1.
Questions:
- Is this the best way to pin a PySide6 dependency in a fork?
- Anything obvious that I am missing that should not work with this approach?