← Back to team overview

ubuntu-sdk-bugs team mailing list archive

[Bug 1566378] Re: Mouse filter: mousemove event logic does not fire exited / entered signals when needed

 

This bug was fixed in the package ubuntu-ui-toolkit
1.3.1938+15.04.20160412 in https://launchpad.net/~ci-train-ppa-
service/+archive/ubuntu/stable-phone-overlay

---------------

ubuntu-ui-toolkit (1.3.1938+15.04.20160412) vivid; urgency=medium

  [ Tim Peeters ]
  * Hide the PageStack back button when depth == 1. Fixes LP: #1565811
  * Add header subtitle. Fixes LP: #1399289
  * Reveal the header in gallery when changing the layout to two columns.
    Fixes LP: #1556860
  * Set correct colors for disabled actions in the header.
    Fixes LP: #1393485
  * Disable tst_datepicker.qml to unblock the staging.Fixes LP: #1567840
  * Prevent invisible header from setting the flickable topMargin.
    Fixes LP: #1560419, LP: #1560458, LP: #1566231.

  [ Zsombor Egri ]
  * Move MouseTouchAdaptor into UbuntuToolkit library. Fix adaptor code for
    Xenial. Fixes LP: #1561436

  [ Christian Dywan ]
  * Don't use a separate argument to distinguish touch events. If it's touch,
    it has our overloaded methods. Fixes LP: #1530802
  * Use export_qml_dir.sh in qmlapicheck and runtest Also add Usage to runtest.
    Fixes LP: #1567286.
  * Summary style error results with sections. Fixes LP: #1568804

  [ Andrea Bernabei ]
  * Mouse filter: check if mouse is inside the area on mouse moves and
    setHovered accordingly. Fixes LP: #1566378.

  [ Timo Jyrinki ]
  * Add latest changes for GLES.
  * Add back Provides: qtdeclarative5-ubuntu-ui-toolkit-plugin to resolve
    upgrade issue. Fixes LP: #1568817
  * Fix wrapper script auto-generated by Qt that incorrectly tries to execute
    itself. Fixes LP: #1560000
  * bileto_convert_to_gles: sort and add
    qml-module-ubuntu-performancemetrics-gles.install. Fixes LP: #1569217

  * Add additional Breaks as requested by archive admin.
  * Add latest changes for GLES.

  [ Zolán Balogh ]
  * Fix the UITK test plan script.

  [ CI Train Bot ]
  * Resync trunk. added: examples/ubuntu-ui-toolkit-gallery/po/nb.po

  [ Robert Park ]
  * Inline GLES packaging. added: debian/bileto_convert_to_gles
    debian/control.gles debian/rules.gles

 -- Zoltan Balogh <zoltan.balogh@xxxxxxxxxxxxx>  Tue, 12 Apr 2016
11:12:44 +0000


** Changed in: ubuntu-ui-toolkit (Ubuntu RTM)
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
SDK bug tracking, which is subscribed to ubuntu-ui-toolkit in Ubuntu.
https://bugs.launchpad.net/bugs/1566378

Title:
  Mouse filter: mousemove event logic does not fire exited / entered
  signals when needed

Status in Canonical System Image:
  In Progress
Status in ubuntu-ui-toolkit package in Ubuntu:
  Fix Committed
Status in ubuntu-ui-toolkit package in Ubuntu RTM:
  Fix Released

Bug description:
  r1921

  Test case:
  import QtQuick 2.4
  import Ubuntu.Components 1.3

  MainView {
      applicationName: "test"
      width: units.gu(50)
      height: units.gu(40)

      Rectangle {
          anchors.fill: parent
          color: "yellow"
          MouseArea {
              anchors.fill: parent
              anchors.margins: units.gu(10)

              hoverEnabled: true
              onEntered: console.log("Mouse entered")
              onExited: console.log("Mouse exited")

              Mouse.enabled: true
              Mouse.onEntered: console.log("Mouse filter entered")
              Mouse.onExited: console.log("Mouse filter exited")

              Rectangle {
                  anchors.fill: parent
                  color: "blue"
              }
          }
      }
  }

  How to reproduce:
  1) qmlscene testcase.qml
  2) move the mouse inside the blue rectangle
  3) press and hold the left button of the mouse
  4) WITHOUT RELEASING the button, move the mouse outside the blue rectangle
  5) (optional) move the mouse back inside the blue rectangle (still without releasing the button)

  Actual outcome (qml log):
  qml: Mouse filter entered
  qml: Mouse entered
  qml: Mouse exited
  qml: Mouse entered

  Expected log (qml log):
  qml: Mouse filter entered
  qml: Mouse entered
  qml: Mouse filter exited
  qml: Mouse exited
  qml: Mouse filter entered
  qml: Mouse entered

To manage notifications about this bug go to:
https://bugs.launchpad.net/canonical-devices-system-image/+bug/1566378/+subscriptions


References