INTERACT FORUM

More => Old Versions => JRiver Media Center 23 for Windows => Topic started by: mikefour on March 28, 2018, 08:42:40 am

Title: Request to Deactivate MC after being minimized
Post by: mikefour on March 28, 2018, 08:42:40 am
A small annoyance happened when MC is minimized to the system tray. After being minimized MC (the MC window) is still activated that mean that if I press the "SPACE" key when it is minimized it will Play/pause the last song that is being played, MC is still intercepting the hot keys. To prevent this if it is minimized and it loses focus (the window will become not the active one) it wont intercept hot keys. Can you please change this behavior and deactivate MC window after being minimized.
For example when my computer goes to sleep and I wake it using the space key MC starts playing.

Thanks
Title: Re: Request to Deactivate MC after being minimized
Post by: mikefour on March 28, 2018, 06:41:05 pm
Any chance to get a response from JRiver staff?
Title: Re: Request to Deactivate MC after being minimized
Post by: tij on March 29, 2018, 04:48:48 am
Running MC 23 on Windiws 10 (1709) ...when minimizes MC does not react to ‘space’ ... must be different default behavior of different Windows versiona.
Title: Re: Request to Deactivate MC after being minimized
Post by: Hendrik on March 29, 2018, 04:51:27 am
"Space" for Play/Pause should only take effect when MC is in focus. Dont think it even receives keypresses like that when its not.
Title: Re: Request to Deactivate MC after being minimized
Post by: mikefour on March 29, 2018, 05:21:00 am
Please try the following to replicate it because it happened in my computer always when I do the following steps:
I am running Windows 7 x64

1. Go to the Desktop
2. Open MC
3. Set MC to be in Mini mode and make it be the "ACTIVE WINDOW" (i.e. not to be transparent)
4. Minimize it to have an icon in the tray area
5. Press the SPACE key does it pause/play

Thanks
Title: Re: Request to Deactivate MC after being minimized
Post by: tij on March 29, 2018, 06:17:17 am
Nope ... Windows 10 (1709) does not pass keyboards to minimize programs (including MC23) ... in fact once minimize, cannot make it active

Not saying this does not happen in Windows 7 ... but on Windows 10 this is not happening

Regardless ... if your computer goes to sleep while MC is not minimize (ie left in Theatre View) ... pressing spacebar will do what you describe ... so best to wake computer with key other than space
Title: Re: Request to Deactivate MC after being minimized
Post by: RD James on March 29, 2018, 10:33:24 am
I can reproduce this here when it's set to minimize to the tray. Windows 10 (1709).
Doesn't happen if it's minimizing to the taskbar, only the tray.
Title: Re: Request to Deactivate MC after being minimized
Post by: mikefour on March 29, 2018, 10:48:16 am
Thank you. I am happy because I thought that it is a problem with my windows 7 computer and I thought of reinstalling windows again. its a great annoyance because every time it is minimized when I press the SPACE key in another program MC starts/stops playing. Please find a solution to this problem and fix it.

Thank you
Title: Re: Request to Deactivate MC after being minimized
Post by: tij on March 29, 2018, 10:55:15 am
Sorry ... normal minimize does not pass keyboard ... [Tools]->[Options]->[General]->[Minimize to Tray] does

Just out of curiosity ... if normal minimize does what you want ... why minimize to tray?
Title: Re: Request to Deactivate MC after being minimized
Post by: mikefour on March 29, 2018, 11:00:32 am
Because I like to have MC in the tray area. This looks like a bug and every time my computer wakes up it starts playing as well as I have said before pressing the SPACE key in another program starts playing music through MC.
Title: Re: Request to Deactivate MC after being minimized
Post by: tij on March 29, 2018, 11:04:11 am
Try unticking

[Tools]->[Options]->[General]->[Advance]->[Translate hot keys ...]
Title: Re: Request to Deactivate MC after being minimized
Post by: mikefour on March 29, 2018, 11:12:16 am
Try unticking

[Tools]->[Options]->[General]->[Advance]->[Translate hot keys ...]

Thanks for your suggestion but it does not help.
Title: Re: Request to Deactivate MC after being minimized
Post by: mikefour on March 29, 2018, 11:47:36 am
If I disable the option to Minimize to the Tray it does help in Windows but it does not help if I am waking up the computer even with my mouse, and not with my keyboard, MC starts playing when I resume from standby. It seems to be more extreme in my situation.
Title: Re: Request to Deactivate MC after being minimized
Post by: BryanC on March 29, 2018, 12:36:56 pm
I wonder if you create a custom Resource.xml file with that key explicitly disabled that it may override the internal handling.

https://wiki.jriver.com/index.php/User_Defined_Global_Keyboard_Shortcuts

1. Create a new file: C:\Program Files\J River\Media Center 23\Data\Custom Resources\Resource.xml
2. Add this to it:
Code: [Select]
<MJRS version="1.0">
  <ACCELERATORS>
    <Entry Key="Space" Command="10000" Param="0" Global="0" />
  </ACCELERATORS>
</MJRS>
3. Save and restart MC.
Title: Re: Request to Deactivate MC after being minimized
Post by: tij on March 29, 2018, 01:32:14 pm
Maybe configure system tray to hide MC icon in a pop-up drawer? ... seems when its hidden it does not receive keyboard
Title: Re: Request to Deactivate MC after being minimized
Post by: DJLegba on March 29, 2018, 01:49:46 pm
I always wake up the computer with one of the shift keys. Hope the issue gets addressed though.
Title: Re: Request to Deactivate MC after being minimized
Post by: mikefour on March 29, 2018, 07:23:24 pm
I wonder if you create a custom Resource.xml file with that key explicitly disabled that it may override the internal handling.

https://wiki.jriver.com/index.php/User_Defined_Global_Keyboard_Shortcuts

1. Create a new file: C:\Program Files\J River\Media Center 23\Data\Custom Resources\Resource.xml
2. Add this to it:
Code: [Select]
<MJRS version="1.0">
  <ACCELERATORS>
    <Entry Key="Space" Command="10000" Param="0" Global="0" />
  </ACCELERATORS>
</MJRS>
3. Save and restart MC.
I have tried that prior to your suggestion but it does not work I wonder why. It doesn't disable the space key.

I also tried to change the space key to stop instead of pause/play like this:
<MJRS version="1.0">
  <ACCELERATORS>
    <Entry Key="Space" Command="10002" Param="0" Global="0" />
  </ACCELERATORS>
</MJRS>
But it did not change the default behavior of the space key into stop instead of pause/play, it just ignores what is inside the Custom Resources folder.
Maybe it is hard coded into the system. Are you sure that this is the right way to disable it?
I wonder why am I the only one that has noticed this problem? Are all of you use different settings than mine?
I would be happy if one of the JRiver staff will give his observation regarding this issue.

Thanks
Title: Re: Request to Deactivate MC after being minimized
Post by: mikefour on March 29, 2018, 07:47:13 pm
Maybe configure system tray to hide MC icon in a pop-up drawer? ... seems when its hidden it does not receive keyboard
In my computer it is always hidden in the system tray but it does not change anything.
Title: Re: Request to Deactivate MC after being minimized
Post by: RoderickGI on March 29, 2018, 07:58:51 pm
I'm pretty sure this was asked for and by design. What I'm thinking of could have been similar but different. I remember a thread discussing this sort of issue not so long ago though.

Have a search of the forum, and past Release Notes (https://wiki.jriver.com/index.php/Release_Notes) to see if you can find the discussion and logic behind it. Maybe it is no longer doing what was intended.
Title: Re: Request to Deactivate MC after being minimized
Post by: mikefour on March 30, 2018, 09:48:45 pm
I would appreciate if one the JRiver staff will give an answer about this issue. I am having problems after resuming from standby because of this issue.
Title: Re: Request to Deactivate MC after being minimized
Post by: mikefour on April 01, 2018, 05:27:32 am
If you don't want to investigate into this matter AT LEAST FIX THE PROBLEM WITH CUSTOM XML FILES SO I WOULD BE ABLE TO DISABLE THE "SPACE" KEY COMPLETELY.