Readonly Textinput beeps on focus loss with keyboard on GTK #2554
Labels
bug
A crash or error in behavior.
good first issue
Is this your first time contributing? This could be a good place to start!
linux
The issue relates Linux support.
Describe the bug
Under GTK, If a readonly text input loses focus as a result of keyboard input (i.e., pressing tab), a beep is emitted.
Steps to reproduce
A beep will be emitted when the Celsius field loses focus.
Expected behavior
No beep should be emitted.
Screenshots
No response
Environment
Logs
Additional context
No beep is emitted on loss of focus.
It's arguable whether the readonly widget should be able to accept focus at all - that's the behavior on macOS. If this is acceptable, calling
native.set_can_focus()
as part ofset_readonly()
might be a fix for this.There is likely similar issues on any other widget with a clear input focus and a readonly option.
The text was updated successfully, but these errors were encountered: