Bug 162536 - Hyperlink Dialog : tab not chosen according to link type, but according to last applied type
Summary: Hyperlink Dialog : tab not chosen according to link type, but according to la...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
3.5.0 release
Hardware: All All
: low minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Hyperlink-Dialog
  Show dependency treegraph
 
Reported: 2024-08-21 09:27 UTC by DM
Modified: 2024-11-27 18:02 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 DM 2024-08-21 09:27:23 UTC
Description:
When you Ctrl-K on a URL hyperlink it doesn't open the dialog on the Hyperlink tab if the dialog was last closed not on that tab (e.g. if you had used an internal document link, or just open the dialog, change tab and then close it).
I dare say this would be a general problem affecting its opening for any kind of link.
Obviously the tab chosen should reflect the type of link being edited.

Steps to Reproduce:
.

Actual Results:
.

Expected Results:
.


Reproducible: Always


User Profile Reset: No

Additional Info:
Version: 24.8.0.3 (X86_64) / LibreOffice Community
Build ID: 0bdf1299c94fe897b119f97f3c613e9dca6be583
CPU threads: 8; OS: Windows 10 X86_64 (10.0 build 19045); UI render: Skia/Raster; VCL: win
Locale: en-GB (en_GB); UI: en-GB
Calc: threaded
Comment 1 DM 2024-08-21 09:51:36 UTC
A quick test, and whilst a URL will open with a Document link tab if last closed on the latter, the reverse isn't true, opening from a Document link when last used for a URL will change the tab to the right one
Comment 2 Dieter 2024-09-29 10:14:43 UTC
I can't confirm with

Version: 25.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: f7fbf6504fd6190187f6e4d092af880ba8c7bf6a
CPU threads: 4; OS: Windows 10 X86_64
(10.0 build 19045); UI render: Skia/Raster; VCL: win
Locale: de-DE (de_DE); UI: en-GB
Calc: CL threaded

Steps:
1. Create a URL Hyperlink
2. Create an internal link to another document
3. Place cursor into URL Hyperlink -> Ctrl+K -> Hyperlink dialog opens with Internet tab selected (expected) -> Close
4. Place cursor into link to document -> Ctrl+K -> Hyperlink dialog opens with document tab selected (expected) -> Close
Comment 3 Buovjaga 2024-11-27 18:02:42 UTC
(In reply to Dieter from comment #2)
> Steps:
> 1. Create a URL Hyperlink
> 2. Create an internal link to another document
> 3. Place cursor into URL Hyperlink -> Ctrl+K -> Hyperlink dialog opens with
> Internet tab selected (expected) -> Close
> 4. Place cursor into link to document -> Ctrl+K -> Hyperlink dialog opens
> with document tab selected (expected) -> Close

Modified step 4: Place cursor into link to document -> Ctrl+K -> Hyperlink dialog opens with document tab selected. Click OK to apply even without any change.
5. Place cursor into URL Hyperlink -> Ctrl+K -> Hyperlink dialog opens with document tab selected (unexpected)

Repro already in 3.5.

Arch Linux 64-bit
Version: 25.2.0.0.alpha1+ (X86_64) / LibreOffice Community
Build ID: ec68e9884a362693d5f5b1bbbe167bc72b585999
CPU threads: 8; OS: Linux 6.11; UI render: default; VCL: kf6 (cairo+wayland)
Locale: fi-FI (fi_FI.UTF-8); UI: en-US
Calc: CL threaded
Built on 27 November 2024