Bug 163482 - Insert Hyperlink when added to context menu displays Character dialog not Hyperlink dialog
Summary: Insert Hyperlink when added to context menu displays Character dialog not Hyp...
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
24.8.2.1 release
Hardware: x86-64 (AMD64) All
: medium minor
Assignee: Buovjaga
URL:
Whiteboard: target:25.2.0 target:24.8.3
Keywords:
: 163480 (view as bug list)
Depends on:
Blocks:
 
Reported: 2024-10-17 02:35 UTC by Ash
Modified: 2024-11-16 19:10 UTC (History)
2 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 Ash 2024-10-17 02:35:26 UTC
Description:
Adding "Insert Hyperlink" command to the right click menu under LibreOffice Writer with Target set to Text displays the Character dialog instead of the Hyperlink dialog.

Steps to Reproduce:
1. In LibreOffice Writer, select Tools/Customise/Context Menus.
2. Set Scope to LibreOffice Writer and Target to Text.
3. From Available Commands, add "Insert Hyperlink" to the "Assigned Commands"
4. Select OK
5. Within the document, right click and select the newly added "Insert Hyperlink"
6. Cancel the dialog, and select from the menubar: Insert/Hyperlink.  (The correct Hyperlink dialog is displayed).

Actual Results:
The Character dialog box is displayed instead of the Hyperlink dialog

Expected Results:
The correct Hyperlink dialog should be displayed instead of the incorrect dialog.


Reproducible: Always


User Profile Reset: Yes

Additional Info:
Version: 24.8.2.1 (X86_64) / LibreOffice Community
Build ID: 0f794b6e29741098670a3b95d60478a65d05ef13
CPU threads: 8; OS: Windows 11 X86_64 (10.0 build 22631); UI render: Skia/Vulkan; VCL: win
Locale: en-AU (en_AU); UI: en-GB
Calc: CL threaded
Comment 1 Samuel Carleial 2024-10-21 13:56:11 UTC
I could replicate the bug

== testing ==
Version: 25.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 3287deb82ef0ee2048f733ae981961f527888727
CPU threads: 8; OS: macOS 13.7; UI render: Skia/Metal; VCL: osx
Locale: pt-BR (pt_BR.UTF-8); UI: en-US
Calc: threaded

Version: 24.8.2.1 (X86_64) / LibreOffice Community
Build ID: 0f794b6e29741098670a3b95d60478a65d05ef13
CPU threads: 8; OS: macOS 13.7; UI render: Skia/Metal; VCL: osx
Locale: pt-BR (pt_BR.UTF-8); UI: en-US
Calc: threaded
Comment 2 Buovjaga 2024-10-22 12:33:14 UTC
Still some cleanup left to do after bug 132253.
Comment 3 Commit Notification 2024-10-25 13:41:14 UTC
Ilmari Lauhakangas committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/f0cf85983d0b04a9889c45e26ce8fd9dc022fc89

tdf#132253 tdf#163482 Use .uno:InsertHyperlinkDlg as alias

It will be available in 25.2.0.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.
Comment 4 Commit Notification 2024-10-25 15:54:54 UTC
Ilmari Lauhakangas committed a patch related to this issue.
It has been pushed to "libreoffice-24-8":

https://git.libreoffice.org/core/commit/eb72179d040e92baeb3cb02cc1aa8a327b54cbda

tdf#132253 tdf#163482 Use .uno:InsertHyperlinkDlg as alias

It will be available in 24.8.3.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.
Comment 5 Buovjaga 2024-11-16 19:10:23 UTC
*** Bug 163480 has been marked as a duplicate of this bug. ***