HydrogenAudio

Hosted Forums => foobar2000 => Support - (fb2k) => Topic started by: cheater on 2021-04-21 16:24:40

Title: Bug: Cannot bind F1
Post by: cheater on 2021-04-21 16:24:40
It is impossible to bind F1 to anything. It always pops up the help. I want to bind F1 because I use F1/F2 for prev/next tab in all the applications I use. Also it's bad to waste one of the most accessible keys for something I'll never be using. I would like the help shortcut to show up in the keyboard shortcuts so I can remove it.
Title: Re: Bug: Cannot bind F1
Post by: Vicas on 2021-04-21 18:14:30
Not possible as it is hardcoded by default. You can use ALT+F1 instead as custom shortcut.
Title: Re: Bug: Cannot bind F1
Post by: cheater on 2021-04-26 06:10:55
Agree, it is hardcoded, and that is a bug.
Title: Re: Bug: Cannot bind F1
Post by: Vicas on 2021-04-26 12:45:27
It's not bug if it is intended that way.
Title: Re: Bug: Cannot bind F1
Post by: cheater on 2021-04-30 10:58:27
It's not intended that way.

Can you leave this thread please, thanks.
Title: Re: Bug: Cannot bind F1
Post by: regor on 2021-04-30 12:55:59
It's not intended that way.

Can you leave this thread please, thanks.
In fact @cheater is partially right. While F1 does open help on the preferences panel it does NOTHING outside that panel.
Therefore F1 is not bound to anything on the main window. It's only hardcoded in the preferences panel.

I doubt that's how it should work, since it makes no sense at all to forbid using F1 when it's not associated to anything during normal foobar usage. Let F1 do its thing in the preferences panel and do another thing otherwise.

Also, that's how it should work according to the wiki:

Quote
Avoiding conflicts
foobar2000 does not prevent you from assigning the same keyboard shortcut more than once. This is the intended design decision because it doesn't unnecessarily encumber you while redefining shortcuts. When a redundant definition occurs within foobar2000, you will see a warning below the list of definitions.
F1 is being forbidden for assigning because of a "potential conflict" (which is not real) but then it does not prevent you to assign the same shortcut more than once (?) . Not coherent.
Title: Re: Bug: Cannot bind F1
Post by: Vicas on 2021-04-30 13:58:12
Therefore F1 is not bound to anything on the main window. It's only hardcoded in the preferences panel.

Yes, sorry I mean exactly that, it is hardcoded in preferences panel only.

Can you leave this thread please, thanks.

I'll gladly leave, but that's not how you should behave to users on this forum and in general.
Title: Re: Bug: Cannot bind F1
Post by: jazzthieve on 2021-04-30 16:42:42
It's not intended that way.

Can you leave this thread please, thanks.

For users like these I sometimes wish there would be a block function on this board.
Title: Re: Bug: Cannot bind F1
Post by: cheater on 2021-05-05 05:14:19
It's not intended that way.

Can you leave this thread please, thanks.
In fact @cheater is partially right. While F1 does open help on the preferences panel it does NOTHING outside that panel.
Therefore F1 is not bound to anything on the main window. It's only hardcoded in the preferences panel.

I doubt that's how it should work, since it makes no sense at all to forbid using F1 when it's not associated to anything during normal foobar usage. Let F1 do its thing in the preferences panel and do another thing otherwise.

Also, that's how it should work according to the wiki:

Quote
Avoiding conflicts
foobar2000 does not prevent you from assigning the same keyboard shortcut more than once. This is the intended design decision because it doesn't unnecessarily encumber you while redefining shortcuts. When a redundant definition occurs within foobar2000, you will see a warning below the list of definitions.
F1 is being forbidden for assigning because of a "potential conflict" (which is not real) but then it does not prevent you to assign the same shortcut more than once (?) . Not coherent.

Do people actually use F1 in the preferences?

I've been using foobar for close to 20 years and I've never heard of that tbh. Only started using it again recently and my keyboard usage pattern has changed, that's how I stumbled upon it.

I think only the dev can answer this one - that is if there's analytics or logging in place to tell how often that's being used.
Title: Re: Bug: Cannot bind F1
Post by: cheater on 2021-05-05 21:31:51
I've tried to look if it's possible to set a binding on F1 by editing the config files, but they are binary. Is there some way to edit those files? A guide to the format maybe? Thanks.