Bug 147363 - F1 in Form Properties dialog goes to "Help Page Not Found"
Summary: F1 in Form Properties dialog goes to "Help Page Not Found"
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
unspecified
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Form-Controls
  Show dependency treegraph
 
Reported: 2022-02-11 06:58 UTC by Mike Kaganski
Modified: 2024-02-18 08:39 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 Mike Kaganski 2022-02-11 06:58:26 UTC
Add a form control to a document (e.g., a pushbutton from Form menu in Writer). Right-click it, and choose "Form Properties...". Press F1 on any tab.

It opens https://help.libreoffice.org/7.3/en-US/text/shared/05/err_html.html?System=WIN&DbPAR=WRITER&HID=svx/ui/formpropertydialog/FormPropertyDialog

Note that if you press F1 second time, it will work OK. Closing the dialog and re-opening it makes F1 not work the first time again.

Tested with Version: 7.3.0.3 (x64) / LibreOffice Community
Build ID: 0f246aa12d0eee4a0f7adcefbf7c878fc2238db3
CPU threads: 12; OS: Windows 10.0 Build 19044; UI render: Skia/Raster; VCL: win
Locale: ru-RU (ru_RU); UI: en-US
Calc: CL
Comment 1 Xisco Faulí 2022-02-16 15:29:56 UTC
Reproduced in

Version: 7.4.0.0.alpha0+ / LibreOffice Community
Build ID: 49746f40b06eaf1f61bb54454408a06a49d73c5e
CPU threads: 8; OS: Linux 5.10; UI render: default; VCL: gtk3
Locale: es-ES (es_ES.UTF-8); UI: en-US
Calc: threaded

@Rafael, I thought you might be interested in this issue since you fixed bug 135935
Comment 2 Rafael Lima 2022-02-17 19:18:49 UTC
Indeed this happens with "win" and "gtk3", however I could not reproduce this bug with "gen" and "kf5".

It seems that, when the dialog is shown with "win" and "gtk3", no widget receives focus by default, thus causing this error (see that the top level of the .ui file was used as HID svx/ui/formpropertydialog/FormPropertyDialog). Then on the second attempt, a widget receives focus and pressing F1 works using the HID associated with the widget.

However, in "gen" and "kf5" one of the widgets gets focus by default when the dialog opens for the first time, and the corresponding HID is used, thus preventing the problem. I'm saying this because this problem possibly happens in many more dialogs.

What I'm planning to do is define the appropriate HID for each tab when no widget is selected. However, this specific dialog a a bit trickier.

The dialog UI file is (which only has the main frame that will contain the tabs):
https://opengrok.libreoffice.org/xref/core/svx/uiconfig/ui/formpropertydialog.ui

The dialog implementation is in:
https://opengrok.libreoffice.org/xref/core/svx/source/form/fmPropBrw.cxx

However I cannot find where the tabs are defined/created. They do not seem to have their own .ui files, nor could I find where they are created anywhere else.

@Xisco could you provide some pointer to where these tabs are created?
Comment 3 QA Administrators 2024-02-18 03:12:37 UTC
Dear Mike Kaganski,

To make sure we're focusing on the bugs that affect our users today, LibreOffice QA is asking bug reporters and confirmers to retest open, confirmed bugs which have not been touched for over a year.

There have been thousands of bug fixes and commits since anyone checked on this bug report. During that time, it's possible that the bug has been fixed, or the details of the problem have changed. We'd really appreciate your help in getting confirmation that the bug is still present.

If you have time, please do the following:

Test to see if the bug is still present with the latest version of LibreOffice from https://www.libreoffice.org/download/

If the bug is present, please leave a comment that includes the information from Help - About LibreOffice.
 
If the bug is NOT present, please set the bug's Status field to RESOLVED-WORKSFORME and leave a comment that includes the information from Help - About LibreOffice.

Please DO NOT

Update the version field
Reply via email (please reply directly on the bug tracker)
Set the bug's Status field to RESOLVED - FIXED (this status has a particular meaning that is not 
appropriate in this case)


If you want to do more to help you can test to see if your issue is a REGRESSION. To do so:
1. Download and install oldest version of LibreOffice (usually 3.3 unless your bug pertains to a feature added after 3.3) from https://downloadarchive.documentfoundation.org/libreoffice/old/

2. Test your bug
3. Leave a comment with your results.
4a. If the bug was present with 3.3 - set version to 'inherited from OOo';
4b. If the bug was not present in 3.3 - add 'regression' to keyword


Feel free to come ask questions or to say hello in our QA chat: https://web.libera.chat/?settings=#libreoffice-qa

Thank you for helping us make LibreOffice even better for everyone!

Warm Regards,
QA Team

MassPing-UntouchedBug