When a hyperlink that exists in one writer document but points to a bookmark existing in a second writer document is activated with CTL-Click, it fails to set the cursor to the location of the bookmark in the second document to which it is pointing. If the second document is closed when the hyperlink is activated, the cursor is set to the top of the document; if open, the current cursor position is selected. The correct function should be to set or move the cursor in the second document to the beginning of the hyperlinked bookmark, regardless of whether the second document is open or closed when the hyperlink is activated. Tested in version 7.1.3.2; observed possibly as far back as version 6.0.
please attach these two documents or write step by step how to create it
Created attachment 172467 [details] test file (1) This bug occurs with .doc files, but not with .odt files. (2) I am supplying a .zip file TestFiles.zip containing two .doc test files, TestFile1.doc and TestFile2.doc, and corresponding .odt files. I tested both these pairs residing in a subdirectory named 'Hyperlink bug'. I'm unsure, if the files reside in a differently named directory, the hyperlink with text '28345499' in TestFile1.doc may need to be removed and chosen to point anew to the bookmark labeled 'Mofidi17' in TestFile2.doc; same for the .odt files. (3) Perform Test A as follows: (a) With TestFile2.doc closed, open TestFile1.doc. (b) Perform a 'CTL-LeftMouse Click' on the hyperlink with text '28345499'. (c) Observe that TestFile2.doc opens with the cursor pointing to the top of the file, with page 1 being displayed. (d) Perform this same test with TestFile1.odt and TestFile2.odt. (e) Observe that when TestFile2.odt opens, the cursor points to the bookmark labeled 'Mofidi17' and page 3 is displayed. This is the correct behavior in my opinion. (4) Perform Test B as follows: (a) With TestFile1.doc closed, open TestFile2.doc. (b) Point the cursor to 'Middleton' on page 2. (c) Open TestFile1.doc (d) Perform a 'CTL-LeftMouse Click' on the hyperlink with text '28345499'. (e) Observe that TestFile2.doc opens with the cursor pointing to the top of page 2, with page 2 being displayed. (d) Perform this same test with TestFile1.odt and TestFile2.odt. (e) Observe that after the 'CTL-LeftMouse Click' has been performed, the cursor in TestFile2.odt points to the bookmark labeled 'Mofidi17' and page 3 is displayed. This is the correct behavior in my opinion.
Created attachment 172468 [details] (1) This bug occurs with .doc files, but not with .odt files. (2) I am supplying two .doc test files, TestFile1.doc and TestFile2.doc, and corresponding .odt files. I tested both these pairs residing (1) This bug occurs with .doc files, but not with .odt files. (2) I am supplying two .doc test files, TestFile1.doc and TestFile2.doc, and corresponding .odt files. I tested both these pairs residing in a subdirectory named 'Hyperlink bug'. I'm unsure, if the files reside in a differently named directory, the hyperlink with text '28345499' in TestFile1.doc may need to be removed and chosen to point anew to the bookmark labeled 'Mofidi17' in TestFile2.doc; same for the .odt files. (3) Perform Test A as follows: (a) With TestFile2.doc closed, open TestFile1.doc. (b) Perform a 'CTL-LeftMouse Click' on the hyperlink with text '28345499'. (c) Observe that TestFile2.doc opens with the cursor pointing to the top of the file, with page 1 being displayed. (d) Perform this same test with TestFile1.odt and TestFile2.odt. (e) Observe that when TestFile2.odt opens, the cursor points to the bookmark labeled 'Mofidi17' and page 3 is displayed. This is the correct behavior in my opinion. (4) Perform Test B as follows: (a) With TestFile1.doc closed, open TestFile2.doc. (b) Point the cursor to 'Middleton' on page 2. (c) Open TestFile1.doc (d) Perform a 'CTL-LeftMouse Click' on the hyperlink with text '28345499'. (e) Observe that TestFile2.doc opens with the cursor pointing to the top of page 2, with page 2 being displayed. (d) Perform this same test with TestFile1.odt and TestFile2.odt. (e) Observe that after the 'CTL-LeftMouse Click' has been performed, the cursor in TestFile2.odt points to the bookmark labeled 'Mofidi17' and page 3 is displayed. This is the correct behavior in my opinion.
(1) This bug occurs with .doc files, but not with .odt files. (2) I am supplying a zip file TestFiles.zip containing two .doc test files, TestFile1.doc and TestFile2.doc, and corresponding .odt files. I tested both these pairs residing in a subdirectory named 'Hyperlink bug'. I'm unsure, if the files reside in a differently named directory, the hyperlink with text '28345499' in TestFile1.doc may need to be removed and chosen to point anew to the bookmark labeled 'Mofidi17' in TestFile2.doc; same for the .odt files. (3) Perform Test A as follows: (a) With TestFile2.doc closed, open TestFile1.doc. (b) Perform a 'CTL-LeftMouse Click' on the hyperlink with text '28345499'. (c) Observe that TestFile2.doc opens with the cursor pointing to the top of the file, with page 1 being displayed. (d) Perform this same test with TestFile1.odt and TestFile2.odt. (e) Observe that when TestFile2.odt opens, the cursor points to the bookmark labeled 'Mofidi17' and page 3 is displayed. This is the correct behavior in my opinion. (4) Perform Test B as follows: (a) With TestFile1.doc closed, open TestFile2.doc. (b) Point the cursor to 'Middleton' on page 2. (c) Open TestFile1.doc (d) Perform a 'CTL-LeftMouse Click' on the hyperlink with text '28345499'. (e) Observe that TestFile2.doc opens with the cursor pointing to the top of page 2, with page 2 being displayed. (d) Perform this same test with TestFile1.odt and TestFile2.odt. (e) Observe that after the 'CTL-LeftMouse Click' has been performed, the cursor in TestFile2.odt points to the bookmark labeled 'Mofidi17' and page 3 is displayed. This is the correct behavior in my opinion.
Created attachment 172469 [details] Test file containing hyperlink
Created attachment 172470 [details] Test file (.doc) containing bookmark
Created attachment 172471 [details] Test file (.odt) containing hyperlink
Created attachment 172472 [details] Test file (.odt) containing bookmark
Works for me with Version: 7.4.0.0.alpha0+ / LibreOffice Community Build ID: 1c0aa970650ffc7c749e0b5ea655ebb2d137c8ae CPU threads: 4; OS: Linux 5.11; UI render: default; VCL: gtk3 Locale: cs-CZ (cs_CZ.UTF-8); UI: en-US Calc: threaded Jumbo (3) Perform Test A as follows: (a) With TestFile2.doc closed, open TestFile1.doc. (b) Perform a 'CTL-LeftMouse Click' on the hyperlink with text '28345499'. -> testFile2.doc opens at page 3 [Mofidi] Please could you test it with dev version? You can download it here: http://dev-builds.libreoffice.org/daily/master/ Thank you
Dear Ed Sharman, This bug has been in NEEDINFO status with no change for at least 6 months. Please provide the requested information as soon as possible and mark the bug as UNCONFIRMED. Due to regular bug tracker maintenance, if the bug is still in NEEDINFO status with no change in 30 days the QA team will close the bug as INSUFFICIENTDATA due to lack of needed information. For more information about our NEEDINFO policy please read the wiki located here: https://wiki.documentfoundation.org/QA/Bugzilla/Fields/Status/NEEDINFO If you have already provided the requested information, please mark the bug as UNCONFIRMED so that the QA team knows that the bug is ready to be confirmed. Thank you for helping us make LibreOffice even better for everyone! Warm Regards, QA Team MassPing-NeedInfo-Ping
Dear Ed Sharman, 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-FollowUp