[regression] MirEvent 2.0 has no replacement for mir_motion_tool_type_eraser

Bug #1422262 reported by Daniel van Vugt
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mir
Triaged
Low
Unassigned
mir (Ubuntu)
Triaged
Low
Unassigned

Bug Description

[enhancement] MirEvent 2.0 has no replacement for mir_motion_tool_type_eraser (yet)

Revision history for this message
Robert Carr (robertcarr) wrote :

It's unclear that mir_motion_tool_type_eraser makes sense or is required. Originally we copied it from android thoughtlessly (this isn't slander, I did it, it was thoughtless). Qt doesnt feature it.

When writing the new input event headers I decided since Qt doesn't feature it its probably not required and perhaps better expressed as some sort of modifier state on the touch.

Changed in mir:
status: Triaged → Opinion
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Incomplete. I need to check the evdev stream. If it is recognised separately to the stylus then it is indeed a new tooltype.

We don't want MirEvent 2.0 to lose features we already have in MirEvent 1.0 ...

Changed in mir:
status: Opinion → Incomplete
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Confirmed in evtest ... the eraser is reported by evdev as a different tool "BTN_TOOL_RUBBER" vs the other end which is "BTN_TOOL_PEN".

So the eraser is indeed a different tool type.

Changed in mir:
status: Incomplete → Triaged
summary: - [enhancement] MirEvent 2.0 has no replacement for
- mir_motion_tool_type_eraser (yet)
+ [regression] MirEvent 2.0 has no replacement for
+ mir_motion_tool_type_eraser
tags: added: regression
tags: added: input
Revision history for this message
Michał Sawicz (saviq) wrote :

Syncing task from Mir.

Changed in mir (Ubuntu):
importance: Undecided → Low
status: New → Triaged
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.