Bug 115997 - EDITING Writer 6.0.1 - Hyperlink Frames do Not accept/preserve assigning a Frame name
Summary: EDITING Writer 6.0.1 - Hyperlink Frames do Not accept/preserve assigning a Fr...
Status: RESOLVED INSUFFICIENTDATA
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
6.0.1.1 release
Hardware: All Windows (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-02-24 20:35 UTC by honestyroom
Modified: 2018-10-09 11:31 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
Annotated Screenshot (457.41 KB, image/png)
2018-02-25 14:59 UTC, honestyroom
Details

Note You need to log in before you can comment on or make changes to this bug.
Description honestyroom 2018-02-24 20:35:09 UTC
Description:
the target Frame field can be entered a name,
but when clicking "Apply" or "OK"
..the form-field for "Frame" instantly renders blank

Steps to Reproduce:
1. make a hyperlink
2. assign a Named Target in the Frame-field
3. click "OK or "Apply"
= the Frame-name field renders empty

Actual Results:  
Not possible to assign named Target Frames to Hyperlinks

Expected Results:
hyperlinks given a Target Frame name
..should open in the named Target Frame


Reproducible: Always


User Profile Reset: No



Additional Info:
Version: 6.0.1.1 (x64)
Build ID: 60bfb1526849283ce2491346ed2aa51c465abfe6
CPU threads: 8; OS: Windows 10.0; UI render: default; 
Locale: en-US (en_SE); Calc: group

---

also using PDF export,
but the bug occurs already before export


User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.167 Safari/537.36
Comment 1 Regina Henschel 2018-02-25 13:20:57 UTC
(In reply to honestyroom from comment #0)
 
> Steps to Reproduce:
> 1. make a hyperlink
> 2. assign a Named Target in the Frame-field

How do you do that? The correct way would be:
1.   Select "Document" in the left part of the dialog
2.   If it is not inside the same document, click on the Browse button at the right side of the "Path" field of the "Document" section and select the document.
3.   Click on the button at the right side of the field "Target" in the "Target in Document" section. You get a list of possible targets.
4.   Double-click the desired target in the list.
Comment 2 honestyroom 2018-02-25 14:59:11 UTC
Created attachment 140135 [details]
Annotated Screenshot

PLEASE
- refer to the attached image file
with an Annotated Screenshot
Comment 3 honestyroom 2018-02-25 15:06:21 UTC
"How do you do that? The correct way would be: .."

PLEASE REFER TO THIS SCREENSHOT
https://bug-attachments.documentfoundation.org/attachment.cgi?id=140135
Comment 4 Regina Henschel 2018-02-25 19:30:27 UTC
You want to open something in a frame by clicking on an hyperlink? In older OpenOffice.org versions you would have find the frame name in the drop-down list, in case you would have uses a _floating_ frame. But as far a I know, changing the content in the floating has never worked that way.

It seems, that the content of this field is set in the target-attribute of the <a> element in an exported html-document. But using a custom frame name has never worked, because the needed html-element <frameset> was not supported in OpenOffice.org.

Do you know a version, where it was possible to manually enter a target name and get the effect you want to get?
Comment 5 honestyroom 2018-02-25 19:53:59 UTC
thank you for the swift responses
much appreciated

I'm new to Libreoffice,
so do Not have much own references
to previous usage experiences

the screenshot refers to what
appears provided upon the softwares UX

in addition, oneself refers to materials 
provided via the online help resources

the reference to online materials
https://help.libreoffice.org/Common/Internet

under the title: Further settings
and subtitle: Frame
it states:
"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."

the way oneself have read this information,
is that "the linked file" may refer to any sort of file-type,
especially due ", the linked file opens in the current browser window."
..as that then to my mind conclude as an HTML "frame name" 
(eg. "name=name-of-the-frame" - ie, 'iFrame' )

sorry if misread the help materials, and misunderstood the UX,
maybe "Frame" never account for anything else than what the term
may refer to in regard of Libreoffice internal architecture
..but then one wonders, how come there is the option provided
upon the UX and in such context as with the URL above it?


again, much thanx for all support
/Just me

PS: not currently using the Writer HTML editor,
instead only Writer and then export as PDF, which
thereafter was hoped to provide akin "targer="frame-name"
as a functionality written to the PDF
Comment 6 Xisco Faulí 2018-02-27 10:08:11 UTC
After reading comment 5, I'm ever more confused about this issue.
@Regina, should it be closed as RESOLVED NOTABUG?
Comment 7 Regina Henschel 2018-02-27 14:02:44 UTC
There are indeed bugs

(a) If you have a floating frame and enter its name manually, this information is correctly written to file, but not visible in the document, as reported here.

(b) The file has the correct reference in the attribute office:target-frame-name and the correct value xlink:show="replace" in the <text:a> element, but the replacement does not work.
The description about that attribute is http://docs.oasis-open.org/office/v1.2/os/OpenDocument-v1.2-os-part1.html#attribute-office_target-frame-name.
I'm not sure, that it had worked in any LibreOffice version, especially the part "If the named frame does not exist, a new frame with that name is created." is suspect.
 
(c) This feature corresponds to "iframe" in HTMl. But if you insert a floating frame and save the document to HTML, there is no "iframe" generated but a faulty img-element, so that the hyperlink does not work, although it has the correct target attribute. In export to XHMTL the iframe element and the target attribute  in the <a> element are missing. Same question, has it ever worked? Does it work for other exports, EPUB or PDF e.g.?

(d) The help text is very unclear about the intended use case.

Given the fact, that it is not clear whether (b) or (c) had worked, it sounds more like a WONTFIX. Perhaps we can add a warning to the help files and remove the not working parts from the UI.
Comment 8 QA Administrators 2018-09-03 14:50:17 UTC Comment hidden (obsolete)
Comment 9 QA Administrators 2018-10-09 11:31:58 UTC
Dear Bug Submitter,

Please read this message in its entirety before proceeding.

Your bug report is being closed as INSUFFICIENTDATA due to inactivity and
a lack of information which is needed in order to accurately
reproduce and confirm the problem. We encourage you to retest
your bug against the latest release. If the issue is still
present in the latest stable release, we need the following
information (please ignore any that you've already provided):

a) Provide details of your system including your operating
   system and the latest version of LibreOffice that you have
   confirmed the bug to be present

b) Provide easy to reproduce steps – the simpler the better

c) Provide any test case(s) which will help us confirm the problem

d) Provide screenshots of the problem if you think it might help

e) Read all comments and provide any requested information

Once all of this is done, please set the bug back to UNCONFIRMED
and we will attempt to reproduce the issue. Please do not:

a) respond via email 

b) update the version field in the bug or any of the other details
   on the top section of our bug tracker

Warm Regards,
QA Team

MassPing-NeedInfo-20181009