-
Notifications
You must be signed in to change notification settings - Fork 49
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sliders in FlowRendere broken #2941
Comments
@shaomeng - To download pre built Qt binaries, download this online installer. You will need to register an account with Qt, which you can do through the installer. It will walk let you select versions of Qt to install. I would un-check all extra tools like Qt Creator since we are just testing the libraries. After that, you can point to the new libraries by changing QTDIR in site_files/site.local. It's on line 3 for OSX.
Let me know if you hit any snags. |
Hi @sgpearse , I tried the latest QT (6.2.2) but it won't pass the CMake configuration step, see attached screenshot. I tried the last QT5 (5.15.2) and it exhibits the same bug. Please advise! |
@shaomeng - It looks like a 5 vs 6 naming issue. I'll take a look. Bummer that 5.15.2 didn't work :\ |
@sgpearse A quick update: I replaced all occurrences of |
@sgpearse will troubleshoot and try to further identify precisely in which cases this problem occurs (e.g. native widgets vs pwidgets). |
Update: This is a Qt bug, reported here. There is a workaround that fixes all of our sliders except for our range selectors, specifically the QRangeSlider. The workaround is to simply apply a stylesheet to a QSlider. However the QRangerSlider is doing other operations on the widget's styleSheet, which seem to be preventing the fix. The below screenshot shows the working sliders alongside the range-sliders which are still dysfunctional. Notice the different look on the working "XYZ axis seeds" sliders. We are currently running Qt 5.13.2. The bug report that this issue is reported as affecting Qt 5.15.8, which is a commercially licensed version that we don't have access to. Additionally, this bug is reported as fixed on Qt 6.2.3+, but not on any Qt version 5 distribution. This leads to the following questions:
Right now I believe there are two paths forward:
I'm going to keep trying to fix the styleSheet (path 1) before attempting to upgrade to version 6. |
@clyne That's correct - please reassign. |
Describe the bug
Sliders in FlowRenderer seem broken, as the screen recording shows.
Broken way 1: adjusting one slider will cause all 3 sliders to adjust too.
Broken way 2: a "range slider" as shown in rake region panel no longer shows a range.
Note 1. Sliders in other renderers might be broken too.
Note 2. The same behavior is observed from both installer and source build.
Note 3. The test system is macOS Monterey, so it might be the new OS that's causing trouble.
How to Reproduce
/glade/p/cisl/vast/vapor/Bugs/2936/mydata.vdc
Seedings
tab and try to adjust values represented by sliders. The broken behavior is recorded below.Screen.Recording.2021-12-21.at.1.12.21.PM.mov
The text was updated successfully, but these errors were encountered: