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

Broken focus when hiding a button of a QDialogButtonBox

XMLWordPrintable

    • 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)

      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)

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

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

              Created:
              Updated:
              Resolved: