using play function on Audio stops working on Ubuntu Touch after using stop function

Bug #1214977 reported by Rick Spencer
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
qtmultimedia-opensource-src-touch (Ubuntu)
New
Undecided
Unassigned

Bug Description

Steps:
1. write an app with code similar to below
2. Run it on the desktop
3. Press play
4. Press stop
5. Press play
6. Note that the song plays with step #5

7. Run the same code on a Nexus 4
8. Press play
9. Press stop
10. Press play

Result:
The song does not play with step #10

Expected:
The song plays, as it does on the desktop

import QtQuick 2.0
import Ubuntu.Components 0.1
import QtMultimedia 5.0
import "components"

/*!
    \brief MainView with a Label and Button elements.
*/

Tab
{
    title: i18n.tr("Music Service")
    Column
    {
        spacing: units.gu(1)
        anchors
        {
            margins: units.gu(2)
            fill: parent
        }
        Row
        {
            Button
            {
                text: i18n.tr("Play")
                onClicked:
                {
                    song.play()
                }
            }
            Button
            {
                text: i18n.tr("Pause")
                onClicked:
                {
                    song.pause()
                }
            }
            Button
            {
                text: i18n.tr("Stop")
                onClicked:
                {
                    song.stop()
                }
            }
        }
        Image
        {
            width:units.gu(15)
            height: units.gu(15)
            source:"severed-fifth.jpg"
            visible: song.playbackState
        }
    }
    Audio
    {
        id:song
        source: "song-file.mp3"
    }
}

ProblemType: Bug
DistroRelease: Ubuntu 13.10
Package: qtdeclarative5-qtmultimedia-plugin 5.0.2-4ubuntu3
ProcVersionSignature: Ubuntu 3.11.0-3.6-generic 3.11.0-rc6
Uname: Linux 3.11.0-3-generic x86_64
ApportVersion: 2.12.1-0ubuntu2
Architecture: amd64
Date: Wed Aug 21 11:28:16 2013
InstallationDate: Installed on 2013-04-23 (119 days ago)
InstallationMedia: Ubuntu 13.04 "Raring Ringtail" - Release amd64 (20130423.1)
MarkForUpload: True
SourcePackage: qtmultimedia-opensource-src
UpgradeStatus: Upgraded to saucy on 2013-08-14 (7 days ago)

Revision history for this message
Rick Spencer (rick-rickspencer3) wrote :
Revision history for this message
Timo Jyrinki (timo-jyrinki) wrote :

In case this's still valid, reassigning to the -touch variant that is still going to be used.

affects: qtmultimedia-opensource-src (Ubuntu) → qtmultimedia-opensource-src-touch (Ubuntu)
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.