Details
-
Bug
-
Resolution: Fixed
-
P3: Somewhat important
-
5.15.2, 5.15.5, 6.2.0
-
-
582237a593421b3e98470a03f29459d02662e9ec (qt/qtbase/5.12) 1444763616 (qt/qtbase/6.4) 1444763616 (qt/tqtc-qtbase/6.4) aee64bbe13 (qt/tqtc-qtbase/dev)
Description
What is the benefit? Why is this valuable?
If you've a container that can be dragged with the mouse , a rubberband effect is visible, where the container contents snaps back when you release the mouse.
Problem: if you drag the mouse beyond the browser window borders and release the mouse button, the container freezes in the "rubberband mode".
Expected: if you release the mouse (wherever the pointer is at this time), the container must snap back to it's origin.
What are common use cases?
Using drag and drop in WebAssembly apps.
Technical information
Reproduce:
https://github.com/cajus/qt-wasm-bug-pointer
Compile, load it in the browser. Make sure that the browser window isn't too big, so that there's space below the browser window. Drag the list to make it "rubber band" and move the mouse pointer down, outside the window. Release the mouse button.