Touch point visualization feature removed

Bug #1602600 reported by Richard Huddie
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Canonical System Image
New
Undecided
Unassigned
Unity System Compositor
New
Undecided
Unassigned

Bug Description

channel:ubuntu-touch/rc-proposed/meizu.en
image: 376
device: arale

For test automation it is very useful to enable touch-point visualization feature to see touch points on the screen during automated tests. This was previously done using dbus api com.canonical.Unity.Screen.setTouchVisualizationEnabled:

dbus-send --system --dest=com.canonical.Unity.Screen --type=method_call --print-reply / com.canonical.Unity.Screen.setTouchVisualizationEnabled boolean:true

This api has been removed and it seems there is no alternative way to enable this feature. (See http://bazaar.launchpad.net/~unity-system-compositor-team/unity-system-compositor/trunk/revision/293)

This feature should be added back so that we can enable touch visualization once again, it is very useful debugging aid.

Richard Huddie (rhuddie)
description: updated
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Just guessing without testing right now, but it looks like environment MIR_SERVER_ENABLE_TOUCHSPOTS=1 might work. Since --enable-touchspots is a shared server option.

So maybe: restart unity8 MIR_SERVER_ENABLE_TOUCHSPOTS=1

Revision history for this message
Richard Huddie (rhuddie) wrote :

I've just tried above command but unfortunately it doesn't enable touch visualization.

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.