Created attachment 120205 [details] Text box with broken link handling If you add multi hyperlinks to an impress slide, where the first link is wrapped multiple lines, further links are assigned "off-by-one". This means that for the attached document, the second links target is actually assigned to the wrapped part of the first link and the second link is not handled as a link at all. Same happens for wrapped links in writers text boxes.
Created attachment 120206 [details] Broken link handling in Impress
I can confirm with LO 5.0.2.2 and Version 4.0.0.3 (Build ID: 7545bee9c2a0782548772a21bc84a9dcc583b89) win7
I have found more problems in this case (tested only in writer) Always in the Textfield 1. When i insert in the attached "Text box with broken links handling" the link https://wiki.documentfoundation.orgCoreHacks #OOXML_export_and_import_of_Impress_text_fields then the text break at the end of the Textfield is wrong (overwritten). 2. The tooltip (CTRL+Click to follow link: --link--) is missing. 3. Over menu: Insert->Hyperlink... in the Dialog you can set a text for the Target, then the given text is show, but it is no as a link recognizable. The other question is, why when the Textfield in edit modus, the links always show in one line and cut at the end of textfield. But when you leave the edit mode then the links breaks in two or more lines?! This problem is in Textfield and Document the same, when you insert (copy or typing) a link and do not enter or space at the end, then the link would not be identified as a link, because the enter or the space existing.
In the ParaPortion is the content of the Textfield, but the links always with one line. The test is to scan this ParaPortion and then it is wrong when the link need more as one lines. The question is here what is wrong, the test of the ParaPortion or the content of the ParaPortion, and why is a diffrent between the edit modus and show mode? Hints: For point 2 in comment:3 in sw/source/uibase/docvw/edtwin2.cxx in line 145: if( rsh.GetContentAtPos( aPos, aContentAtPos, false, &aFieldRect ) ) should be tested of TextField with rsh.IsObjSelectable( rLpt ) For point 3 in comment:3 in svx/source/svdraw/svdview.cxx: in line 459: bool bTEHit(pPV && SdrObjectPrimitiveHit(*pTextObj, aLocalLogicPosition, 0, *pPV, &pPV->GetVisibleLayers(), true)); in this case get '''false'''.
** Please read this message in its entirety before responding ** To make sure we're focusing on the bugs that affect our users today, LibreOffice QA is asking bug reporters and confirmers to retest open, confirmed bugs which have not been touched for over a year. There have been thousands of bug fixes and commits since anyone checked on this bug report. During that time, it's possible that the bug has been fixed, or the details of the problem have changed. We'd really appreciate your help in getting confirmation that the bug is still present. If you have time, please do the following: Test to see if the bug is still present on a currently supported version of LibreOffice (5.2.5 or 5.3.0 https://www.libreoffice.org/download/ If the bug is present, please leave a comment that includes the version of LibreOffice and your operating system, and any changes you see in the bug behavior If the bug is NOT present, please set the bug's Status field to RESOLVED-WORKSFORME and leave a short comment that includes your version of LibreOffice and Operating System Please DO NOT Update the version field Reply via email (please reply directly on the bug tracker) Set the bug's Status field to RESOLVED - FIXED (this status has a particular meaning that is not appropriate in this case) If you want to do more to help you can test to see if your issue is a REGRESSION. To do so: 1. Download and install oldest version of LibreOffice (usually 3.3 unless your bug pertains to a feature added after 3.3) http://downloadarchive.documentfoundation.org/libreoffice/old/ 2. Test your bug 3. Leave a comment with your results. 4a. If the bug was present with 3.3 - set version to "inherited from OOo"; 4b. If the bug was not present in 3.3 - add "regression" to keyword Feel free to come ask questions or to say hello in our QA chat: http://webchat.freenode.net/?channels=libreoffice-qa Thank you for helping us make LibreOffice even better for everyone! Warm Regards, QA Team MassPing-UntouchedBug-20170306
The bug still exists on master (AKA 5.4 ATM).
Fixed with https://cgit.freedesktop.org/libreoffice/core/commit/?id=d62d07b3d29014f76c0d676c891cbafa80d0765f