Bug 373221

Summary: Music being played even after a level is completed or the activity is closed
Product: [Applications] gcompris Reporter: Karmanya <karmanyasharma5>
Component: generalAssignee: Bruno Coudoin <bruno.coudoin>
Status: RESOLVED FIXED    
Severity: normal CC: jazeix, wxl
Priority: NOR    
Version First Reported In: git master   
Target Milestone: ---   
Platform: Microsoft Windows   
OS: Microsoft Windows   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Karmanya 2016-12-03 16:19:24 UTC
Version : 0.61 based on Qt 5.6.1
OS      : Microsoft windows

Overview: 
When the level or the activity is quickly changed/closed, the audio still continues.

Steps to reproduce:
1. Open any activity which plays audio(I opened the Audio memory game)
2. Quickly change the level while an audio is playing.

Actual Result:
The audio still keeps playing.

Expected Results:
The audio should have stopped playing the moment i changed the level.
Comment 1 Walter Lapchynski 2016-12-03 17:55:46 UTC
Thanks for your report!

> OS      : Microsoft windows

Which Windows version? Also, what are the general specs of your computer?

> When the level or the activity is quickly changed/closed, the audio still
> continues.

Does the audio stop playing at some point?
Comment 2 Walter Lapchynski 2016-12-03 17:57:19 UTC
> Version : 0.61 based on Qt 5.6.1

It also might be interesting to see if you have the same experience when using the latest version:
https://mail.kde.org/pipermail/gcompris-devel/2016-December/004981.html
Comment 3 Karmanya 2016-12-03 18:06:18 UTC
(In reply to Walter Lapchynski from comment #1)
> Thanks for your report!
> 
> > OS      : Microsoft windows
> 
> Which Windows version? Also, what are the general specs of your computer?
> 
> > When the level or the activity is quickly changed/closed, the audio still
> > continues.
> 
> Does the audio stop playing at some point?

I used window vista and a low end pc(intel core 2 duo, 2GB ram) and al(In reply to Walter Lapchynski from comment #1)
> Thanks for your report!
> 
> > OS      : Microsoft windows
> 
> Which Windows version? Also, what are the general specs of your computer?
> 
> > When the level or the activity is quickly changed/closed, the audio still
> > continues.
> 
> Does the audio stop playing at some point?

(In reply to Walter Lapchynski from comment #1)
> Thanks for your report!
> 
> > OS      : Microsoft windows
> 
> Which Windows version? Also, what are the general specs of your computer?
> 
> > When the level or the activity is quickly changed/closed, the audio still
> > continues.
> 
> Does the audio stop playing at some point?

I used window vista and a low end pc(intel core 2 duo, 2GB ram)and also a mid budget laptop with windows 7 home premium.

The audio stops after it is completed.
Comment 4 Walter Lapchynski 2016-12-03 18:15:30 UTC
(In reply to Karmanya from comment #3)
> I used window vista and a low end pc(intel core 2 duo, 2GB ram)and also a
> mid budget laptop with windows 7 home premium.

Is it possible that it may have to do with exhausting available resources?

> The audio stops after it is completed.

You mean the audio continues until the audio track has reached its end, correct?
Comment 5 Karmanya 2016-12-03 18:41:10 UTC
(In reply to Walter Lapchynski from comment #4)
> (In reply to Karmanya from comment #3)
> > I used window vista and a low end pc(intel core 2 duo, 2GB ram)and also a
> > mid budget laptop with windows 7 home premium.
> 
> Is it possible that it may have to do with exhausting available resources?
> 
> > The audio stops after it is completed.
> 
> You mean the audio continues until the audio track has reached its end,
> correct?

Yeah it could be that the program or that activity was exhausting available resources.

Yes, i meant that the audio continues until the audio track has reached it's end.
Comment 6 Walter Lapchynski 2016-12-03 19:00:48 UTC
(In reply to Karmanya from comment #5)
> Yeah it could be that the program or that activity was exhausting available
> resources.

If you could check to see whether or not that is the case, it would be helpful.
Comment 7 Karmanya 2016-12-03 19:03:08 UTC
(In reply to Walter Lapchynski from comment #6)
> (In reply to Karmanya from comment #5)
> > Yeah it could be that the program or that activity was exhausting available
> > resources.
> 
> If you could check to see whether or not that is the case, it would be
> helpful.


Sure I will try my best.
Comment 8 Unknown 2016-12-11 20:20:22 UTC
Git commit 415e0ff544cc4a306216e769c2a399b9a2b49792 by Johnny Jazeix.
Committed on 11/12/2016 at 19:43.
Pushed by jjazeix into branch 'master'.

M  +2    -0    src/core/main.qml

https://commits.kde.org/gcompris/415e0ff544cc4a306216e769c2a399b9a2b49792
Comment 9 Unknown 2016-12-11 20:22:59 UTC
Git commit fda775e6a0bd2eb1c7b9983eea29a4aaf076e335 by Johnny Jazeix.
Committed on 11/12/2016 at 20:22.
Pushed by jjazeix into branch 'KDE/0.70'.

M  +2    -0    src/core/main.qml

https://commits.kde.org/gcompris/fda775e6a0bd2eb1c7b9983eea29a4aaf076e335
Comment 10 Jazeix Johnny 2016-12-11 21:20:21 UTC
@Karmanya hi feel free to test again the latest version http://gcompris.net/download/qt/windows/gcompris-qt-0.70-win64.exe to confirm that the bug has been solved.
Thank you for reorting it