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

Unclear focus behaviour on Nokia

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • P2: Important
    • Some future release
    • 4.5.3
    • None
    • None

    Description

      Report from mail-list:
      =========================

      I have a dialog which contains a QListWidget, a progress bar, softkeys (Select/Cancel) and some hidden buttons (Select/Cancel) which would be used on a desktop instead of the softkeys.

      2. Focus gain/loss (On 5800XM)
      The softkeys appear with the dialog and all appears good. However if I press select or cancel on the softkeys the listwidget disappears but the keys and background dialog appear still to exist. I have to press select twice or cancel twice to get them to both go.
      The dialog is constructed using the Qt designer (in carbide) with the softkeys added in the dialog constructor. The dialog is launched using a static constructor:
      QBluetoothAddress QBluetoothRemoteDeviceDialog::getRemoteDevice ( QWidget * parent)
      {
      QBluetoothRemoteDeviceDialog w(parent); //object deleted when this goes out of scope.
      w.discoverBt->startSearch();

      if (w.exec() == QDialog::Accepted)

      { return w.selectedDevice(); }

      else

      { return QBluetoothAddress::invalid; }

      }
      I would expect the "w" to go out of scope and delete itself, removing the softkeys. Any idea why this wouldn't be working?

      Attachments

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

        Activity

          People

            riskedal Espen Riskedal (closed Nokia identity) (Inactive)
            admin Administrator
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes