The problem here is that we can not use MediaPlayer.alert since it has
never really worked, see https://bugreports.qt.io/browse/QTBUG-46758
that shows that lowercase enums just do not work.

I guess prior to OTA9 this worked because the media-hub was less picky
about stopping one audio while playing another.

My suggested fix is that we add the uppercase variants of the enums in
src/imports/multimedia/qdeclarativeaudio_p.h of qtmultimedia-opensource-
src-5.4.1and then we can fix unity8 to use MediaPlayer.Alert.

I have tried that on my phone locally and fixes the issue (though it
won't fix any other place that was trying to use MediaPlayer.alert).

Is this a valid solution?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1534776

Title:
  Notification sounds cause multimedia to pause

To manage notifications about this bug go to:
https://bugs.launchpad.net/canonical-devices-system-image/+bug/1534776/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to