Page 1 of 1

Minimizing player with tray icon

PostPosted: September 12th, 2006, 2:36 pm
by pickle
Not a bug really, but something to put on the list I guess. When double-clicking the try icon to minimize the player, the single-click is recognized first which pauses play. The second click resumes play, but not before the playback is interrupted a bit.

PostPosted: September 12th, 2006, 5:10 pm
by Cliff Cawley
Hi pickle,

Yes, this is unfortunately due to the fact that trying to get multiple functions on the one thing can cause issues.

If I make it so that I wait for a double click then when you go to single click it for a pause, it will not respond to the click until the double click time has expired. So there is a lag between when you click and when the music pauses.

Doing it that way would eliminate the problem you described, however of course there would be a delay when pausing.

I decided to go with no lag when pausing as to me it was more of a priority to pause a song instantly than to show/hide the interface.

Can you think of any other ideas of how to overcome the pause as well as the stop of music when you double click?

Cliff :)

PostPosted: September 13th, 2006, 9:22 am
by pickle
Nope.

What if you waited less time for the double-click? The single-click recognition could still be almost instantaneous, but the double-click could also work for quick-clickers like me ;)

PostPosted: September 13th, 2006, 1:46 pm
by Cliff Cawley
pickle Wrote:Nope.

What if you waited less time for the double-click? The single-click recognition could still be almost instantaneous, but the double-click could also work for quick-clickers like me ;)


Well the problem comes because I have to obey the double click speed of a user, as can be found under the mouse properties in the Control Panel.

The value in there determines how long I have to wait. So if they are slow double clickers, they will notice a large delay until the single click is detected.

To detect a single click as opposed to a double click, I have to register the first click, then wait for the double click time to see if there is a second click.

You can see this in effect on other Tray applications where you single click and a menu shows, and double click and the window shows. The single click always has a delay before the menu comes up.

Until I can come up with a better solution, I might leave it how it is, or provide it as an option. Not sure yet.

Cliff :)

PostPosted: September 13th, 2006, 5:41 pm
by pickle
Good points - fair enough.

PostPosted: September 17th, 2006, 8:07 pm
by Cliff Cawley
How about this for a solution:

I can differentiate between clicks with ctrl or shift or alt held down.

Perhaps I can make the following:

single click = play
shift + single click = show/hide interface
ctrl + double click = next

Btw, If you hold down ctrl and double click at the moment, it will actually move to the next song ;)

Thoughts everyone?

Cliff :)

PostPosted: September 18th, 2006, 3:35 am
by pickle
That'd be good. How about Ctrl + Double-click goes back, and Ctrl + Double righ click goes next?

PostPosted: October 14th, 2006, 4:02 am
by Korsakoff
but why don't let the user choice by config? so who wants to stop just using alt+something binded can do it, and with a click show or hide the interface...

that's could be a simple solution