Bug 130330 - Edit field dialog show different help pages on two clicks of Help button
Summary: Edit field dialog show different help pages on two clicks of Help button
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Documentation (show other bugs)
Version:
(earliest affected)
7.0.0.0.alpha0+
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Help-Link
  Show dependency treegraph
 
Reported: 2020-01-31 15:46 UTC by sdc.blanco
Modified: 2023-02-14 19:48 UTC (History)
1 user (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 sdc.blanco 2020-01-31 15:46:58 UTC
1.  Insert a variable (Ctrl-F2, Variable tab, Set variable, Insert)
2.  Right-click on inserted field, choose "Edit field"
3.  Click on Help button  (goes to:  https://help.libreoffice.org/7.0/en-US/text/swriter/01/04090005.html)
4.  Click on Help button again (goes to: https://help.libreoffice.org/7.0/en-US/text/swriter/01/04090300.html)

Additional information:
1. Repeated clicks on Help will continue to go to the help page in step 4.
2. Always replicable (i.e., closing the dialog box and restarting from step 2 gives the same result).
Comment 1 Olivier Hallot 2020-02-01 06:38:38 UTC
One is the help page opened by the dialog box, the other is the help page opened by the tab page inside the dialog box. 

Is is an fix around the right <bookmark href="hid/..." .../>
Comment 2 Rafael Lima 2022-01-04 18:45:09 UTC
Using the context menu (right click the field > Edit Fields) the Help button should take to:
[1] https://help.libreoffice.org/7.4/en-US/text/swriter/01/04090300.html

Instead of:
[2] https://help.libreoffice.org/7.4/en-US/text/swriter/01/04090005.html

However, using the Ctrl + F2 method (which opens the dialog to insert Fields), then it is correct to open [2].

Both methods end up using the same HID (modules/swriter/ui/fldvarpage/FieldVarPage) because they are actually the same UI file. This is why [2] is always the target of the Help button.

Does anyone know if there's a fix for this at the XHP level?
Comment 3 Olivier Hallot 2023-02-14 19:48:48 UTC
tested in 7.5