Bug 159564 - Customization ignores commands with TargetURL
Summary: Customization ignores commands with TargetURL
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: UI (show other bugs)
Version:
(earliest affected)
24.2.0.3 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Customise-Dialog UNO
  Show dependency treegraph
 
Reported: 2024-02-05 10:28 UTC by Harald Berger
Modified: 2024-02-05 13:46 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Harald Berger 2024-02-05 10:28:46 UTC
===IN GERMAN===

Fehlermeldung zu Impress - UI
zum Menü Anpassen - der Begriff für die Funktion "Folie duplizieren" fehlt.

Um eine Tastenkombination dem Menü "Folie duplizieren" zuzuordnen, geht man in Extras > Anpassen.
Bei der Funktionssuche im Dialog "Anpassen" gibt es aber keine Funktion "Folie duplizieren", sondern lediglich die Funktion "Seite doppeln".

Unbdarfte User vermuten, dass es für das Menü  "Folie duplizieren" keine Zuordnung einer Tastenkombination möglich ist, weil sie "Folie duplizieren" als Funktion nicht finden können.
Sie werden vermutlich nicht auf die Idee kommen, dass die Funktion "Seite doppeln" dafür nutzbar ist.

Für Impress sollte also eine eigene Funktion "Folie duplizieren" programmiert werden mit der Bezeichnung "Folie duplizieren".

Die Funktion "Seite doppeln" sollte dann nur noch für Draw zur Verfügung stehen.

Siehe auch Thread auf der DE-discuss-Liste mit dem Betreff "Impress - Folie? Seite?", Einträge vom 02. bis 05.02.2024
https://listarchives.libreoffice.org/de/discuss/2024/maillist.html#2024-02-05

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

===IN ENGLISH===

Bug message for Impress - UI
for the Customize menu - the term for the "Duplicate slide" function is missing.

To assign a key combination to the "Duplicate slide" menu, go to Tools > Customize.
In the function search in the "Customize" dialog, however, there is no "Duplicate slide" function, only the "Duplicate page" function.

Uninformed users assume that it is not possible to assign a key combination for the "Duplicate slide" menu because they cannot find "Duplicate slide" as a function.
They will probably not have the idea that the "Duplicate page" function can be used for this.

A separate "Duplicate slide" function should therefore be programmed for Impress with the name "Duplicate slide".

The "Duplicate page" function should then only be available for Draw.

See also the thread on the DE-discuss list with the subject "Impress - Slide? Page?", entries from 02. to 05.02.2024
https://listarchives.libreoffice.org/de/discuss/2024/maillist.html#2024-02-05

-------------
Version: 24.2.0.3 (X86_64) / LibreOffice Community
Build ID: da48488a73ddd66ea24cf16bbc4f7b9c08e9bea1
CPU threads: 8; OS: Windows 10.0 Build 19045; UI render: Skia/Raster; VCL: win
Locale: de-DE (de_DE); UI: de-DE
Calc: CL threaded
Comment 1 Heiko Tietze 2024-02-05 10:57:09 UTC
The UI goes with "Duplicate Slide" vs "Duplicate Page" for many years. Has been done for bug 84258 in https://github.com/LibreOffice/core/commit/223b07bb52823eb50b85d283572cb543378afbd1 and works well. 

      <node oor:name=".uno:DuplicatePage" oor:op="replace">
        <prop oor:name="Label" oor:type="xs:string">
          <value xml:lang="en-US">Duplicate Page</value>
          ...
      <node oor:name=".uno:DuplicateSlide" oor:op="replace">
        <prop oor:name="Label" oor:type="xs:string">
          <value xml:lang="en-US">Duplicate ~Slide</value>
        </prop>
        <prop oor:name="TargetURL" oor:type="xs:string">
          <value>.uno:DuplicatePage</value>
        </prop>
        ...

The issue is obviously on the customization side where just the first command is listed in both Draw and Impress. 

Tested with 7.6 and 

Version: 24.8.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 7a3e9c66baff8554d1267bc98c9c69e763bc8bdc
CPU threads: 8; OS: macOS 14.3; UI render: Skia/Metal; VCL: osx
Locale: en-US (en_DE.UTF-8); UI: en-US
Calc: threaded
Comment 2 linuxuser330250 2024-02-05 13:32:36 UTC
Yes, I can confirm this. I'm also running the German version of LibreOffice, on Gentoo Linux. Version: app-office/libreoffice-7.5.9.2 (which is the current stable version, not the current "testing" version...)

When I go to "Extras" menu, "Anpassen" and try to add "Folie duplizieren", it's nowhere to be found. I is, however, in the (Extras/Anpassen, Reiter:) "Symbolleisten" - "Bereich" (right side) - Ziel "Präsentation" under "Zugewiesene Befehle", but I cannot place it anywhere else, or add it to a keyboard shortcut or anything the-like.

So, being on Gentoo and being used to the terminal, I ran:
LC_ALL="C" loimpress
and got an English language version, so here it is in English:

"Tools" - "Customize", I now DO find "Duplicate Page" everywhere. So I went on to go to Tools/Customize - (tab:) Keyboard, searched for the function "dup" and fond "Duplicate" and "Duplicate Page", marked the later, then went to, say, "Ctrl+Down" and clicked "Modify", and got now Duplicate Page liked with Ctrl+Down.

Clicked OK and closed (English) LibreOffice. The assigned key to duplicate a slide still works. Also, a right-click on any slide now shows "Strg+Herunter" (which is "Ctrl+Down") as the hotkey for "Folie duplizieren" ("Dublicate Slide").

So it is a bug, but it's not visible in the English language UI.

To the original poster (bug reporter): #1 you're correct, it is a bug, and #2 as a workaround try the english UI to set the hotkey...
Comment 3 linuxuser330250 2024-02-05 13:41:59 UTC
Follow-up: The translation is wrong. "Folie duplizieren" becomes "Seite doppeln" in all the customization dialogs, which is so different that it cannot be assumed that someone might find it that way...
Comment 4 linuxuser330250 2024-02-05 13:46:28 UTC
MENU being whatever is used in the (context) menus,
FUNCTION is the function name for the same menu item, only when searching for it e.g. in the Tools/Customization dialogs...

English UI:

MENU: Duplicate Slide --> FUNCTION: Duplicate Page

German UI:

MENU: Folie duplizieren --> FUNCTION: Seite doppeln


I'd consider this a bug, because menu names and function names should be identical, OR at least when searching for a function, it should be found by the menu name as well.