Closed GoogleCodeExporter closed 8 years ago
I like it. But it has some troubles with indicating "pause" state.
Currently when player playing the PlayPause indicated as "pressed" and when
player
paused it is not indicated. So I can't see differences between "paused" and
"stopped" states. It would be better to make like this:
1. when stopped, button is released and "play" icon on it is displayed
2. when playing, button is released and "pause" icon on it is displayed
3. when paused, button is pressed and "pause" icon on it is displayed
Also after cuberok start and if it does not play, this button has icon "pause",
but
it should has icon "play".
At last, after cuberok start and if it resumes play track from last session,
this
button is not pressed (but it has icon "pause" that is correct)
Also, this patch caused random troubles with restoring playing state on start.
Sometimes cuberok resumes playing with silence instead of music.
P.S. I had to adapt this patch for r219
Original comment by nomen.in...@gmail.com
on 18 Jun 2009 at 7:37
Also when repeat is off and player finish play last track in playlist, button
stays
pressed just like playing is continue.
Original comment by nomen.in...@gmail.com
on 18 Jun 2009 at 9:18
Ok, I've done some fixes & cleanups:
1. The button behaves as you recommended, no more "pressed" buttons, the button is
always in the "released" state. This also simplified some unnecessary logic I
had
dealt with earlier, and definitely looks nicer.
2. By being careful about when & where I connect my signals & slots, the button is
now accurate when Cuberok starts, whether it is playing a track or not. Also,
the
button will return to "Play" when a non-repeating playlist finishes.
3. Used more logical signals & slots with a boolean to indicate which icon to display.
4. The tooltip and menu text now change along with the icon.
5. This patch is now against the R219 version.
Original comment by cfo...@gmail.com
on 19 Jun 2009 at 1:02
Attachments:
I like it.
I can see the only problem on last track in playlist, but it seems to me that
this
problem comes not from this patch. The problem is next: when last track in
playlist
finished, triggering playbutton have no useful effect, it just changing icon on
the
button.
So, I think DrMoriarty may approve this patch. It applys cleanly against r221.
Original comment by nomen.in...@gmail.com
on 19 Jun 2009 at 5:39
Oh, no, things are not so good.
When player just works and it starts playing next track icon ot this button
changes
to "play", like track is paused.
Original comment by nomen.in...@gmail.com
on 19 Jun 2009 at 7:05
This issue was closed by r223.
Original comment by drmoriar...@gmail.com
on 19 Jun 2009 at 7:10
new bug was fixed by r224
Original comment by drmoriar...@gmail.com
on 19 Jun 2009 at 7:20
Fixed, I prove it. I guess, issue with last track in playlist will be
considered
while implementing new shuffle and repeat modes, won't it?
Original comment by nomen.in...@gmail.com
on 19 Jun 2009 at 8:53
You are right :-)
Original comment by drmoriar...@gmail.com
on 19 Jun 2009 at 8:56
Thanks for cleaning up my bug and accepting the patch!
Original comment by cfo...@gmail.com
on 19 Jun 2009 at 10:25
> Thanks for cleaning up my bug and accepting the patch!
Thank You for patch :-)
Original comment by nomen.in...@gmail.com
on 20 Jun 2009 at 6:44
Original issue reported on code.google.com by
cfo...@gmail.com
on 17 Jun 2009 at 11:51Attachments: