Issue 55736 - Hyperlinks with UTF8 encoded characters destroyed during PDF export
Summary: Hyperlinks with UTF8 encoded characters destroyed during PDF export
Status: CLOSED FIXED
Alias: None
Product: gsl
Classification: Code
Component: code (show other issues)
Version: 680m125
Hardware: PC All
: P3 Trivial with 6 votes (vote)
Target Milestone: OOo 3.0
Assignee: h.ilter
QA Contact: issues@gsl
URL: http://de.wikipedia.org/wiki/Gierseil...
Keywords: oooqa, regression
: 54985 64606 73513 89439 89940 (view as issue list)
Depends on:
Blocks:
 
Reported: 2005-10-10 19:01 UTC by Rainer Bielefeld
Modified: 2008-10-12 18:05 UTC (History)
5 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
exportlink.odt (6.91 KB, application/vnd.oasis.opendocument.text)
2007-01-18 08:51 UTC, caolanm
no flags Details
exportlink.odp (10.81 KB, application/vnd.oasis.opendocument.presentation)
2007-01-18 08:51 UTC, caolanm
no flags Details
exportlink.odg (7.73 KB, application/vnd.sun.xml.draw)
2007-01-18 08:51 UTC, caolanm
no flags Details
exportlink.ods (7.82 KB, application/vnd.oasis.opendocument.spreadsheet)
2007-01-18 08:52 UTC, caolanm
no flags Details
patch against all the apps that use SetLinkURL (10.40 KB, patch)
2007-01-18 08:52 UTC, caolanm
no flags Details | Diff
alternative patch against just vcl's setLinkURL (2.17 KB, patch)
2007-01-18 08:53 UTC, caolanm
no flags Details | Diff
The PDF that I made with 2.4 (82.16 KB, application/pdf)
2008-05-05 10:21 UTC, kamataki
no flags Details
An explanation image (4.70 KB, image/png)
2008-05-05 10:23 UTC, kamataki
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description Rainer Bielefeld 2005-10-10 19:01:03 UTC
I checked with 2.0 (1.9.m125) German version WIN XP: [680m125(Build8947)]

Steps to reproduce:
1. create new writer document
2. insert Text "Hyperlink here"
3. Mark word "here"
4. open hyperlink dialogue
6. click "Weblink"
7. Insert Link from a.m. URL
8. Confirm and close hyperlink dialogue
9. save document
10. test hyperlink: it will wor fine
11. export to pdf (quality 75%, max resolution 300px, does not matter)
12. Open .PDF
13. test hyperlink
    expected: works, will open <http://de.wikipedia.org/wiki/Gierseilf%C3%A4hre>
    actual: does not work, tries to open
            <http://de.wikipedia.org/wiki/Gierseilf%C3%A4hre>
14. Try again hyperlink in .odt, of course it will still work

Some further test
15. Mark "here" with hyperlink, open Hyperlink-dialogue
    expected: <http://de.wikipedia.org/wiki/Gierseilf%C3%A4hre>
    actual: <http://de.wikipedia.org/wiki/Gierseilfähre> (UTF8 destroyed)
            (what ever that might mean)
16. Confirm and close Hyperlink dialogue 
17. Try hyperlink
    expected: should not work (?)
    actual:    this hyperlink still works

You will see just the same problems in CALC
Comment 1 Rainer Bielefeld 2005-10-10 19:02:05 UTC
I forgot to say for step 7: I copye the URL from the URL pane of my MOZILLA ftom
open WIKIPEDIA page
Comment 2 Rainer Bielefeld 2005-10-10 19:06:07 UTC
Same problem with 2.0 (1.9.m118) English version WIN XP: [680m118(Build8936)]
Comment 3 stephan_schaefer 2005-10-11 09:32:34 UTC
ssa->pl: duplicate ?
Comment 4 philipp.lohmann 2005-10-11 10:03:46 UTC
pl->fme: this basically is another aspect of issue 54985
Comment 5 frank.meies 2005-10-12 12:27:46 UTC
.
Comment 6 h.ilter 2006-04-26 10:15:28 UTC
*** Issue 64606 has been marked as a duplicate of this issue. ***
Comment 7 Rainer Bielefeld 2006-10-11 08:31:45 UTC
I think "OOo Later" is not appropriatefor this bug. Hyperlinks to Internet-URLs
is an often used feature, and it is really annoying if those links become
destroyed during PDF-export, especially because generally nobody will check that
in the created PDF. so TM -> 2.X (pls. also see Issue 54985).
Comment 8 philipp.lohmann 2007-01-16 12:09:49 UTC
*** Issue 73513 has been marked as a duplicate of this issue. ***
Comment 9 caolanm 2007-01-18 08:49:32 UTC
*** Issue 54985 has been marked as a duplicate of this issue. ***
Comment 10 caolanm 2007-01-18 08:50:34 UTC
6 attachments to follow, 4 demo documents and two alternative patches
Comment 11 caolanm 2007-01-18 08:51:12 UTC
Created attachment 42261 [details]
exportlink.odt
Comment 12 caolanm 2007-01-18 08:51:34 UTC
Created attachment 42262 [details]
exportlink.odp
Comment 13 caolanm 2007-01-18 08:51:55 UTC
Created attachment 42263 [details]
exportlink.odg
Comment 14 caolanm 2007-01-18 08:52:18 UTC
Created attachment 42264 [details]
exportlink.ods
Comment 15 caolanm 2007-01-18 08:52:57 UTC
Created attachment 42265 [details]
patch against all the apps that use SetLinkURL
Comment 16 caolanm 2007-01-18 08:53:28 UTC
Created attachment 42266 [details]
alternative patch against just vcl's setLinkURL
Comment 17 caolanm 2007-01-18 08:54:01 UTC
do either of those two patches appeal as a fix for the export link to PDF problems ?
Comment 18 frank.meies 2007-01-18 09:56:34 UTC
FME->PL: At a first glance, the vcl patch looks more attractive to me. Could you
please have a look?
Comment 19 philipp.lohmann 2007-01-18 12:49:15 UTC
OK. will apply in CWS vcl73
Comment 20 philipp.lohmann 2007-01-18 17:31:47 UTC
committed in CWS vcl73
Comment 21 philipp.lohmann 2007-02-16 19:14:02 UTC
please verify in CWS vcl73
Comment 22 h.ilter 2007-02-27 10:12:42 UTC
Verified with cws vcl73 = ok
Comment 23 h.ilter 2007-05-11 08:43:28 UTC
Still ok in 680m211_9151
Comment 24 kamataki 2008-05-05 10:18:34 UTC
I think that this problem occurred with 2.4 again. Please reopen this issue.

I checked with 2.4 and 3.0 (BEA300_m2) Japanese version WIN XP.

Please look at two files which I attached.
Comment 25 kamataki 2008-05-05 10:21:15 UTC
作æˆã•ã‚ŒãŸæ·»ä»˜ (id=53380)
The PDF that I made with 2.4
Comment 26 kamataki 2008-05-05 10:23:08 UTC
作æˆã•ã‚ŒãŸæ·»ä»˜ (id=53381)
An explanation image
Comment 27 Rainer Bielefeld 2008-05-05 10:39:14 UTC
I checked example from original export with "2.4.0  Multilingual version German
UI WIN XP: [680m12(Build9286)]" and also with "3.0.0 Beta Multilingual version
English UI WIN XP: [300m1 (Build9298)]". Confirm, bug is back again.
Comment 28 philipp.lohmann 2008-05-14 09:57:17 UTC
reassign, target
Comment 29 philipp.lohmann 2008-05-14 09:58:29 UTC
*** Issue 89439 has been marked as a duplicate of this issue. ***
Comment 30 philipp.lohmann 2008-05-21 17:04:21 UTC
fixed in CWS vcl89
Comment 31 h.ilter 2008-05-30 10:26:34 UTC
*** Issue 89940 has been marked as a duplicate of this issue. ***
Comment 32 philipp.lohmann 2008-06-06 12:59:56 UTC
please verify in CWS vcl89
Comment 33 h.ilter 2008-06-12 11:17:57 UTC
Verified with cws vcl89 = ok 
Comment 34 thackert 2008-08-06 15:01:44 UTC
Hello rainerbielefeld, *,
I have tested your steps with DEV300m28 under Debian SID AMD64, where this
problem does not occur. Could you try it again with an actual Win version or a
dev snapshot, if it still occurs on Win? If not: Could you close this issue, please?
@kamataki: Could you try it again as well with a newer Japanese version of OOo,
please?
TIA
Thomas.
Comment 35 Rainer Bielefeld 2008-08-07 05:11:10 UTC
I checked with "Ooo-dev 3.0.0 Beta Multilingual version English UI WIN XP:
[300m29 (Build9339)]" proceeding as per original report. Result: Works for me. 
Comment 36 kamataki 2008-08-07 05:40:18 UTC
I checked with Ooo-dev m29 Japanese version WIN XP. Good!

Thanks,
Kamataki.
Comment 37 thackert 2008-10-12 18:05:25 UTC
Hello rainerbielefeld, *,
as you and kamataki has confirmed my observation, I will close this issue :)
Feel free to reopen this issue, if reappears again.
Thomas.