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

Two simultaneously opened onscreen keyboards could work incorrectly

    XMLWordPrintable

Details

    • webOS
    • 2c9968bee (dev), 0d5865375 (6.8)

    Description

      Two simultaneously opened onscreen keyboards could work incorrectly

      Condition: 
      Two instances of QWaylandSeat, two opened onscreen keyboard on device with two screens.

      Problem scenario:
      When invoking:

      void QWaylandQuickItem::takeFocus(QWaylandSeat *device)

      correct QWaylandSeat (NOT a defaultSeat) passed, but also invoked:

      void QQuickItem::forceActiveFocus(Qt::FocusReason reason)

      which could finally emit 'activeFocusChanged', and, since in commit for QTBUG-108645 we have code:

      connect(this, &QQuickItem::activeFocusChanged, this, &QWaylandQuickItem::updateFocus);

      eventually 'updateFocus' ivoked, as an result 'setKeyboardFocus' called for wrong QWaylandSeat (defaultSeat)

      As a result on one of onscreen keyboards some of keys not working

      Attachments

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

        Activity

          People

            qt.team.graphics.and.multimedia Qt Graphics Team
            roman_genkhel Roman Genhel
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes