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

--- Comment #4 from Andreas Heinisch <[email protected]> ---
I tried to investigate this error. Here are my findings:

For both Calc and Writer the URL will be open in:
https://opengrok.libreoffice.org/xref/core/sfx2/source/appl/appopen.cxx?r=5021a10f#1078

The only difference is that the target of the URL is "empty" for Calc and
"_blank" for Writer, if you try to open it using CTRL+click. However, if Writer
opens the URL via context menu, the target is "empty" as well.

Calc will add the "_blank" target, if SHIFT is enabled, which is IMHO wrong:
https://opengrok.libreoffice.org/xref/core/sc/source/core/data/global.cxx?r=1b7fc505#810

Writer adds the "_blank" target in:
https://opengrok.libreoffice.org/xref/core/sw/source/uibase/wrtsh/wrtsh2.cxx?r=aa818a0b#546,
because of the CTRL modifier in:
https://opengrok.libreoffice.org/xref/core/sw/source/uibase/docvw/edtwin.cxx?r=216a43bc#4691.

Imho, this is not a macro problem, but a problem in the target handling in
appopen.cxx and the supported protocols for the "_blank" target.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to