https://bugs.kde.org/show_bug.cgi?id=501922
--- Comment #10 from [email protected] --- Ok I think I found the cause after a couple of hours of debugging. This piece of code: https://invent.kde.org/plasma/plasma-workspace/-/blob/v6.5.4/shell/panelview.cpp?ref_type=tags#L1246 should also run for QEvent::MouseButtonDblClick. The reason is that when it adjusts event position for MouseButtonPress, but not for follow-up MouseButtonDblClick, Qt sees the delta between two events and triggers drag. Specifically, it happens here: https://github.com/qt/qtdeclarative/blob/22fb5e739a2ea700448b22d34ade0d5c1927cb48/src/quick/handlers/qquickdraghandler.cpp#L243. On my system accumulatedDragDelta's y ends up being 12 (because m_topPadding in PanelView is 12), even though I didn't move the mouse. This is greater than the threshold which is 10. -- You are receiving this mail because: You are watching all bug changes.
