hotkey issues (two hotkeys for same action)

Microsoft Windows specific usage questions
Forum rules
Please post only Windows specific questions in this forum category. If you don't know where to post, please read the different forums' rules. Thanks.
fleity
New Cone
New Cone
Posts: 1
Joined: 31 Jul 2009 15:48

hotkey issues (two hotkeys for same action)

Postby fleity » 31 Jul 2009 15:56

hello,

is it possible to set two differnt keys for the same action?

like "p" und " (space)" for play/pause. the reason i want to do this is because i have an IR remote for my pc which sadly has keyboard keys hardcoded to it's buttons.


additionally i would like to control the volume with the left and right arrow keys but without a modifier key like strg, alt or shift they also dont work.


is there a way to solve these to problems?

VLC_help
Mega Cone Master
Mega Cone Master
Posts: 25661
Joined: 13 Sep 2006 14:16

Re: hotkey issues (two hotkeys for same action)

Postby VLC_help » 01 Aug 2009 17:36

With 1.0.x series you can have 2 hotkeys for one action (one normal and one Global).

blackthorne16
Blank Cone
Blank Cone
Posts: 10
Joined: 13 Dec 2008 12:51

Hotkey collision in German localization

Postby blackthorne16 » 01 Aug 2009 21:56

Another hotkey problem that should be solved quite easily:

In the American English version, the hotkey for the menu item "View, Minimal View" is "Ctrl+H".
In the German version, the respective menu item "Ansicht, Minimale Ansicht" is wrongly set to "H".

This creates a collision with the very useful "Subtitle delay up" hotkey (also "H").

I would be grateful if you could correct the German localization in the next version.

VLC_help
Mega Cone Master
Mega Cone Master
Posts: 25661
Joined: 13 Sep 2006 14:16

Re: hotkey issues (two hotkeys for same action)

Postby VLC_help » 04 Aug 2009 21:43

Hotkeys should be same on all VLC languages.

johnsnow
New Cone
New Cone
Posts: 8
Joined: 26 May 2013 00:43

Re: Hotkey collision in German localization

Postby johnsnow » 26 May 2013 00:47

Another hotkey problem that should be solved quite easily:

In the American English version, the hotkey for the menu item "View, Minimal View" is "Ctrl+H".
In the German version, the respective menu item "Ansicht, Minimale Ansicht" is wrongly set to "H".

This creates a collision with the very useful "Subtitle delay up" hotkey (also "H").

I would be grateful if you could correct the German localization in the next version.
It's been 4 years now and this problem still has not been fixed.

Image

Rémi Denis-Courmont
Developer
Developer
Posts: 15139
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: hotkey issues (two hotkeys for same action)

Postby Rémi Denis-Courmont » 26 May 2013 07:29

It's been 4 years and patch is still welcome.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37519
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: hotkey issues (two hotkeys for same action)

Postby Jean-Baptiste Kempf » 26 May 2013 16:07

German translator is wrong, that's all...
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

johnsnow
New Cone
New Cone
Posts: 8
Joined: 26 May 2013 00:43

Re: hotkey issues (two hotkeys for same action)

Postby johnsnow » 26 May 2013 21:40

The en_GB.po contains for example:

Code: Select all

#: modules/gui/qt4/menus.cpp:476 #, fuzzy msgid "Ctrl+H" msgstr "Codec"
and the de.po contains:

Code: Select all

#: modules/gui/qt4/menus.cpp:476 msgid "Ctrl+H" msgstr "Strg+H"
(German for Ctrl is Strg.)

Is it the msgstr that causes the problem, or the fuzzy comment? Some po files contain "Ctrl+H" as msgstr, others an empty string, others just "Ctrl" ..
There's obviously no consistency whatsoever.

And I'm obviously no VLC dev but I'd like to see this trivial problem fixed. If you know how let me know and I'll try to provide a patch...

Rémi Denis-Courmont
Developer
Developer
Posts: 15139
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: hotkey issues (two hotkeys for same action)

Postby Rémi Denis-Courmont » 27 May 2013 18:00

Fuzzy means the translation was generated by a computer and will be ignored during compilation.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

johnsnow
New Cone
New Cone
Posts: 8
Joined: 26 May 2013 00:43

Re: hotkey issues (two hotkeys for same action)

Postby johnsnow » 27 May 2013 22:03

So what is the problem? How can any translation file cause a change of hotkeys?

Rémi Denis-Courmont
Developer
Developer
Posts: 15139
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: hotkey issues (two hotkeys for same action)

Postby Rémi Denis-Courmont » 27 May 2013 22:04

The UI framework parses hot keys in a certain way and if the translation does not follows that way, anything goes.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

johnsnow
New Cone
New Cone
Posts: 8
Joined: 26 May 2013 00:43

Re: hotkey issues (two hotkeys for same action)

Postby johnsnow » 27 May 2013 23:51

Well there seems to be something wrong with that UI framework then, because this seems fine to me but doesn't work and causes the problem described above:

Code: Select all

#: modules/gui/qt4/menus.cpp:476 msgid "Ctrl+H" msgstr "Strg+H"
I guess that's the reason why a lot of other languages do not have translated hotkeys either. In that case the menu shows the English hotkey text ("Ctrl+...") which is not perfect but at least it doesn't mess with the actual hotkey.

Rémi Denis-Courmont
Developer
Developer
Posts: 15139
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: hotkey issues (two hotkeys for same action)

Postby Rémi Denis-Courmont » 28 May 2013 19:37

It sure is a limitation of the Qt4 framework, but that is not something the VLC developers can fix. The only "solution" for now consists of reverting to the English spelling of key names.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

johnsnow
New Cone
New Cone
Posts: 8
Joined: 26 May 2013 00:43

Re: hotkey issues (two hotkeys for same action)

Postby johnsnow » 28 May 2013 22:36

So should I make a patch? If yes, against which version?

Rémi Denis-Courmont
Developer
Developer
Posts: 15139
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: hotkey issues (two hotkeys for same action)

Postby Rémi Denis-Courmont » 29 May 2013 19:47

I already have a working patch but the powers that be will not let me merge it.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

johnsnow
New Cone
New Cone
Posts: 8
Joined: 26 May 2013 00:43

Re: hotkey issues (two hotkeys for same action)

Postby johnsnow » 14 Jun 2013 16:02

Why not? It seems to be a trivial change.

Will the fix be in 2.0.8 or .9?

johnsnow
New Cone
New Cone
Posts: 8
Joined: 26 May 2013 00:43

Re: hotkey issues (two hotkeys for same action)

Postby johnsnow » 27 Aug 2013 23:05

Half a year later, the problem is still there in 2.0.8 and even in 2.1.0-pre2.


Return to “VLC media player for Windows Troubleshooting”

Who is online

Users browsing this forum: Bing [Bot] and 33 guests