Closed
Description
Godot version
v4.1.stable.official [9704596]
System information
Windows 10 4.1-stable Forward+
Issue description
After calling SpinBox.set_context_menu_enabled(false)
, any right click from unfocused state to this SpinBox
will reset its value to either min_value
or max_value
(what affects this choice is unclear to me).
This seems connected to #31069 and possibly #79507
Steps to reproduce
- Launch the scene
res://spinbox_input/spinbox_input.tscn
- Type a number (
1
-99998
) in leftmostSpinBox
- Select the
SpinBox
in the middle - Right click the leftmost
SpinBox
- Observe how it resets to either
0
or99999
(its min and max values) - You can try the same with the middle
SpinBox
(with enabled context menu) and rightmostLineEdit
(with disabled context menu); both will behave as expected