| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
…mboBox The closed-state WheelHandler was using event.inverted directly to detect natural scrolling, but Qt doesn't reliably report the scroll direction on Windows. The popup WheelHandler already used PlatformHelper.isScrollInverted() which reads the actual OS setting (Windows registry). This inconsistency caused inverted scroll direction for ComboBox dropdowns on Windows. Align both handlers to use PlatformHelper.isScrollInverted() so the scroll direction is correct on all platforms. Closes raspberrypi#1532
| Back | FazBrowse Home | New Git URL |
Root Cause
ImComboBox.qml has two WheelHandler blocks:
On Windows, Qt's event.inverted flag doesn't reliably reflect the OS scroll direction setting. PlatformHelper.isScrollInverted() works around this by reading the actual value from the Windows registry (PrecisionTouchPad\ScrollDirection). On macOS/Linux, it passes through event.inverted unchanged — so this fix has no behavioral change on those platforms.
Closes #1532