Interference of 'Play Question' with the play button of MIDI player controls
Closed, ResolvedPublic

Description

Play button interference: If a question is open, so that 'play question' button is activated, and we open a .mid file, the 'play question' button works as the play button. So, we can now pause and use play question button to play.

ahassan created this task.Mar 16 2016, 2:38 AM
ahassan closed this task as Resolved.EditedMar 19 2016, 5:02 AM

ahassan reopened this task as Open.Mar 19 2016, 5:31 AM

This update should remove the interference between the two play buttons in exercise and MIDI player controls. And it will work on the latest one. Like if our exercise was working and now we open a .mid file, now only the MIDI player controls will work, and pressing the play exercise button won't have any effect. Similarly, if the midi file is playing and we request for a new exercise, the midi player will be turned off (timer to 0) and the exercise will play. Now the MIDI player play button won't work. Before creating a new exercise, I have stopped the midi player first and then cleared the old Song object for midi before creating a new song object.

@ahassan Dont drop diff here, create a differential at https://phabricator.kde.org/differential/diff/create/
It will make testing and reviewing easy.

@itsback Thank you for your help. I really appreciate it.

ahassan closed this task as Resolved.Mar 23 2016, 11:42 PM