Comment 10 for bug 1389761

Revision history for this message
Oliver Grawert (ogra) wrote :

if you refer to indicator-sound with "volume UI" then yes ... note that the apps i mentioned above only use the implementation from https://developer.ubuntu.com/api/apps/qml/sdk-15.04/QtMultimedia.SoundEffect/ ... the role changes from the default immediately when the play() function is used, and stays changed for the duration of the sound.

it might be that either our interfacing of the toolkit with the back end is broken here or the back end behaviour itself is wrong, but this kind of supports the fact that making a UI element pick the "current default" without the ability to override is the wrong approach.

what if i want to write an app that explicitly allows modification of different volumes for different roles, i would have no way to use your slider item at all but would have to completely create custom sliders, since all of yours would forcefully just point to the default output. whatever we have in the toolkit should offer to define the role it controls (with a sane default when undefined).

all i'm asking for is a way to override the default behaviour in the toolkit element, or if needed there could be a "default volume slider" and a "customizable volume slider" if you prefer to not have it in the same element.