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

MouseArea containsMouse sometimes wrong

    XMLWordPrintable

Details

    • Bug
    • Resolution: Out of scope
    • 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

    Description

      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.

      Attachments

        1. controls.qml
          0.5 kB
          Shawn Rutledge
        2. dialogs.qml
          0.6 kB
          Shawn Rutledge
        3. test.qml
          0.4 kB
          Shawn Rutledge
        4. window.qml
          0.7 kB
          Shawn Rutledge

        Issue Links

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

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes