Mir

Mir On X (mesa-x11) keeps receiving mouse movement events even when not focused

Bug #1528110 reported by Daniel van Vugt
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mir
Fix Released
Medium
Alan Griffiths
mir (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Mir On X (mesa-x11) keeps receiving mouse movement events even when not focused.

Move the mouse outside the Mir On X window and the internal cursor keeps moving. Even click outside the window and the Mir cursor in the window keeps moving.

Confirmed this happens in Mir 0.17.1 and still in Mir 0.20.0 too so it's not a new problem with the new input stack.

This is the log output when running sudo ./bin/mir_demo_server from a x11 terminal:

[2016-02-17 08:42:39.905329] mirserver: Selected input driver: mir:x11-input (version: 0.20.0)
[2016-02-17 08:42:39.938897] mirserver: Selected input driver: mir:evdev-input (version: 0.20.0)

But to get to that situation probing of both platforms must succeed. That should only happen when you run a mir server as root within an x11 terminal without specifying a vt.

Tags: input

Related branches

tags: added: input
summary: - Mir On X (mesa-x11) keeps receiving mouse movement events even when no
+ Mir On X (mesa-x11) keeps receiving mouse movement events even when not
focused
description: updated
description: updated
Changed in mir:
status: New → Triaged
summary: - Mir On X (mesa-x11) keeps receiving mouse movement events even when not
- focused
+ When running Mir with root permission from a x11 terminal x11-input and
+ evdev-input are used
summary: - When running Mir with root permission from a x11 terminal x11-input and
- evdev-input are used
+ Running Mir with root permissions causes in x11 causes x11-input and
+ evdev-input to be used
summary: - Running Mir with root permissions causes in x11 causes x11-input and
- evdev-input to be used
+ Running Mir with root permissions in x11 causes x11-input and evdev-
+ input to be used
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Thanks for figuring that out. I prefer the title of the bug to be in terms of what the user sees though, and not a description of the root cause.

summary: - Running Mir with root permissions in x11 causes x11-input and evdev-
- input to be used
+ Mir On X (mesa-x11) keeps receiving mouse movement events even when not
+ focused
Changed in mir:
importance: Undecided → Medium
Changed in mir:
assignee: nobody → Alan Griffiths (alan-griffiths)
status: Triaged → In Progress
Changed in mir:
milestone: none → 0.21.0
Revision history for this message
Mir CI Bot (mir-ci-bot) wrote :

Fix committed into lp:mir at revision None, scheduled for release in mir, milestone 0.21.0

Changed in mir:
status: In Progress → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :
Download full text (3.2 KiB)

This bug was fixed in the package mir - 0.21.0+16.04.20160330-0ubuntu1

---------------
mir (0.21.0+16.04.20160330-0ubuntu1) xenial; urgency=medium

  [ Alberto Aguirre ]
  * New upstream release 0.21.0 (https://launchpad.net/mir/+milestone/0.21.0)
    - ABI summary:
      . mirclient ABI unchanged at 9
      . mirserver ABI unchanged at 38
      . mircommon ABI unchanged at 5
      . mirplatform ABI unchanged at 11
      . mirprotobuf ABI unchanged at 3
      . mirplatformgraphics ABI unchaged at 8
      . mirclientplatform ABI bumped to 5
      . mirinputplatform ABI unchanged at 5
    - Enhancements:
      . New display enumeration API
      . Added Android diagnostic tests to assist during porting to
        new devices
      . Added mir_demo_client_camera: a Video4Linux2 client
    - Bugs fixed:
      . Sometimes devices don't suspend - display turns back on
        immediately (LP: #1549701)
      . Mir crashed with exception 'failed to add sync point to command
        buffer' (LP: #1554635)
      . Mouse cursor is unusably slow in Unity 8 with a 1000Hz mouse
        (LP: #1539009)
      . Packaged mir_unit_tests binary is not suitable for general use
        (LP: #1547015)
      . [regression] Mir stops receiving input after a pause/resume
        cycle (LP: #1548989)
      . NBS (--nbuffers=0) causes software clients to crash with
        std::exception::what: Failed to mmap buffer 13, "Permission denied")
        (LP: #1550432)
      . Fullscreen clients freeze when using NBS with multiple monitors
        (LP: #1551536)
      . [ FAILED ] DisplayConfigurationTest.output_position_is_independent_of_
        orientation (LP: #1552065)
      . The server-side use of MIR_SOCKET is confusing (LP: #1290345)
      . [regression] FTBFS with -DMIR_LINK_TIME_OPTIMIZATION=on
        -Duse_debflags=on (LP: #1350343)
      . Mir On X (mesa-x11) keeps receiving mouse movement events even
        when not focused (LP: #1528110)
      . x11 platform: mouse cursor moves strange (LP: #1546324)
      . Cross compiling to wily/vivid doesn't work (LP: #1549152)
      . Rendering stutters when a new client establishes a connection
        (LP: #1549359)
      . 'mir_demo_server --test-client' crashes (SIGSEGV) when client
        dies (LP: #1555620)
      . [testfail] CI failure: TestClientInput.client_input_config_request_
        receives_all_attached_devices (LP: #1555708)
      . [regression] Mir FTBFS when MIR_ENABLE_TESTS=no (LP: #1556080)
      . Mir-on-X11 doesn't exit (until it gets an event) (LP: #1556210)
      . InputPlatformProbe.x11_platform_found_and_used_when_display_connection_
        works breaks with old input drivers present (LP: #1543049)
      . [regression] MIR_CLIENT_PERF_REPORT is missing window/surface
        names (LP: #1546933)
      . Installed binaries fail to run with mir_demo_server --test-client XXXX
        (LP: #1556160)
      . mir_demo_server --test-client [mir_demo_client_scroll|
        mir_demo_client_flicker] fails (LP: #1556205)
      . The contents of debian/mir-demos.examples are out of date and useless
        (LP: #1557446)

  [ CI Train Bot ]
  * No-change rebuild.

 -- Alberto Aguirre <alberto.aguirre@can...

Read more...

Changed in mir (Ubuntu):
status: New → Fix Released
Changed in mir:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.