Bug 482932 - Combo-box does not correctly handle high-resolution scroll wheel, treating fractional step as discrete
Summary: Combo-box does not correctly handle high-resolution scroll wheel, treating fr...
Status: REPORTED
Alias: None
Product: frameworks-qqc2-desktop-style
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: 6.0.0
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: kdelibs bugs
URL:
Keywords: qt6
Depends on:
Blocks:
 
Reported: 2024-03-08 23:45 UTC by zvova7890
Modified: 2024-09-08 20:52 UTC (History)
5 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description zvova7890 2024-03-08 23:45:24 UTC
SUMMARY
When you scroll over the combo-box, it jumps not to the next item, but to the item equal to the count of fractional steps instead of discrete steps. For example, in ksystemsettings -> display -> Refresh rate combo.

STEPS TO REPRODUCE
1. Open ksystemsettings -> display
2. Scroll over Refresh rate combo box

OBSERVED RESULT
Jumps to the item equal to the count of fractional steps.

EXPECTED RESULT
Jump to the item equal to the count of discrete steps.

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 6.0.1
KDE Frameworks Version: 6.0.0
Qt Version: 6.6.2
Kernel Version: 6.7.8-zen1-1-zen (64-bit)
Graphics Platform: Wayland
Processors: 16 × AMD Ryzen 9 7940HS w/ Radeon 780M Graphics
Memory: 28,2 GiB of RAM
Graphics Processor: AMD Radeon Graphics
Manufacturer: Micro Computer (HK) Tech Limited
Product Name: Venus series
Comment 1 zvova7890 2024-03-09 21:47:25 UTC
Looks like it is a Qt6 bug. The widget's combo box is also flying around using fractional steps...
Comment 2 zvova7890 2024-03-11 20:59:05 UTC
Nope, Qt6 quick controls handle this differently, more accurately. But still not perfect: https://bugreports.qt.io/browse/QTBUG-123179

So this report is actual for kirigami framework.