Qt,Qt5,Qt6: TSpinEdit,TFloatSpinEdit with csCaptureMouse infinitelly changes value of spinEdit whem clicked updown button
- Lazarus/FPC Version: Lazarus 3.99 (rev main_3_99-1273-g7b1e04c5) FPC 3.2.2 x86_64-darwin-qt6
- Operating System: MacOs Ventura 13.6.3
- CPU / Bitness: 64
What happens
Clicking on UpDown button of TSpinEdit TFloatSpinEdit starts to change value and cannot stop it if csCaptureMouse is in ControlStyle.
What did you expect
One click should change value by spinEdit step property. Reproduced under mac and linux, maybe not reproducable under windows since it uses different mouse grabbing.
Steps to reproduce
Any spinEdit inside lazarus (eg IDE options) click updown button.
Related to commits for issue #40379 (closed)