Xion Audio Player

Minimizing player with tray icon

Discuss potential bugs with other users or try to find out a solution to an existing bug

Postby pickle » September 12th, 2006, 2:36 pm

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.
User avatar
pickle
Xion Admirer
 
Posts: 180
Joined: September 9th, 2006, 3:56 pm

Postby Cliff Cawley » September 12th, 2006, 5:10 pm

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 :)
Cliff Cawley
Creator of Xion
r2 Studios
http://www.r2.com.au
http://xion.r2.com.au
User avatar
Cliff Cawley
Creator of Xion
 
Posts: 1955
Joined: September 3rd, 2006, 11:33 am
Location: Brisbane, Australia

Postby pickle » September 13th, 2006, 9:22 am

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 ;)
User avatar
pickle
Xion Admirer
 
Posts: 180
Joined: September 9th, 2006, 3:56 pm

Postby Cliff Cawley » September 13th, 2006, 1:46 pm

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 :)
Cliff Cawley
Creator of Xion
r2 Studios
http://www.r2.com.au
http://xion.r2.com.au
User avatar
Cliff Cawley
Creator of Xion
 
Posts: 1955
Joined: September 3rd, 2006, 11:33 am
Location: Brisbane, Australia

Postby pickle » September 13th, 2006, 5:41 pm

Good points - fair enough.
User avatar
pickle
Xion Admirer
 
Posts: 180
Joined: September 9th, 2006, 3:56 pm

Postby Cliff Cawley » September 17th, 2006, 8:07 pm

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 :)
Cliff Cawley
Creator of Xion
r2 Studios
http://www.r2.com.au
http://xion.r2.com.au
User avatar
Cliff Cawley
Creator of Xion
 
Posts: 1955
Joined: September 3rd, 2006, 11:33 am
Location: Brisbane, Australia

Postby pickle » September 18th, 2006, 3:35 am

That'd be good. How about Ctrl + Double-click goes back, and Ctrl + Double righ click goes next?
User avatar
pickle
Xion Admirer
 
Posts: 180
Joined: September 9th, 2006, 3:56 pm

Postby Korsakoff » October 14th, 2006, 4:02 am

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
Korsakoff
Xion Supporter
 
Posts: 3
Joined: October 14th, 2006, 3:53 am

Return to Bugs (Release Build)

Who is online

Users browsing this forum: No registered users and 7 guests

cron