Bug 159150 - The dialog name on UI is different from extended tip.
Summary: The dialog name on UI is different from extended tip.
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.6.4.1 release
Hardware: All All
: medium minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: AutoText Options-Dialog-Paths
  Show dependency treegraph
 
Reported: 2024-01-12 13:17 UTC by taichi
Modified: 2024-01-29 09:47 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 taichi 2024-01-12 13:17:19 UTC
Description:
Click button in AutoText dialog, the Select Paths dialog will be dialog.
However, the Extended Tips for the Paths button says "Opens the Edit Paths dialog, where you can select the directory to store AutoText."

https://git.libreoffice.org/core/+/master/sw/uiconfig/swriter/ui/autotext.ui#224

Also, the notation on the help page is "Edit Paths" instead of "Select Paths".
https://help.libreoffice.org/7.6/en-US/text/shared/optionen/01010301.html


Steps to Reproduce:
1. Choose Tools - AutoText. 
2. Point the "Path" button with a cursor.

Actual Results:
The extended tip "Opens the Edit Paths dialog, where you can select the directory to store AutoText." is displayed.

Expected Results:
The extended tip "Opens the Select Paths dialog, where you can select the directory to store AutoText." is displayed.


Reproducible: Always


User Profile Reset: Yes

Additional Info:
Version: 7.6.4.1 (X86_64) / LibreOffice Community
Build ID: e19e193f88cd6c0525a17fb7a176ed8e6a3e2aa1
CPU threads: 12; OS: Windows 10.0 Build 22631; UI render: Skia/Vulkan; VCL: win
Locale: ja-JP (ja_JP); UI: ja-JP
Calc: threaded
Comment 1 Stéphane Guillou (stragu) 2024-01-28 05:46:46 UTC
Confirmed that there is a mismatch between help, tooltip and dialog title.
However, I am not sure it's the help and tooltip that should change: to me, it makes sense to use "Edit Paths" for the dialog, because it's not really about selecting paths. It's about adding or removing them.

But there's more to it:

Looks like two dialogs use the same title: https://opengrok.libreoffice.org/search?project=core&full=%22select+paths%22&defs=&refs=&path=&hist=&type=&xrd=&nn=1&si=full&si=full
What is the "multipath" dialog?

Plus, this dialog is different: Tools > Options > LibreOffice > Paths > AutoText > Edit
It allows choosing a default path, and does not list the internal path.

Heiko, what do you think? To me, it seems that that "Path..." button in the AutoText dialog should instead open the same dialog as the one in the Options dialog. (As it hides the internal, undeletable path, and allows choosing a default path. And simplifies things.)

Version: 24.8.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 2cedb1a19ad605df4e148589e9027512e4dd9265
CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: gtk3
Locale: en-AU (en_AU.UTF-8); UI: en-US
Calc: threaded
Comment 2 Stéphane Guillou (stragu) 2024-01-28 05:47:58 UTC
(or, you know what, even remove that "Path" button from the AutoText dialog... That dialog is a nightmare of usability anyway...)
Comment 3 Stéphane Guillou (stragu) 2024-01-28 05:50:47 UTC
(In reply to Stéphane Guillou (stragu) from comment #2)
> (or, you know what, even remove that "Path" button from the AutoText
> dialog... That dialog is a nightmare of usability anyway...)
(AutoCorrect and the Template Manager do not have a Path button, so why should AutoText...)
Comment 4 Heiko Tietze 2024-01-29 09:47:11 UTC
(In reply to Stéphane Guillou (stragu) from comment #1)
> it makes sense to use "Edit Paths" for the dialog, because it's not really
> about selecting paths. It's about adding or removing them.
+1 (NAB)

> What is the "multipath" dialog?
SvxMultiPathDialog, seems not in use however.

> Plus, this dialog is different: Tools > Options > LibreOffice > Paths >
> AutoText > Edit
> It allows choosing a default path, and does not list the internal path.
True, that's ugly.

> Heiko, what do you think? To me, it seems that that "Path..." button in the
> AutoText dialog should instead open the same dialog as the one in the
> Options dialog.
Why do we need the configuration at all in this dialog?

Maybe a path is being added when autotext is imported from a template. Which is only available for ancient Word formats. I suggest to drop it.

I'm using autotext from a macro, and this is added to the path. Pointless to show it.

To sum up, I suggest to remove interaction and code to import autotext from Word templates, and the access to path in this dialog. The configuration what path provides autotext should be done only via tools > options.