I have encountered this problem after switching my project to QT5.
If I set a break-point in a mouse down procedure, the mouse click stops working when the program pauses at the break-point. If I stop the debug state, using keyboard shortcuts, everything returns to normal.
Interesting thing is, this behavior is not consistent across all components. For example break-point in MouseDown procedure of a TreeView works flawlessly, while similar break-point in Panel or TCustomControl breaks the mouse.
I have made a little project demonstrating this behavior.
I Use Almalinux 9, with KDE desktop.
I am curious why this happens and what can possibly be done to fix this behavior, other than switching the project to GTK2. This makes debugging work as expected, but switching every time my mouse hangs can be quite irritating.
Many thanks for any possible help.