Shortcuts.lyx and a problem with names of keys

Dan <[email protected]>
Newsgroups gmane.editors.lyx.documentation
Message-ID <[email protected]>
I have reviewed and updated (couple of minor changes) the Shortcuts.lyx file, which I attach to this e-mail for you to check.

---------------------------------

Aside from that,

I was updating the Catalan and Spanish translations of Shortcuts.lyx and realized something odd. The output of the very same document depends on the interface language, not the document or text language! See PDF attachments.

STEPS TO REPRODUCE
-----------------------------------
Please, let me know if you can reproduce the problem
 1. Start LyX.
 2. Set your interface language to English (Tools > Preferences > Language) and restart LyX.
 3. Open the file lib/doc/Shortcuts.lyx and generate a preview in PDF.

This should produce a PDF equal to "Shortcuts_interface-en.pdf". Now do

 4. Switch interface language to Spanish (Tools > Preferences > Language) and restart LyX. 5. Open the same file again lib/doc/Shortcuts.lyx (not the Spanish version) and generate a preview in PDF.

This should yield a PDF equal to "Shortcuts_interface-es.pdf". Now

 6. Compare both PDF files.


PROBLEM
----------------
The document and the document language is the very same, but there are keys whose name change in the output; namely, CONTROL, SHIFT, TAB, ENTER, ARROW KEYS, PgUp.
Unlike the ALT key and the special word "undefined" (this one present in the PO files), which keep their names.

The problem shows in the LyX editor view as well; not just in preview or exported output PDF files.

EXPECTED BEHAVIOUR
-----------------------------------
Both PDF files should be exactly equal: changing the UI language should affect neither the output of the document, nor the displayed names of the keys in the LyX editor view.

ENVIRONMENT
------------------------
LinuxMint 21.2 (Victoria) with Cinnamon Desktop Environment.


LyX 2.4.0~RC1.devel (not released yet)


Git commit hash 2617d2de


Configuration


Host type:               x86_64-pc-linux-gnu


Special build flags:      build=development warnings assertions stdlib-assertions callback-printing use-enchant


Bundled libraries:        nod


C++ Compiler:            g++ (11.4.0)


C++ Compiler flags:       -Wall -Wextra -fPIC -g -O -std=c++17  -Wno-deprecated-copy


C++ Compiler user flags:


Linker flags:             -rdynamic


Linker user flags:


Qt Frontend:


Qt version:	   5.15.3

 



Daniel.
--
Enviat amb Tutanota.

-- 
lyx-docs mailing list
[email protected]
http://lists.lyx.org/mailman/listinfo/lyx-docs
Shortcuts.lyx (application/x-lyx, 58.2 KB) - not displayed
Shortcuts_interface-en.pdf (application/pdf, 122 KB) - not displayed
Shortcuts_interface-es.pdf (application/pdf, 123.4 KB) - not displayed
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.