Touch point size sent to clients is much smaller under Unity8/QtMir than when run under Mir demo servers

Bug #1487366 reported by Daniel van Vugt
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
qtmir (Ubuntu)
Triaged
Low
Unassigned

Bug Description

Touch point size sent to clients is much smaller under Unity8/QtMir than when run under Mir demo servers.

I noticed when running mir_demo_client_fingerpaint under Unity8 that the touch point size is microscopic (almost invisible on arale). Running the same client under a Mir demo server, the touch point size is much bigger and more visible.

A quick grep of the qtmir source code seems to show that it ignores and/or doesn't yet implement "mir_touch_axis_size".

Tags: input

Related branches

Gerry Boland (gerboland)
Changed in qtmir (Ubuntu):
status: New → Confirmed
Changed in qtmir:
status: New → Confirmed
importance: Undecided → Low
Changed in qtmir (Ubuntu):
importance: Undecided → Low
tags: added: input
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

See related bug 1354254.

Revision history for this message
Andreas Pokorny (andreas-pokorny) wrote :

Why do we provide touch contact size as a single value? This is not a value that we get directly from the device, instead it is calculated from major/minor.. which we also provide.. and which are well defined (but mostly badly scaled).

On that topic since at least nexus 10 provides an orientation (and I believe another of our supported devices does so too).. I would suggest to deprecate size and add orientation.

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Hmm it seems QtMir has hardcoded a touch point size of zero :P

        mir::events::add_touch(*ev, id, action, tooltype,
                               touchPoint.pos().x(), touchPoint.pos().y(),
                               touchPoint.pressure(),
                               touchPoint.rect().width(),
                               touchPoint.rect().height(),
                               0 /* size */);

Trivial mistake.

Changed in qtmir:
status: Confirmed → Triaged
Changed in qtmir (Ubuntu):
status: Confirmed → Triaged
Changed in qtmir:
assignee: nobody → Daniel van Vugt (vanvugt)
Changed in qtmir (Ubuntu):
assignee: nobody → Daniel van Vugt (vanvugt)
Changed in qtmir:
status: Triaged → In Progress
Changed in qtmir (Ubuntu):
status: Triaged → In Progress
Michał Sawicz (saviq)
no longer affects: qtmir
Changed in qtmir (Ubuntu):
status: In Progress → Triaged
assignee: Daniel van Vugt (vanvugt) → nobody
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.