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

MouseArea containsMouse sometimes wrong

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Out of scope
    • Icon: P3: Somewhat important P3: Somewhat important
    • None
    • 4.8.5, 5.2.0
    • None
    • Linux i5 3.12.5-1-ARCH #1 SMP PREEMPT Thu Dec 12 12:57:31 CET 2013 x86_64 GNU/Linux

      Say you handle the mouse click on a mouse area (with onClick). A file dialog opens (via a Q_INVOCABLE function, for example). The mouse leaves the mouse area, as it now lies in the file dialog, containsMouse will become false, but as soon as it closes, containsMouse will become true, only to turn false upon first mouse move.

        1. test.qml
          0.4 kB
          Shawn Rutledge
        2. controls.qml
          0.5 kB
          Shawn Rutledge
        3. dialogs.qml
          0.6 kB
          Shawn Rutledge
        4. window.qml
          0.7 kB
          Shawn Rutledge
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            Unassigned Unassigned
            janezzabc Janez Žemva
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes