https://bugs.kde.org/show_bug.cgi?id=484981

            Bug ID: 484981
           Summary: Scrolling on Combox to change selected option should
                    be disabled for better usability
    Classification: Plasma
           Product: plasmashell
           Version: master
          Platform: Fedora RPMs
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: System Tray
          Assignee: plasma-b...@kde.org
          Reporter: iamsa...@protonmail.com
                CC: mate...@gmail.com
  Target Milestone: 1.0

SUMMARY
Scrolling on Combox to change selected option should be disabled for better
usability.
If we use a scroll event on a combobox it causes the selected option to change.
This is usually not much of an issue as the UI doesn't have that many
comboboxes but pages such "System Tray Settings" > "Entries" has multiple
comboboxes in column, which inadvertently triggers this combobox selection
event.  

STEPS TO REPRODUCE
1. Open  "System Tray Settings" > "Entries" 
2. Scroll over a combobox


OBSERVED RESULT
Selected item will change

EXPECTED RESULT
Selected item shouldn't change

SOFTWARE/OS VERSIONS
Operating System: Fedora Linux 40
KDE Plasma Version: 6.0.2
KDE Frameworks Version: 6.0.0
Qt Version: 6.6.2
Kernel Version: 6.8.2-300.fc40.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 16 × AMD Ryzen 7 4800H with Radeon Graphics
Memory: 15.0 GiB of RAM
Graphics Processor: AMD Radeon Graphics
Manufacturer: ASUSTeK COMPUTER INC.
Product Name: ASUS TUF Gaming A15 FA506IV
System Version: 1.0

ADDITIONAL INFORMATION
Did see a bug related to this open in qt backlogs
https://bugreports.qt.io/browse/QTBUG-48620?jql=text%20~%20%22combobox%20scroll%22%20AND%20status%20%3D%20Open%20

Adding this to the combobox would fix this issue.
But I beleive this should be fixed upstream in qt to add a new property to
ignore mouse scroll events on the combobox. Further I couldn't find this
behavior documented in any qt docs. Further as no type of combobox (web /
microsoft etc) doesn't support such a scroll event on combobox for better ux
this scroll event should be disabled by default
   ``` MouseArea {
        anchors.fill: parent
        onWheel: {
            // do nothing
        }
        onPressed: {
            // propogate to ComboBox
            mouse.accepted = false;
        }
        onReleased: {
            // propogate to ComboBox
            mouse.accepted = false;
        }
    } ```

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to