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

containsMouse on MouseArea glitch on control that display menu

    XMLWordPrintable

Details

    • Bug
    • Resolution: Out of scope
    • Not Evaluated
    • None
    • 5.1.1
    • Quick: Controls 1
    • None
    • Windows 7 64 bits

    Description

      In Qml with a QtQuick controls that display a menu on click (does so with ComboBox, Button with menu, ...), a mouse area that float above the combobox will lose the containsMouse property on menu trigger.

      The normal behavior:
      Once the mouse cursor is above the blue rectangle the rectangle move to the right. Upon leaving the rectangle surface the rectangle move back to the left. Clicking on the combobox and selecting an input should keep the containsMouse on mouse area as long as the cursor is above the blue rectangle.

      Repos step:
      If I press the combobox and let the mouse cursor stand still hover the combobox, the blue rectangle will move back to the left. If I click the combobox and quickly move the cursor on the displayed menu, the box will still be on the right, even if the cursor return above the combobox later.

      I have attach an example file that display the bug

      Attachments

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

        Activity

          People

            Unassigned Unassigned
            jeromegodbout Jerome Godbout
            Votes:
            2 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes