Created attachment 136289 [details] With officeooo:rsid, links are multiplied Hello, _ create a new document, _ write a hypertext, linked to localhost for example, _ save, close, and reopen the file in LibreOffice, _ in the middle of the hypertext, write a new text, _ save, close, and reopen the file in LibreOffice. There are now three hyperlinks (one with automatic style T2, which has a unique identifier in <office:automatic-styles/>) instead of just one. Instead of: <text:a xlink:type="simple" xlink:href="http://localhost/" text:style-name="Internet_20_link" text:visited-style-name="Visited_20_Internet_20_Link">Hello <text:span text:style-name="T2">small </text:span>world!</text:a> we have: <text:a xlink:type="simple" xlink:href="http://localhost/" text:style-name="Internet_20_link" text:visited-style-name="Visited_20_Internet_20_Link">Hello </text:a><text:a xlink:type="simple" xlink:href="http://localhost/" text:style-name="Internet_20_link" text:visited-style-name="Visited_20_Internet_20_Link"><text:span text:style-name="T2">small </text:span></text:a><text:a xlink:type="simple" xlink:href="http://localhost/" text:style-name="Internet_20_link" text:visited-style-name="Visited_20_Internet_20_Link">world!</text:a> Thus, at each new edition of the links, the links are multiplied. Of course, this bug disappears if officeooo:rsid is disabled in the options.
I can't reproduce it in Version: 6.0.0.0.alpha0+ Build ID: 1d0fbc9927f357d25859b7cca7ea5e9a9637681e CPU threads: 4; OS: Linux 4.10; UI render: default; VCL: gtk3; Locale: ca-ES (ca_ES.UTF-8); Calc: group Could you please try to reproduce it with the latest version of LibreOffice from https://www.libreoffice.org/download/libreoffice-fresh/ ? I have set the bug's status to 'NEEDINFO'. Please change it back to 'UNCONFIRMED' if the bug is still present in the latest version.
I can reproduce it in: LibreOffice 5.4.1.2.0 40m0(Build:2) What do you have in content.xml? It is necessary to start from a file that contains this: <text:p text:style-name="P1"> <text:a xlink:type="simple" xlink:href="http://localhost/" text:style-name="Internet_20_link" text:visited-style-name="Visited_20_Internet_20_Link"> localhost </text:a> </text:p> Then if you close and reopen with LibreOffice, editing the link and saving will give this: <text:p text:style-name="P1"> <text:a xlink:type="simple" xlink:href="http://localhost/" text:style-name="Internet_20_link" text:visited-style-name="Visited_20_Internet_20_Link"> local </text:a> <text:a xlink:type="simple" xlink:href="http://localhost/" text:style-name="Internet_20_link" text:visited-style-name="Visited_20_Internet_20_Link"> <text:span text:style-name="T1"> hello </text:span> </text:a> <text:a xlink:type="simple" xlink:href="http://localhost/" text:style-name="Internet_20_link" text:visited-style-name="Visited_20_Internet_20_Link"> host </text:a> </text:p> On the other hand, if you start with a file that contains this: <text:p text:style-name="P2"> <text:a xlink:type="simple" xlink:href="http://localhost/" text:style-name="Internet_20_link" text:visited-style-name="Visited_20_Internet_20_Link"> <text:span text:style-name="T2"> localhost </text:span> </text:a> </text:p> You will not be able to reproduce the bug, because the problem comes from the way LibreOffice adds automatic styles: if there is already an automatic style (here: "T2"), you will get correctly: <text:p text:style-name="P2"> <text:a xlink:type="simple" xlink:href="http://localhost/" text:style-name="Internet_20_link" text:visited-style-name="Visited_20_Internet_20_Link"> <text:span text:style-name="T2"> localhellohost </text:span> </text:a> </text:p> Thank you for your interest in this bug. :)
Could you please attach the original file ? I think the one already attached is the ending file?
Created attachment 136678 [details] Before link editing In fodt for easier handling, but it is the same with odt.
(In reply to regivanx from comment #4) > Created attachment 136678 [details] > Before link editing > > In fodt for easier handling, but it is the same with odt. Reproduced. Couldn't open in 3.3 due to some Java crap, so oldest tested is 3.6. Arch Linux 64-bit, KDE Plasma 5 Version: 6.0.0.0.alpha1+ Build ID: fff7097f1ed8493de099d79aa0613ea6b309100a CPU threads: 8; OS: Linux 4.13; UI render: default; VCL: kde4; Locale: fi-FI (fi_FI.UTF-8); Calc: group Built on November 2nd 2017 Arch Linux 64-bit Version 3.6.7.2 (Build ID: e183d5b)
** 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 with the latest version of LibreOffice from https://www.libreoffice.org/download/ If the bug is present, please leave a comment that includes the information from Help - About LibreOffice. If the bug is NOT present, please set the bug's Status field to RESOLVED-WORKSFORME and leave a comment that includes the information from Help - About LibreOffice. 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) from 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: https://kiwiirc.com/nextclient/irc.freenode.net/#libreoffice-qa Thank you for helping us make LibreOffice even better for everyone! Warm Regards, QA Team MassPing-UntouchedBug
The additional links are still generated in Version: 6.2.0.0.alpha1+ (x64) Build ID: e33424dd887cb1a11a3dba2513ef0f4bf93a6dbe CPU threads: 8; OS: Windows 10.0; UI render: GL; VCL: win; TinderBox: Win-x86_64@42, Branch:master, Time: 2018-11-01_00:43:29 Locale: de-DE (en_US); Calc: CL
Dear regivanx, 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 with the latest version of LibreOffice from https://www.libreoffice.org/download/ If the bug is present, please leave a comment that includes the information from Help - About LibreOffice. If the bug is NOT present, please set the bug's Status field to RESOLVED-WORKSFORME and leave a comment that includes the information from Help - About LibreOffice. 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) from 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: https://kiwiirc.com/nextclient/irc.freenode.net/#libreoffice-qa Thank you for helping us make LibreOffice even better for everyone! Warm Regards, QA Team MassPing-UntouchedBug
Dear regivanx, 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 with the latest version of LibreOffice from https://www.libreoffice.org/download/ If the bug is present, please leave a comment that includes the information from Help - About LibreOffice. If the bug is NOT present, please set the bug's Status field to RESOLVED-WORKSFORME and leave a comment that includes the information from Help - About LibreOffice. 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) from https://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: https://web.libera.chat/?settings=#libreoffice-qa Thank you for helping us make LibreOffice even better for everyone! Warm Regards, QA Team MassPing-UntouchedBug
*** This bug has been marked as a duplicate of bug 148198 ***