Details
-
Bug
-
Resolution: Fixed
-
P1: Critical
-
6.5.6, 6.6.3, 6.7.2, 6.8.0 Beta4
-
Ubuntu 22.04
-
-
5d397a262 (dev), 070d21aa2 (dev)
Description
When a widget in a sub-layout has focus, pressing Enter does not trigger the dialog's default button.
Steps to reproduce:
- Run the attached example project
- Set focus on LineEdit1 and press Enter
Observed behavior: The default button is not triggered and the dialog does not close - Set focus on LineEdit2 and press Enter
Observed behavior: The default button is triggered and the dialog closes
Furthermore, when the following environment variables are unset:
- GNOME_DESKTOP_SESSION_ID=this-is-deprecated
XDG_CURRENT_DESKTOP=GNOME-Flashback:GNOME
then behavior is as expected i.e. pressing Enter closes the dialog regardless of which LineEdit has focus.