Pointer motion and crossing events are missing
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| | Mir |
Fix Released
|
Medium
|
Robert Carr | |
| | mir (Ubuntu) |
Undecided
|
Robert Carr | ||
| | qtmir (Ubuntu) |
Undecided
|
Robert Carr | ||
| | unity8 (Ubuntu) |
Medium
|
Michael Zanetti | ||
Bug Description
Unity 8 doesn't seem to emit events for when the pointer enters or leaves a window, or when the pointer moves around inside a window. It does seem to emit the needed motion events when the mouse is dragged though.
Related branches
- Andreas Pokorny (community): Approve on 2015-01-15
- Alan Griffiths: Approve on 2015-01-15
- Daniel van Vugt: Abstain on 2015-01-15
- Cemil Azizoglu (community): Approve on 2015-01-15
- Chris Halse Rogers: Approve on 2015-01-14
- PS Jenkins bot: Approve (continuous-integration) on 2015-01-14
- Kevin DuBois (community): Approve on 2015-01-07
-
Diff: 753 lines (+491/-33)9 files modifiedclient-ABI-sha1sums (+2/-1)
common-ABI-sha1sums (+2/-1)
include/common/mir_toolkit/events/input/input_event.h (+12/-1)
include/common/mir_toolkit/events/input/pointer_input_event.h (+120/-0)
platform-ABI-sha1sums (+2/-1)
server-ABI-sha1sums (+2/-1)
src/client/symbols.map (+6/-0)
src/common/input/input_event.cpp (+137/-1)
tests/unit-tests/input/test_input_event.cpp (+208/-27)
- Gerry Boland: Approve on 2015-02-20
- Daniel d'Andrada (community): Approve on 2015-02-06
- PS Jenkins bot: Needs Fixing (continuous-integration) on 2015-02-06
-
Diff: 1160 lines (+376/-374)10 files modifiedCMakeLists.txt (+2/-1)
src/common/debughelpers.cpp (+8/-24)
src/modules/Unity/Application/mirsurfaceitem.cpp (+169/-174)
src/modules/Unity/Application/mirsurfaceitem.h (+9/-1)
src/platforms/mirserver/qteventfeeder.cpp (+136/-114)
src/platforms/mirserver/qteventfeeder.h (+5/-3)
tests/mirserver/QtEventFeeder/mock_qtwindowsystem.h (+2/-1)
tests/mirserver/QtEventFeeder/qteventfeeder_test.cpp (+3/-32)
tests/modules/ApplicationManager/application_manager_test.cpp (+2/-0)
tests/modules/MirSurfaceItem/mirsurfaceitem_test.cpp (+40/-24)
- Daniel d'Andrada (community): Approve on 2015-02-27
- PS Jenkins bot: Approve (continuous-integration) on 2015-02-27
-
Diff: 32 lines (+15/-0)1 file modifiedqml/Panel/IndicatorsMenu.qml (+15/-0)
| Changed in unity8 (Ubuntu): | |
| status: | New → Triaged |
| importance: | Undecided → Medium |
| Robert Carr (robertcarr) wrote : | #1 |
| Changed in mir (Ubuntu): | |
| status: | New → Fix Committed |
| Changed in unity8 (Ubuntu): | |
| assignee: | nobody → Robert Carr (robertcarr) |
| Changed in mir (Ubuntu): | |
| assignee: | nobody → Robert Carr (robertcarr) |
| Changed in mir (Ubuntu): | |
| status: | Fix Committed → Triaged |
| Changed in mir: | |
| status: | New → Fix Committed |
| importance: | Undecided → Medium |
| assignee: | nobody → Robert Carr (robertcarr) |
| milestone: | none → 0.11.0 |
| tags: | added: enhancement input |
| Robert Carr (robertcarr) wrote : | #2 |
Added handling of hover/enter exit in MirSurfaceItem...
| Changed in mir (Ubuntu): | |
| status: | Triaged → In Progress |
| Changed in qtmir (Ubuntu): | |
| status: | New → In Progress |
| Changed in qtmir: | |
| status: | New → In Progress |
| assignee: | nobody → Robert Carr (robertcarr) |
| Changed in mir (Ubuntu): | |
| status: | In Progress → Triaged |
| Changed in qtmir (Ubuntu): | |
| status: | In Progress → Triaged |
| Launchpad Janitor (janitor) wrote : | #3 |
This bug was fixed in the package mir - 0.11.0+
---------------
mir (0.11.0+
[ Daniel van Vugt ]
* New upstream release 0.11.0 (https:/
- Enhancements:
. Lots more major plumbing in the Android code, on the path to
supporting external displays.
. Add support for clang 3.6.
. Major redesign of server classes in mir::shell,scene and friends
(still in progress).
. Added client API for creating dialogs and tooltips.
. Added new surface states: mir_surface_
. Performance: Use optimally efficient fragment shading when possible.
. Performance: (Desktop) Composite using double buffering instead of
triple to reduce visible lag.
. mir_proving_server: Can now resize windows from any edge or corner
using the existing Alt+middlebutto
. mir_proving_server: Added some demo custom shaders (negative and
high contrast modes: Super+N/C).
. mir_proving_server: Can now close clients politely via Alt+F4.
. Added MirPointerInput
- ABI summary: Servers need rebuilding, but clients do not;
. Mirclient ABI unchanged at 8
. Mircommon ABI unchanged at 3
. Mirplatform ABI bumped to 6
. Mirserver ABI bumped to 29
- Bug fixes:
. [regression] mir_demo_server exits immediately with boost
. need way to position menus and tooltips (relative positioning to
parent) (LP: #1324101)
. GLibMainLoopTest failure seen in CI (LP: #1413748)
. Clang builds fail in CI (LP: #1416317)
. segfault in mir::compositor
(LP: #1416482)
. GLRenderer: The default fragment shader is sub-optimal for alpha=1.0
(LP: #1350674)
. mesa::DisplayBu
it needs to be (LP: #1350725)
. Cannot connect to nested server when started from a differen vt
(LP: #1379266)
. [testfail] AsioMainLoopAla
. Compositor report inconsistently reports frame time during bypass,
and render time otherwise (LP: #1408906)
. [regression] mir_demo_
more (with the mouse) (LP: #1413139)
. Hardware cursor is always slightly ahead of the composited image
(LP: #1274408)
. integration tests are outputting (too many) DisplayServer log
messages (LP: #1408231)
. [regression] deploy-and-test.sh doesn't work any more (unless you
have umockdev installed already) (LP: #1413479)
. Color Inverse on display. Toggle Negative Image (LP: #1400580)
. mir-ubuntu-
. Double-buffered surfaces may lag or freeze if event driven and not
constantly redrawing (LP: #1395581)
. Pointer motion and crossing events...
| Changed in mir (Ubuntu): | |
| status: | Triaged → Fix Released |
| Changed in mir: | |
| status: | Fix Committed → Fix Released |
| Changed in qtmir (Ubuntu): | |
| status: | Triaged → In Progress |
| assignee: | nobody → Robert Carr (robertcarr) |
| Changed in unity8 (Ubuntu): | |
| status: | Triaged → In Progress |
| assignee: | Robert Carr (robertcarr) → Michael Zanetti (mzanetti) |
| Launchpad Janitor (janitor) wrote : | #4 |
This bug was fixed in the package qtmir - 0.4.4+15.
---------------
qtmir (0.4.4+
[ Daniel d'Andrada ]
* Port to the new MirEvent API and add support for pointer events.
(LP: #1417650, #1392716)
[ Gerry Boland ]
* Refactor wakelock handling. Lifecycle exempt apps now release
wakelock when shell tries to suspend them (LP: #1423787)
[ Robert Carr ]
* Port to the new MirEvent API and add support for pointer events.
(LP: #1417650, #1392716)
-- CI Train Bot <email address hidden> Wed, 18 Mar 2015 10:12:22 +0000
| Changed in qtmir (Ubuntu): | |
| status: | In Progress → Fix Released |
| Launchpad Janitor (janitor) wrote : | #5 |
This bug was fixed in the package unity8 - 8.02+15.
---------------
unity8 (8.02+15.
[ Albert Astals Cid ]
* Add some context to tr calls (LP: #1431497)
* Require binaries and .pc files we call from code
* Test: More stubborn flick to the end
[ Andrea Cimitan ]
* Refactor PreviewOverlay to fix weird zoom out/in animations when
previewing images from the Previews
[ CI Train Bot ]
* Resync trunk.
[ Charles Kerr ]
* Re-enable a rotation lock test now that the bug that broke that test
has been fixed. (LP: #1410915)
[ Daniel d'Andrada ]
* Darkened area behind indicators menu should eat input until it fully
disappears (LP: #1417967)
* DesktopStage - fix focus switch when user taps on window (LP:
#1431325)
* Fix warnings when launching tutorial
* Make MouseTouchAdaptor controllable from within QML
* Make tst_Shell absorb tst_TabletShell
[ Leo Arias ]
* Changed the autopilot dependencies so they do not require qt4. (LP:
#1429158)
* Drop the support for python2 in autopilot tests. (LP: #1429163)
* Stop using the deprecated toolkit emulators namespace in autopilot
tests. (LP: #1341681)
[ Michael Terry ]
* Don't close wizard & edge tutorial when the unity8-dash closes (LP:
#1425484)
* Don't let the wizard sit indefinitely, waiting for a wizard page to
finish preparing itself. (LP: #1425737)
* Fix two broken qmluitest files by waiting for everything to settle
before starting the tests.
* Only call unlockAllModems once the wizard is done. (LP: #1425161)
(LP: #1425161)
* When we are locking the user out from too many login failures,
notice when time passes even if the device is suspended. (LP:
#1396817) (LP: #1396817)
[ Michael Zanetti ]
* Add a mouse area to the indicators panel so we can open them by
clicking. (LP: #1417650)
* fix launcher not reacting to first click when revealed by mouse
hover, add tests
* performance improvements (LP: #1430233, #1425087)
[ Michał Sawicz ]
* Remove the activity indicator from tests
* Use targets instead of custom ld arguments for linking
[ Mirco Müller ]
* Updated the visuals of the SwipeToAct-widget for incoming-call snap-
decision notifications according to new design-spec.
* Updated the visuals of the SwipeToAct-widget for incoming-call snap-
decision notifications according to new design-spec.
-- CI Train Bot <email address hidden> Wed, 18 Mar 2015 10:19:06 +0000
| Changed in unity8 (Ubuntu): | |
| status: | In Progress → Fix Released |
| Changed in qtmir: | |
| status: | In Progress → Fix Released |
| no longer affects: | qtmir |


qtmir/port- to-event- 2.0 implements the pointer motion events ill add the crossing events tomorrow.