INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: Request to Deactivate MC after being minimized  (Read 2913 times)

mikefour

  • Junior Woodchuck
  • **
  • Posts: 58
Request to Deactivate MC after being minimized
« 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
Logged

mikefour

  • Junior Woodchuck
  • **
  • Posts: 58
Re: Request to Deactivate MC after being minimized
« Reply #1 on: March 28, 2018, 06:41:05 pm »

Any chance to get a response from JRiver staff?
Logged

tij

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 1557
Re: Request to Deactivate MC after being minimized
« Reply #2 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.
Logged
HTPC: Win11 Pro, MC: latest 31(64b), NV Driver: v425.31, CPU: i9-12900K, 32GB RAM, GeForce: 2080ti
Screen: LG 2016 E6
NAS: FreeNAS 11.1, SuperMicro SSG-5048R-E1CR36L, E5-1620v4, 64GB ECC RAM, 18xUltrastar He12-SAS3 drives, 2x240GB SSD (OS)

Hendrik

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 10712
Re: Request to Deactivate MC after being minimized
« Reply #3 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.
Logged
~ nevcairiel
~ Author of LAV Filters

mikefour

  • Junior Woodchuck
  • **
  • Posts: 58
Re: Request to Deactivate MC after being minimized
« Reply #4 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
Logged

tij

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 1557
Re: Request to Deactivate MC after being minimized
« Reply #5 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
Logged
HTPC: Win11 Pro, MC: latest 31(64b), NV Driver: v425.31, CPU: i9-12900K, 32GB RAM, GeForce: 2080ti
Screen: LG 2016 E6
NAS: FreeNAS 11.1, SuperMicro SSG-5048R-E1CR36L, E5-1620v4, 64GB ECC RAM, 18xUltrastar He12-SAS3 drives, 2x240GB SSD (OS)

RD James

  • Citizen of the Universe
  • *****
  • Posts: 1871
Re: Request to Deactivate MC after being minimized
« Reply #6 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.
Logged

mikefour

  • Junior Woodchuck
  • **
  • Posts: 58
Re: Request to Deactivate MC after being minimized
« Reply #7 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
Logged

tij

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 1557
Re: Request to Deactivate MC after being minimized
« Reply #8 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?
Logged
HTPC: Win11 Pro, MC: latest 31(64b), NV Driver: v425.31, CPU: i9-12900K, 32GB RAM, GeForce: 2080ti
Screen: LG 2016 E6
NAS: FreeNAS 11.1, SuperMicro SSG-5048R-E1CR36L, E5-1620v4, 64GB ECC RAM, 18xUltrastar He12-SAS3 drives, 2x240GB SSD (OS)

mikefour

  • Junior Woodchuck
  • **
  • Posts: 58
Re: Request to Deactivate MC after being minimized
« Reply #9 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.
Logged

tij

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 1557
Re: Request to Deactivate MC after being minimized
« Reply #10 on: March 29, 2018, 11:04:11 am »

Try unticking

[Tools]->[Options]->[General]->[Advance]->[Translate hot keys ...]
Logged
HTPC: Win11 Pro, MC: latest 31(64b), NV Driver: v425.31, CPU: i9-12900K, 32GB RAM, GeForce: 2080ti
Screen: LG 2016 E6
NAS: FreeNAS 11.1, SuperMicro SSG-5048R-E1CR36L, E5-1620v4, 64GB ECC RAM, 18xUltrastar He12-SAS3 drives, 2x240GB SSD (OS)

mikefour

  • Junior Woodchuck
  • **
  • Posts: 58
Re: Request to Deactivate MC after being minimized
« Reply #11 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.
Logged

mikefour

  • Junior Woodchuck
  • **
  • Posts: 58
Re: Request to Deactivate MC after being minimized
« Reply #12 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.
Logged

BryanC

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 2555
Re: Request to Deactivate MC after being minimized
« Reply #13 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.
Logged

tij

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 1557
Re: Request to Deactivate MC after being minimized
« Reply #14 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
Logged
HTPC: Win11 Pro, MC: latest 31(64b), NV Driver: v425.31, CPU: i9-12900K, 32GB RAM, GeForce: 2080ti
Screen: LG 2016 E6
NAS: FreeNAS 11.1, SuperMicro SSG-5048R-E1CR36L, E5-1620v4, 64GB ECC RAM, 18xUltrastar He12-SAS3 drives, 2x240GB SSD (OS)

DJLegba

  • Citizen of the Universe
  • *****
  • Posts: 992
Re: Request to Deactivate MC after being minimized
« Reply #15 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.
Logged

mikefour

  • Junior Woodchuck
  • **
  • Posts: 58
Re: Request to Deactivate MC after being minimized
« Reply #16 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
Logged

mikefour

  • Junior Woodchuck
  • **
  • Posts: 58
Re: Request to Deactivate MC after being minimized
« Reply #17 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.
Logged

RoderickGI

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 8186
Re: Request to Deactivate MC after being minimized
« Reply #18 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 to see if you can find the discussion and logic behind it. Maybe it is no longer doing what was intended.
Logged
What specific version of MC you are running:MC27.0.27 @ Oct 27, 2020 and updating regularly Jim!                        MC Release Notes: https://wiki.jriver.com/index.php/Release_Notes
What OS(s) and Version you are running:     Windows 10 Pro 64bit Version 2004 (OS Build 19041.572).
The JRMark score of the PC with an issue:    JRMark (version 26.0.52 64 bit): 3419
Important relevant info about your environment:     
  Using the HTPC as a MC Server & a Workstation as a MC Client plus some DLNA clients.
  Running JRiver for Android, JRemote2, Gizmo, & MO 4Media on a Sony Xperia XZ Premium Android 9.
  Playing video out to a Sony 65" TV connected via HDMI, playing digital audio out via motherboard sound card, PCIe TV tuner

mikefour

  • Junior Woodchuck
  • **
  • Posts: 58
Re: Request to Deactivate MC after being minimized
« Reply #19 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.
Logged

mikefour

  • Junior Woodchuck
  • **
  • Posts: 58
Re: Request to Deactivate MC after being minimized
« Reply #20 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.
Logged
Pages: [1]   Go Up