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

[regression] Mac tab key "Text boxes and lists only" vs "All controls" setting is not respected in Qt5

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • None
    • 5.0.0
    • None
    • OSX 10.7
      qtbase 02140e973b86d1fbb25ec695daa59e6ff97138c5
    • macOS

    Description

      In OSX, there is a setting at System Preferences -> Keyboard -> Keyboard Shortcuts where the Tab key can be configured either to tab between "All controls" or between "Text boxes and lists only". This is stored as the AppleKeyboardUIMode setting. The default value (on OSX 10.7 at least) is "Test boxes and lists only".

      In Qt 4.8, Qt would read this setting and obey the behavior, so Qt apps would behave the same as native Mac apps.

      In Qt 5, the code for doing this seems to have been removed, meaning that Qt always behaves as if "All controls" is set. Compare initialization of qt_tab_all_widgets variable between Qt 4 and Qt 5.

      The tst_QApplication::focusChanged autotest attempts to test this behavior, so it is currently failing on mac (unless the user has set "All controls").

      Attachments

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

        Activity

          People

            dedietri Gabriel de Dietrich (drgvond)
            rmcgover Rohan McGovern (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes