Bug 92869 - Hyperlink "Frame" value not displayed if entered manually
Summary: Hyperlink "Frame" value not displayed if entered manually
Status: RESOLVED WONTFIX
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
4.4.4.3 release
Hardware: x86-64 (AMD64) All
: medium minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Hyperlink-Dialog
  Show dependency treegraph
 
Reported: 2015-07-22 10:59 UTC by Gil Shwartz
Modified: 2022-06-11 17:19 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
Writer file with various frame target settings. (10.50 KB, application/vnd.oasis.opendocument.text)
2015-07-30 21:57 UTC, Gil Shwartz
Details
File saved as HTML with correct link targets (1.75 KB, text/html)
2015-07-30 21:57 UTC, Gil Shwartz
Details
File exported as XHTML not exporting the link targets (3.38 KB, text/html)
2015-07-30 21:58 UTC, Gil Shwartz
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Gil Shwartz 2015-07-22 10:59:03 UTC
The Help specifies the behavior of the Frame control:

"Enter the name of the frame that you want the linked file to open in, or select a predefined frame from the list. If you leave this box blank, the linked file opens in the current browser window."

If one selects one of the predefined frames, the selection is displayed on the next opening of the dialog. When one enters a name for the frame, this name is _not_ displayed in the dialog on the next open, while it is kept in the document. One can verify that the value is remembered but not displayed if the document is _saved_ (not exported) as HTML. The HTML code have the correct link target.
Comment 1 Buovjaga 2015-07-30 18:05:18 UTC
I could not figure out, how to test this.
Can you give more detailed steps on what I should do after inserting a frame?

Set to NEEDINFO.
Change back to UNCONFIRMED after you have provided the information.
Comment 2 Gil Shwartz 2015-07-30 21:57:14 UTC
Created attachment 117545 [details]
Writer file with various frame target settings.
Comment 3 Gil Shwartz 2015-07-30 21:57:50 UTC
Created attachment 117546 [details]
File saved as HTML with correct link targets
Comment 4 Gil Shwartz 2015-07-30 21:58:13 UTC
Created attachment 117547 [details]
File exported as XHTML not exporting the link targets
Comment 5 Gil Shwartz 2015-07-30 22:00:14 UTC
I was sure I have previously loaded these files, but anyway here is an example with the various results.
Comment 6 Gil Shwartz 2015-07-30 22:07:20 UTC
Specifically you can follow these stesp:

1. Insert a link with a frame target from the list of frame targets.
2. Close the dialog.
3. Open the dialog again (edit the link).
4. Verify that the selected frame target is as selected.
5. Now replace the selected frame target with a named one, e.g. "libreoffice" as the name of the frame in which to open the link.
6. Close the dialog again.
7. Open the dialog again.
8. Notice that the name of the frame target (in our example "libreoffice") is NOT displayed in the frame target field. This is the bug.
9. Verify that LO remembers the correct named frame target by saving the file a HTML (not via export but via save as). Check out the HTML and see the frame target "libreoffice" as the target of the link.
Comment 7 Buovjaga 2015-07-31 11:06:39 UTC
Reproduced.

Win 7 Pro 64-bit Version: 5.1.0.0.alpha1+
Build ID: 902255645328efde34ddf62227c8278e8dd61ff0
TinderBox: Win-x86@39, Branch:master, Time: 2015-07-30_03:52:07
Locale: en-US (fi_FI)
Comment 8 QA Administrators 2016-09-20 10:21:18 UTC Comment hidden (obsolete)
Comment 9 Gil Shwartz 2016-09-20 16:20:27 UTC
Bug still exists in LO 5.2.1 on Linux Mint 17.3 (Ubuntu 14.04).
Comment 10 QA Administrators 2018-09-07 02:44:26 UTC Comment hidden (obsolete)
Comment 11 QA Administrators 2020-09-07 03:52:48 UTC Comment hidden (obsolete)
Comment 12 Andreas Heinisch 2022-06-11 16:38:14 UTC
When Bug 133675 will be fixed, we should close this as WONTFIX since there does not exist the possibility anymore to insert something in the frame field since the widget is not a editbox anymore, but a dropdown.
Comment 13 Buovjaga 2022-06-11 17:19:02 UTC
Thanks. I think we should close this already.