Bug 475260 - Scrollbar in sidebar causes window to be dragged on click-and-hold
Summary: Scrollbar in sidebar causes window to be dragged on click-and-hold
Status: RESOLVED FIXED
Alias: None
Product: systemsettings
Classification: Applications
Component: sidebarview (show other bugs)
Version: master
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords: qt6
: 475359 (view as bug list)
Depends on:
Blocks:
 
Reported: 2023-10-06 03:10 UTC by amy
Modified: 2023-10-27 11:41 UTC (History)
4 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 amy 2023-10-06 03:10:45 UTC
SUMMARY
In the sidebar, when trying to click-and-hold the scrollbar in order to scroll, the cursor changes into a moving indicator after about half of a second, at which point the window will be dragged instead of the scrollbar until the click is released.


STEPS TO REPRODUCE
1. Open System Settings
2. Click-and-hold on the scrollbar in the sidebar
3. Hold for about half of a second and observe the window being dragged

OBSERVED RESULT
Window gets dragged instead of scrollbar

EXPECTED RESULT
Scrollbar is dragged until click is released

SOFTWARE/OS VERSIONS
Linux: 6.5.5
KDE Plasma Version: 5.27.80 (built from kf6-qt6 master branch)
KDE Frameworks Version: 5.240.0 (built from kf6-qt6 master branch)
Qt Version: 6.5.3

ADDITIONAL INFORMATION
X11
Comment 1 Nate Graham 2023-10-07 02:28:05 UTC
Can confirm on Wayland too. Cannot reproduce in other Kirigami-based apps; only the scrollbar in System Settings' sidebar.
Comment 2 ratijas 2023-10-07 12:30:38 UTC
Not a scroll bar specifically.  There's something fundamentally regressed about event handling in QQuickWidget in Qt 6. At least on X11 system settings's sidebar is draggable from any point if you hold it for a bit.

It's either an upstream bug, or KCMUtils is cooking it wrong.
Comment 3 Patrick Silva 2023-10-08 12:36:23 UTC
*** Bug 475359 has been marked as a duplicate of this bug. ***
Comment 4 Nate Graham 2023-10-24 21:10:24 UTC
Cannot reproduce anymore with today's git master. Must have been fixed by recent System Settings sidebar code changes.
Comment 5 ratijas 2023-10-27 11:41:58 UTC
Can not reproduce in kcmshell either (anymore).