shadow1319 / yet-another-music-application

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

Global shortcuts still work in foreground application #279

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Set a Global Shortcut (I use CTRL+SHIFT+C for Play/Pause)
2. Open an application that uses the same shortcut (Firefox's Webdeveloper 
extension uses the above shortcut, Photoshop also)
3. Send Stoffi to the background.
4. Press the key combination

What is the expected output?

The keys should only affect Stoffi.

What do you see instead?

The key affect both Stoffi and the foreground application.

What release of Stoffi are you using?

Shang, 1.32.32.1045

Original issue reported on code.google.com by serbanbo...@gmail.com on 11 Nov 2011 at 6:50

GoogleCodeExporter commented 9 years ago
Please change the title ... I made a mistake. Correct: Global shortcuts still 
work in foreground application

Original comment by serbanbo...@gmail.com on 11 Nov 2011 at 7:12

GoogleCodeExporter commented 9 years ago
Unfortunately there's not a lot I can do about this. Windows will not (rightly 
so) let me change or interfer with other applications. The best solution is for 
the user to manually edit the shortcuts in the other application, in your case 
Firefox.

Original comment by ephracis on 11 Nov 2011 at 10:16

GoogleCodeExporter commented 9 years ago
Still ... how do other applications do it? I've had the same shortcuts in 
Winamp and Foobar 2000 with no such issues.

Original comment by serbanbo...@gmail.com on 11 Nov 2011 at 10:27

GoogleCodeExporter commented 9 years ago
Really? What happens if you set the same shortcut in both Winamp and Foobar and 
have both in the background? Which one "wins"?

Original comment by ephracis on 11 Nov 2011 at 12:49

GoogleCodeExporter commented 9 years ago
I really don't have the slightest idea ... I'll try it out and report back :p, 
but the idea is that, ideally, Global shortcuts > Local shortcuts.

The reason being that there are so many applications with so many different 
shortcuts that it's almost impossible to chose a combination that's not taken 
by at least one app, so I guess that would be a good reason to implement this 
feature.

I'm not an application programmer, so I really don't know how these guys do it, 
or if it's feasible for Stoffi, but this feature would be very useful for 
people who don't have multimedia keyboards or that or not comfortable using the 
multimedia keys on their keyboards (because of odd placement of said keys for 
example).

Original comment by serbanbo...@gmail.com on 11 Nov 2011 at 1:07

GoogleCodeExporter commented 9 years ago
Oh ok. I'll look into it. Since Stoffi is pretty much dependent on what .NET 
allows us to do I can't promise anything. All I can say is that if I can do it, 
I will. :)

Original comment by ephracis on 11 Nov 2011 at 2:10

GoogleCodeExporter commented 9 years ago
Thanks :)

Original comment by serbanbo...@gmail.com on 11 Nov 2011 at 2:34

GoogleCodeExporter commented 9 years ago

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

GoogleCodeExporter commented 9 years ago

Sorry, but right now I have no idea how to do this. I will save this issue and 
perhaps I will be able to find a solution, or someone else might. But right now 
my skills are not awesome enough. :(

Original comment by christof...@stoffiplayer.com on 23 Jan 2013 at 10:11