The Opacity SpinButton undoes value change if Esc is pressed
Steps to reproduce:
- open Inkscape
- create an object
- change opacity using opacity SpinButton next to Statusbar at bottom of interface
- press Esc to return focus to canvas
What happened?
Value change is undone and focus is returned to canvas.
What should have happened?
Value change should have been "committed" and focus returned to canvas.
Notes about this issue:
What's broken is visible by how things work on canvas. If you use the actual spinbutton +/- buttons or middle-click shortcut it shows a change on canvas, if you change the numeric value with number keys and hit Enter it shows the change on canvas, in these circumstances hitting Esc should not undo what was done. However, undoing the value change would be appropriate in one situation, that would be directly typing in a new value and not hitting Enter (as this is not reflected on canvas prior to hitting Enter).
Inkscape Version and Operating System:
This happens in all versions 1.2 and above, including master.