masghar / yet-another-music-application

Automatically exported from code.google.com/p/yet-another-music-application
0 stars 0 forks source link

Global keyboard shortcuts stop working #181

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. My Fn keys takes much longer to respond than clicking Next/Previous in the 
Stoffi UI.
2. If I press Next quickly using Fn + Right Arrow, the Fn keys stop working 
altogether. 
3. From that point onwards, I am not able to control Stoffi with the Fn keys.

What is the expected output? What do you see instead?
Block excess keystrokes. If the user is pressing the keys faster than Stoffi is 
able to process them, block Stoffi from the extra keystrokes. Only allow 
keystrokes when Stoffi is able to process them.

In this way, the users would not be able to crash Stoffi through overloading it 
with requests, as Stoffi would have automatically ignored all the requests it 
wasn't able to process. 

What release of Stoffi are you using?
1.29.915.8968

Original issue reported on code.google.com by wic...@gmail.com on 8 Mar 2011 at 7:41

GoogleCodeExporter commented 9 years ago
Does it only prevent Fn keys in Stoffi or in Windows? Does Stoffi respond to 
any other shortcuts?

Original comment by ephracis on 8 Mar 2011 at 11:09

GoogleCodeExporter commented 9 years ago
I have noticed that keyboard shortcuts stop working sometimes. I cannot 
reproduce it even if I hit previous/next very much and very fast. It seems to 
be something else that kills all shortcuts (both global and local, both normal 
and media).

I assume that this is the same issue so I am setting this as Accepted even 
though I have not been able to reproduce it using the steps you describe.

Original comment by ephracis on 11 Mar 2011 at 11:09

GoogleCodeExporter commented 9 years ago
I have finally been able to reproduce this. It only affects the global 
shortcuts. What happens is that the event handler somehow get unsubscribed or 
just simply disappears from the event in KListener.

In other words the connection between the code that listens for shortcuts 
globally and the code that handles Next/Previous/Play/etc gets broken.

I have really no clue why and the KListener is not my code but something I 
found on StackOverflow after a tip on the MSDN forums. So I really have no clue 
as to why this is happening or how to fix it. I have tried a few approaches but 
without any luck.

I have posted on MSDN asking for assistance but I will have to push this bug 
back to Shang for now. The workaround is to just restart Stoffi.

Original comment by ephracis on 13 Mar 2011 at 1:38

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago

Original comment by ephracis on 29 Sep 2011 at 4:38

GoogleCodeExporter commented 9 years ago

Original comment by christof...@stoffiplayer.com on 24 Apr 2012 at 4:50