Missing option to disable special "browser" keys

Please report only one bug per message!

Moderators: sheep, Hacker, Stefan2, white

Post Reply
redfox
Junior Member
Junior Member
Posts: 97
Joined: 2015-02-09, 11:36 UTC
Location: Czech Republic

Missing option to disable special "browser" keys

Post by *redfox » 2015-11-21, 09:18 UTC

When I have TC in focus, my special multimedia keys (i.e. browser keys on my multimedia keyboard) are not working as I defined (although they are not used by TC at all).

Any solution?

TC v. 8.51a

EDIT: After additional testing, I found that some of the keys are used by TC, assigned to its internal commands (see few posts below).
Last edited by redfox on 2015-12-07, 12:15 UTC, edited 7 times in total.

umbra
Power Member
Power Member
Posts: 807
Joined: 2012-01-14, 20:41 UTC

Post by *umbra » 2015-11-21, 11:05 UTC

Hi
Do you have some special keyboard software installed (even a driver with it's own control application)? Are you running TC as administrator? Maybe it's something similar to this: http://ghisler.ch/board/viewtopic.php?t=34798
Windows 7 Pro x64, Windows 10 Pro x64

User avatar
HolgerK
Power Member
Power Member
Posts: 5147
Joined: 2006-01-26, 22:15 UTC
Location: Europe, Aachen

Re: Special media keys not working when TC in focus

Post by *HolgerK » 2015-11-21, 18:46 UTC

redfox wrote:(although they are not used by TC at all).
Do you have an entry

Code: Select all

MediaRemote=1
in your wincmd.ini?
History.txt wrote:07.12.11 Added: wincmd.ini [Configuration] MediaRemote=1 use windows media remote to control TC (default: 0): Cursor+OK as usual, <- Backspace, i directory hotlist, >| Tab, |< Ctrl+Tab, Play/Pause Command menu, Stop ESC in dialogs, select file in lists (32/64)
Regards
Holger

User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 38145
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) » 2015-11-23, 10:54 UTC

MediaRemote=1
was the default in a very old beta version. Just add
MediaRemote=0
to your wincmd.ini under [Configuration] to disable it.

It's meant to use TC from a TV screen with the standard Microsoft remote.
Author of Total Commander
http://www.ghisler.com

redfox
Junior Member
Junior Member
Posts: 97
Joined: 2015-02-09, 11:36 UTC
Location: Czech Republic

Post by *redfox » 2015-11-24, 15:57 UTC

I have added the MediaRemote=0 into the config file, but with no effect.

I use some (remapped) media keys like BROWSER_REFRESH and BROWSER_STOP to launch external applications, using the built-in Explorer\AppKey registry key in Windows - without a special keyboard driver. Their actual functions depend on the window/application that has focus. If the current application uses these keys, their default assignment specified in the system registry is temporary overwritten.

If TC is focused, most of my BROWSER buttons loose their original functions, see the list on the bottom. It can not be changed in the GUI, there are no entries for them, just for the standard keys, in the keyboard shortcut section.

Is there another config entry to disable using these buttons in TC?

At least, I need to disable using the BROWSER_REFRESH, BROWSER_STOP and BROWSER_FAVORITES buttons by TC, in order to keep their default assignments, specified in the system registry.

Summary:

BROWSER_REFRESH - used by TC, refreshes the folder/files list (like pressing F2)
BROWSER_STOP - used by TC, like Cancel button
BROWSER_FAVORITES - used by TC, opens the "favorites" menu of TC (like pressing Ctrl+D)
BROWSER_BACK - used by TC, history back
BROWSER_FORWARD - used by TC, history forward
BROWSER_HOME - not used by TC
LAUNCH_MEDIA_SELECT - not used by TC
LAUNCH_APP1, LAUNCH_APP2 - not used by TC

Other media keys not tested, but it seems that only the BROWSER keys (except for the Home key) are affected.

User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 38145
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) » 2015-11-26, 10:18 UTC

These aren't really multimedia keys sent by the Microsoft remote - they are keys which are sent e.g. by a Microsoft keyboard. TC is a file browser, therefore it reacts the the BROWSER_* keys. Therefore MediaRemote=0 only ignores the keys above APPCOMMAND_BROWSER_FAVORITES:

APPCOMMAND_VOLUME_MUTE=8;
APPCOMMAND_VOLUME_DOWN=9;
APPCOMMAND_VOLUME_UP=10;
APPCOMMAND_MEDIA_NEXTTRACK=11;
APPCOMMAND_MEDIA_PREVIOUSTRACK=12;
APPCOMMAND_MEDIA_STOP=13;
APPCOMMAND_MEDIA_PLAY_PAUSE=14;

Currently there is no way to ignore the BROWSER_* keys when TC has the focus.
Author of Total Commander
http://www.ghisler.com

redfox
Junior Member
Junior Member
Posts: 97
Joined: 2015-02-09, 11:36 UTC
Location: Czech Republic

Post by *redfox » 2015-11-26, 12:48 UTC

OK, I'll look forward to a next release of TC, wich could probably have an option to turn off / on using these browser keys in the application preferences or through the config file.
Thanks for the reply.

redfox
Junior Member
Junior Member
Posts: 97
Joined: 2015-02-09, 11:36 UTC
Location: Czech Republic

Post by *redfox » 2016-07-11, 18:25 UTC

Re-posted as suggestion for v9 in http://ghisler.ch/board/viewtopic.php?p=312633

User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 38145
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) » 2016-07-13, 20:22 UTC

This has been added to TC9:

wincmd.ini
[Configuration]
MediaRemote=-1
Author of Total Commander
http://www.ghisler.com

Post Reply