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

Can't give focus to many widgets using keypad

    XMLWordPrintable

Details

    Description

      Found on qtopia/main change 213500, qt/4.4 change 291536.

      Sometimes, when a widget is stored in a QFormLayout, it's impossible to give keyboard focus to the widget.

      Reproduce 1:
      1. Build and install tests/selftests/testapp2
      2. Run Qtopia in qvfb using Greenphone skin.
      3. Launch testapp2.
      4. On the first tab, attempt to give focus to the group box labelled "Checkable" by repeatedly pressing the "Down" key. Note that focus skips over the group box. Pressing the "Up" key doesn't work in this case.

      Reproduce 2:
      1. Build and install tests/selftests/testapp2
      2. Run Qtopia in qvfb using Greenphone skin.
      3. Launch testapp2.
      4. Navigate to "Tab Free" and attempt to give focus to the "Time" field by pressing the "Down" key. Note that focus skips over the field. Oddly, pressing the "Up" key successfully gives it focus.

      Reproduce 3:
      1. Build and install tests/selftests/testapp1
      2. Run Qtopia in qvfb using Greenphone skin.
      3. Launch testapp1.
      4. On the first tab, attempt to give focus to the second line edit by pressing the "Down" key. Note that focus skips over the field. Pressing the "Up" key doesn't work in this case.

      All of these examples take place in a fairly simple QFormLayout. It's merely a guess that the bug has to do with QFormLayout.

      Attachments

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

        Activity

          People

            goffart Olivier Goffart (closed Nokia identity) (Inactive)
            rmcgover Rohan McGovern (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes