Recent

Author Topic: [Solved] Qt5 SpinEdit carries on spinning  (Read 1583 times)

PeterBB

  • New Member
  • *
  • Posts: 42
[Solved] Qt5 SpinEdit carries on spinning
« on: February 28, 2024, 03:41:45 pm »
Since Lazarus 3.0 I've noticed that with Qt5, SpinEdits keep on spinning when the mouse is released.
They used to stop, and GTK2 seems fine.

Has anyone else noticed this, or has a workaround?

« Last Edit: February 29, 2024, 01:04:44 pm by PeterBB »

Alexx2000

  • Newbie
  • Posts: 6
Re: Qt5 SpinEdit carries on spinning
« Reply #1 on: February 28, 2024, 03:52:40 pm »
I can confirm this issue.

PeterBB

  • New Member
  • *
  • Posts: 42
Re: Qt5 SpinEdit carries on spinning
« Reply #2 on: February 28, 2024, 04:11:58 pm »
Looks like this problem
https://gitlab.com/freepascal.org/lazarus/lazarus/-/issues/40725

"TFloatSpinEdit starts to change value and cannot stop it if
csCaptureMouse is in ControlStyle"

Is it likely this could be fixed (without breaking anything else) by just removing csCaptureMouse from the controls?

zeljko

  • Hero Member
  • *****
  • Posts: 1668
    • http://wiki.lazarus.freepascal.org/User:Zeljan
Re: Qt5 SpinEdit carries on spinning
« Reply #3 on: February 28, 2024, 06:11:33 pm »
I've fixed that some time ago in trunk.

PeterBB

  • New Member
  • *
  • Posts: 42
Re: Qt5 SpinEdit carries on spinning
« Reply #4 on: February 29, 2024, 01:04:09 pm »
I've fixed that some time ago in trunk.

Noted, thanks.
And it made the new release 3.2


 

TinyPortal © 2005-2018