Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-129095

[REG Qt 6.3.2 -> 6.4.0] Default button is not triggered when widget in a sub-layout has focus

    XMLWordPrintable

Details

    • Linux/X11
    • 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:

      1. Run the attached example project
      2. Set focus on LineEdit1 and press Enter
        Observed behavior: The default button is not triggered and the dialog does not close
      3. 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.

      Attachments

        For Gerrit Dashboard: QTBUG-129095
        # Subject Branch Project Status CR V

        Activity

          People

            chrisrl Chris Lerner (Inactive)
            lysandra.sola Lysandra Sola
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes