Bug 159505 - (F1) Broken help page links for multiple menu bar items in Draw are broken
Summary: (F1) Broken help page links for multiple menu bar items in Draw are broken
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Documentation (show other bugs)
Version:
(earliest affected)
unspecified
Hardware: All other
: medium minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
: 157625 (view as bug list)
Depends on:
Blocks: Help-Link
  Show dependency treegraph
 
Reported: 2024-02-01 15:01 UTC by Dione Maddern
Modified: 2024-08-08 18:23 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
Screenshot of Error Message (196.46 KB, image/png)
2024-02-01 15:01 UTC, Dione Maddern
Details
Screenshot for the "Organize Macros" case on Linux with the qt6 VCL plugin (4.32 MB, video/x-matroska)
2024-08-08 08:41 UTC, Michael Weghorn
Details
Screencast of "Organize Macros" case on Linux with VCL x11 (694.88 KB, video/x-matroska)
2024-08-08 15:09 UTC, Dione Maddern
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dione Maddern 2024-02-01 15:01:20 UTC
Created attachment 192324 [details]
Screenshot of Error Message

In Draw:
Steps to Reproduce: Tools > Macros > Organize Macros, press F1
Expected result: Open Help page for Organize Macros (text/shared/01/06130200.xhp)
Actual Result: 404 Error  Help ID: .help:index

Steps to reproduce: Window > "Document Name", press F1
Expected result: Open help page for Document List (/text/shared/01/07080000.xhp)
Actual Result: 404 Error  Help ID: .help:index
Comment 1 gladys 2024-02-06 18:51:47 UTC
Hello Dione,

Thank you for reporting the bug. 
I can confirm that the bug is present in master.

Version: 24.8.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 4d381b54d1c598c181b4a21a8bf0db86eb4668d1
CPU threads: 4; OS: Windows 10.0 Build 19045; UI render: Skia/Raster; VCL: win
Locale: en-GB (en_GB); UI: en-GB
Calc: CL threaded

and in version:
Version: 7.6.4.1 (X86_64) / LibreOffice Community
Build ID: e19e193f88cd6c0525a17fb7a176ed8e6a3e2aa1
CPU threads: 4; OS: Windows 10.0 Build 19045; UI render: Skia/Raster; VCL: win
Locale: en-GB (en_GB); UI: en-GB
Calc: CL threaded
Comment 2 Michael Weghorn 2024-08-08 08:41:39 UTC
Created attachment 195766 [details]
Screenshot for the "Organize Macros" case on Linux with the qt6 VCL plugin
Comment 3 Michael Weghorn 2024-08-08 08:43:43 UTC
(In reply to Dione Maddern from comment #0)
> In Draw:
> Steps to Reproduce: Tools > Macros > Organize Macros, press F1
> Expected result: Open Help page for Organize Macros
> (text/shared/01/06130200.xhp)
> Actual Result: 404 Error  Help ID: .help:index

I cannot reproduce this case with the qt6 VCL plugin on Linux, see attached screencast attachment 195766 [details] which opens the correct page for me. (Maybe some Windows-specific issue?) I'm using the online help however, don't know whether that makes any difference.

> Steps to reproduce: Window > "Document Name", press F1
> Expected result: Open help page for Document List
> (/text/shared/01/07080000.xhp)
> Actual Result: 404 Error  Help ID: .help:index

I can reproduce that. Code pointer on where that could possibly be fixed sent to the dev mailing list:
https://lists.freedesktop.org/archives/libreoffice/2024-August/092296.html

Version: 25.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: e459d2dc2ddafa14c442132493e39b987892cd16
CPU threads: 32; OS: Linux 6.9; UI render: default; VCL: qt6 (cairo+wayland)
Locale: en-GB (en_GB.UTF-8); UI: en-US
Calc: CL threaded
Comment 4 Dione Maddern 2024-08-08 15:09:12 UTC
Created attachment 195771 [details]
Screencast of "Organize Macros" case on Linux with VCL x11
Comment 5 Dione Maddern 2024-08-08 15:19:23 UTC
(In reply to Michael Weghorn from comment #3)
> (In reply to Dione Maddern from comment #0)
> > In Draw:
> > Steps to Reproduce: Tools > Macros > Organize Macros, press F1
> > Expected result: Open Help page for Organize Macros
> > (text/shared/01/06130200.xhp)
> > Actual Result: 404 Error  Help ID: .help:index
> 
> I cannot reproduce this case with the qt6 VCL plugin on Linux, see attached
> screencast attachment 195766 [details] which opens the correct page for me.
> (Maybe some Windows-specific issue?) I'm using the online help however,
> don't know whether that makes any difference.

That's interesting. I still get the problem, and I'm also running Linux. Although I'm using x11.

I'm not sure how to link to an attachment in here, but I've uploaded a screencast.

Version: 25.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 8950ae3095c43d6217cb53d1e8969ccf3a0b56ac
CPU threads: 8; OS: Linux 6.9; UI render: default; VCL: x11
Locale: en-US (en_US.UTF-8); UI: en-US
Calc: CL threaded
Comment 6 Dione Maddern 2024-08-08 15:21:49 UTC
And thanks for your help. I'll look at the mailing list and see if I can figure it out.
Comment 7 Michael Weghorn 2024-08-08 15:44:29 UTC
(In reply to Dione Maddern from comment #5)
> That's interesting. I still get the problem, and I'm also running Linux.
> Although I'm using x11.

I retried with x11, and see this: It works fine when using the keyboard to navigate through the menu, but I can reproduce the issue when I only move the mouse pointer over the entry instead (which is what I can see in your screencast).

For qt6, the version I tried earlier, it also works on mouse-hover, but that's using a different code path from the x11 VCL plugin as native Qt menus are used there. (Windows might be using the same code path as the gen/x11 VCL plugin.)

(In reply to Dione Maddern from comment #6)
> And thanks for your help. I'll look at the mailing list and see if I can
> figure it out.

Great, thanks for looking into this!
(And if you have any questions, please don't hesitate to ask.)
Comment 8 Dione Maddern 2024-08-08 18:23:22 UTC
*** Bug 157625 has been marked as a duplicate of this bug. ***