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

tab orders are not expected

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • P3: Somewhat important
    • None
    • 5.9.2, 5.10.0 Beta 1
    • None
    • macOS 10.12 with "All controls" option in Shortcuts tab in Keyboard in System Preference, and Ubuntu 16.04 64bit.

    Description

      In Qt Creator, New File or Project, choose "Qt Widgets Application", select "QWidget" in Base class in Class Information step. Then edit widget.ui, drag and drop one Radio Button, then 3 Check Boxes, then another Radio Button, they are in some kind of QVBoxLayout, but not add any real layout.

      1. Run it, you can find the focus order: radioButton -> checkBox -> checkBox_2 -> checkBox_3 -> radioButton, radioButton_2 can't get focus.
      2. If you select all 3 check boxes, right click mouse, "Assign to button group"->"New button group", run it again, the focus only goes between radioButton and checkBox, others can't get focus.

      Tried to apply https://codereview.qt-project.org/#/c/205362/ , but it doesn't help.

      Attachments

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

        Activity

          People

            richard Richard Moe Gustavsen
            liaqi Liang Qi
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes