libinput treats the ranges BTN_MISC to BTN_GEAR_UP and BTN_DPAS to BTN_TRIGGER_HAPPY40 as pointer buttons since it does not support joystick/gamepads yet. So we get a pointer button down event... so there are probably two places to fix. libinput should grow to support joysticks, and mir should support more mouse buttons. And convert all the others as key events until we support joysticks/gamepads too.
-- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to mir in Ubuntu. https://bugs.launchpad.net/bugs/1544878 Title: Mir servers crash if I press the side mouse button (thumb) Status in Mir: Confirmed Status in mir package in Ubuntu: Confirmed Bug description: Mir servers crash if I press the side mouse button (thumb). There are two of them on the side of my Intellimouse Explorer 3.0. The kernel calls them BTN_SIDE and BTN_EXTRA. And X calls them buttons 8 and 9. When the crash happens I see in unity8.log: [1455268365.782990] <ERROR> MirSurfaceAPI: Caught exception at client library boundary (in mir_surface_release): /build/mir-wMQ7xO/mir-0.19.2+16.04.20160210/src/client/rpc/stream_socket_transport.cpp(168): Throw in function virtual void mir::client::rpc::StreamSocketTransport::send_message(const std::vector<unsigned char>&, const std::vector<mir::Fd>&) Dynamic exception type: boost::exception_detail::clone_impl<boost::exception_detail::error_info_injector<mir::socket_disconnected_error> > std::exception::what: Failed to send message to server: Broken pipe 32, "Broken pipe" *** Error in `unity8': free(): invalid size: 0x00007fcb4c03fe90 *** Also happens with the Mir demo servers; they segfault but without a usable stack trace due to exception handling. To manage notifications about this bug go to: https://bugs.launchpad.net/mir/+bug/1544878/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp