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

[REG: 5.9.9->5.10.1] QSpinBox focused if focusPolicy = NoFocus and pressing "shift+tab"

    XMLWordPrintable

Details

    • Windows
    • 0dbd2dd86389c0705dbe9f518aed12f609ed09a1 (qt/qtbase/dev) f3319f8a1820710a60e0cfb6a1a4ac76f411c110 (qt/qtbase/5.15) d6bda220f799bd1a779c0e3d8b796b1fd23205c2 (qt/qtbase/5.12)

    Description

      Can be reproduced with a dialog having any spinbox widget where focusPolicy is set to NoFocus along with some other widget that accepts focus, then just pressing shift+tab to cycle backwards and it ends up focusing the spinbox.

      Also:
      https://stackoverflow.com/questions/56899495/why-qspinbox-get-focus-when-focuspolicy-nofocus

      Attachments

        Issue Links

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

          Activity

            People

              vhilshei Volker Hilsheimer
              fryn3 none none
              Votes:
              3 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes