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

X11: popups such as QtQuick.Controls Combobox cause assertion failure when used on a touchscreen

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P1: Critical
    • Resolution: Done
    • Affects Version/s: 5.3.0 Alpha
    • Fix Version/s: None
    • Labels:
      None
    • Environment:
      Linux
    • Commits:
      efcfa0b252a96a7064dcd9b1767ff61e7875bab5

      Description

      This is another aspect of the popup event forwarding problem: when you touch a ComboBox, the popup is another window, so the button part of the combobox doesn't receive the TouchEnd event. (Without releasing your finger, dragging to select an item on the popup doesn't work correctly either.) But let's say you somehow manage to select an item; then it will crash the next time you tap on the combobox:

      ASSERT: "itemForTouchPointId.isEmpty()" in file /home/rutledge/dev/qt5-stable/qtdeclarative/src/quick/items/qquickwindow.cpp, line 1793

      The old touchpoint which caused the popup the first time would have been removed if the button had received the TouchEnd, but it didn't.

        Attachments

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

          Activity

            People

            Assignee:
            srutledg Shawn Rutledge
            Reporter:
            srutledg Shawn Rutledge
            Votes:
            0 Vote for this issue
            Watchers:
            10 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes