[Libreoffice-bugs] [Bug 118588] [NEWHELP] Editing; There seems to be no help entry dealing with inserting or working with tables in the Impress pages

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Fri Sep 24 06:07:24 UTC 2021


https://bugs.documentfoundation.org/show_bug.cgi?id=118588

--- Comment #4 from Ross Johnson <ross.johnson at homemail.com.au> ---
(In reply to V Stuart Foote from comment #1)
> Think it should be linking to the "Table Bar" article, which does show in
> the shared "default toolbar configuration" article -> main0200.html for
> IMPRESS help, but on selection it is annotated as a WRITER article. Guess
> there is a whole class of these that need some sort of cross index?
> 
> https://help.libreoffice.org/6.1/en-US/text/shared/main0204.
> html?&DbPAR=WRITER&System=WIN

This bug has frustrated my attempt to resolve another issue.

I believe the help is there but here is what I found by tracing the process:

* If you set the environment variable HELP_DEBUG then run Libreoffice, the help
target strings can be seen when hovering over an icon etc. I see the correct
target strings in the Table bar (both in Impress and Writer), eg,
"swriter:.uno:MergeCells" for the Merge Cells icon.

* Tracing the "help.index.html" file, which contains the javascript that
formats the final URL for the help page, I see it is passed a different target
string, eg, "swriter:.uno:SW_HID_EDIT_WIN". This is the target for Writer's
main page. This target is also the target for the page pane itself (in Writer).

* The other icons in the Table bar are presumably the same.

What I imagine is happening is that the pressing the F1 key etc is picking up
the target string that belongs to the pane underneath.

An easy way to check this is by inserting a line of javascript into the built
version of "help/index.html", eg, adding "confirm(target);":

        if (n != -1) {
            // the URL came from LibreOffice help (F1)
            var target = getParameterByName("Target",url);
            confirm(target);
            var lang = existingLang(getParameterByName("Language", url));
            var system = getParameterByName("System", url);

Then try the F1 help. You'll see the page start to load then a messagebox
appear.

In Impress I get "simpress/SD_HID_SDDRAWVIEWSHELL" for every icon in that Table
bar instead of the target string shown for the icon in the tip bubble.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20210924/2c8e72f4/attachment.htm>


More information about the Libreoffice-bugs mailing list