Values inserted in the text input field of the GtkSpinButton are not applied
GtkSpinButton
widget is not applying the value if it's written in the text input field.
I discovered this behavior in SpinButtons used inside Easy Effects (which are plain GtkSpinButton, not AdwSpinRow):
If I click on the -/+ buttons, the value is updated. But if I write, in example, 1000
in the text input field, that value is not applied. Easy Effects developer confirmed it's not an issue of the application itself.
Steps to reproduce
- The initial value of the SpinButton is
2.000,00 ms
. - Focus the text input field of the SpinButton and write
1000
. - Press Enter. The value should be formatted to
1.000,00 ms
, but nothing happens. - Press the
-
button and the value is updated to1.999,99 ms
.
Current behavior
Considered the previous steps, the value 1000
inserted in the text input field was not applied.
Expected outcome
Value 1000
applied to the SpinButton and 1.000,00 ms
formatted in the text input field.
Version information
Arch Linux, gtk4 package, version 4.14.1
.
Additional information
No warnings on the command line.