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

Broken focus when hiding a button of a QDialogButtonBox

    XMLWordPrintable

Details

    • All
    • df735d794 (dev), 28ee92c65 (6.6), e70ef7cd5 (6.5), bbb71e7e8 (dev), 0b421fa58 (6.5), 63428b1f1 (6.6), edc984db3 (dev), bcdcceca6 (6.6), a746d3011 (6.5)

    Description

      Our application uses a QDialogButtonBox where one of the buttons is sometimes hidden. When this button is hidden, the tabbing is broken. A minimal example is provided in attachment. Simply commenting out the line having a comment behind it, allows you to tab between the buttons again.

      This used to work in Qt 5.12.6, but not in Qt 6.5.0

      (I'm not sure if this is only a problem on macOS, but it's definitely broken on macOS)

      Attachments

        1. Keyboard navigation.mov
          5.86 MB
          David Butijn
        2. QDialogButtonBox.zip
          1.0 kB
          David Butijn

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              axelspoerl Axel Spoerl
              dbutijn David Butijn
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: