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

Can not remove focus from QListWidget

XMLWordPrintable

    • 3

      Following code removes focus from QListWidget. Focus is shown when user scrolls list by finger. After lifting finger focus is removed. Focus is in the component but it does not show that. That's how Symbian^3 list works.

      // Removing focus from QListWidget
      #if defined Q_OS_SYMBIAN
      if (QSysInfo::s60Version() == QSysInfo::SV_S60_5_2)

      { // Only in Symbian^3 m_listWidget->setFocusPolicy(Qt::NoFocus); }

      #endif

      Bug: Code works on Nokia N8 with Qt 4.6.3 but does not with Qt 4.7.0. In Qt 4.7.0 focus can be see all the time in the QListWidget.
      Attachment: Forum Nokia multi-windows example application. Main window has the QListWidget where you can test the bug.

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

            satu.m.makela satu makela
            tepaanan Tero Paananen (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes