Description: hyperlink assigned to shape after exporting does not work points to local file originally pointint to second page but after opening it is fixed to HDD Steps to Reproduce: 1.open new file 2. make document with 2 pages 3. create shape 4. hit ctrl K to assign hyperlink for the same 2nd page 5. export to pdf 6. open in edge browser 7. after hitting hyperlinked shape it directs me to file:///C:/Users/xxxx/OneDrive/Desktop/%23Page%202 Actual Results: file:///C:/Users/xxxx/OneDrive/Desktop/%23Page%202 Expected Results: to land on 2nd page in the same document Reproducible: Always User Profile Reset: Yes OpenGL enabled: Yes Additional Info: [Information automatically included from LibreOffice] Locale: en-US Module: DrawingDocument [Information guessed from browser] OS: Windows (All) OS is 64bit: no
Reproduced. Version: 7.4.0.0.alpha0+ (x64) / LibreOffice Community Build ID: 04f9a8957c04b8c5abaa58140328d2c83381f4ff CPU threads: 2; OS: Windows 10.0 Build 19042; UI render: Skia/Raster; VCL: win Locale: fi-FI (fi_FI); UI: en-US Calc: threaded Jumbo
Created attachment 193014 [details] sample ODP, but the hyperlink has been converted to an interaction after save-reload Reproduced on Linux as well, in Impress: Version: 24.8.0.0.alpha0+ (X86_64) / LibreOffice Community Build ID: 98c42f7e961e77d7f1c02d53862e4e78ecd07653 CPU threads: 8; OS: Linux 6.5; UI render: default; VCL: gtk3 Locale: en-AU (en_AU.UTF-8); UI: en-US Calc: CL threaded I used Insert > Hyperlink > Document to link to the second slide. When exported, the PDF has an active link on the shape, but it (re)opens the file itself. Interestingly, when saving and reloading, the shape has no hyperlink anymore, but it has been converted to an Interaction instead. Exporting to PDF then doesn't result in any link whatsoever. See also bug 156159.
- In 5.0, no hyperlink could be applied to the object (it was inserted as a separate object) - From 5.1.0.3 to 7.3.0.3, the PDF would end up with an invalid link of the type "path/to/file/#page2" or "./#page2 - From 7.4.0.3 to 24.2.1, the link is simply "#page2", and it opens my file browser in the current directory (tested Okular and Evince) - In current trunk build, the link is "filename#page2" and reopens the file (with Okular and Evince) or does not act as a link (with Firefox)
Already tracked in bug 126096.
*** This bug has been marked as a duplicate of bug 126096 ***
*** This bug has been marked as a duplicate of bug 100893 ***