[patch] Fix TFloatSpinEdit behaviour (Gtk2)
Original Reporter info from Mantis: accorp @accorp
-
Reporter name:
Original Reporter info from Mantis: accorp @accorp
- Reporter name:
Description:
* Suppress OnChange event on Readonly property change. (issue #31618 (closed))
* Suppress extra OnChange event on value change by user input or by code. (issues #32368, #31618 (closed))
* Remove restriction on user input, min/max validation is moved to GetValue(). (issues #28123, #23266)
* Remove workaround code for issues about incorrect carret pos (is redundant after r56287, see #32630 (closed)).
Steps to reproduce:
To run autotests:
Install libxtst development package (required by MouseAndKeyInput)
Download, compile and run attached program. Select control (TFloatSpinEdit, TEdit), press Test button.
Additional information:
Tested on:
Windows 7 x86 gtk2-runtime-2.22.0, gtk2-runtime-2.24.10
Xubuntu 16.04 i686 gtk 2.24.30
Ubuntu 12.04 x86_64 gtk 2.24.10
Fedora 26 x86_64 gtk 2.24.31