MSC Streaming mode: Position Attribute is ignored for instances
The file remotecontrolhandler.cpp
contains the code handling the commands to control the streaming scene.
The command Instance
allows to create a new MSC instance on the scene.
In the function handleInstanceCommand
there seems to be a attribute named pos
:
const int pos = params.value(QLatin1String("pos"), -1).toInt();
However this attribute seems to be ignored, and it is effectively not possible to set the position of the created instance on the scene.
This is needed because by defaults, instances are created too close to each other:
There are two options:
- Actually process the
pos
attribute to let user define the x position of the instance on the scene - or Set a default distance between instances which allows reasonably long messages to be displayed