Bug 72738 - Undo after changing a hyperlink destroys it
Summary: Undo after changing a hyperlink destroys it
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Undo-Redo Hyperlink
  Show dependency treegraph
 
Reported: 2013-12-16 01:01 UTC by Lukas Jelinek
Modified: 2024-01-16 14:26 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Lukas Jelinek 2013-12-16 01:01:27 UTC
If a hyperlink is modified and this operation is taken back the hyperlink is "destroyed" (it disappears).

Steps to reproduce:
1. Write some text.
2. Select a word or more.
3. Create a hyperlink on the selected text.
4. Do some edits on the text.
5. Select the hyperlinked text.
6. Use the context menu to open the hyperlink edit dialog.
7. Modify the hyperlink (insert different URL than before).
8. Click Apply and Close.
9. Use the Back function (or Ctrl+Z...).

Expected behavior:
The hyperlink has the previous URL (before changing).

Current behavior:
The hyperlink does not exist at all.
Comment 1 Jean-Baptiste Faure 2013-12-22 13:34:47 UTC
Confirmed on Ubuntu 13.10 x86-64 with version 4.0.6, 4.1.4 and 4.2.0.1+
Set status to NEW and Version to 4.0.6

Best regards. JBF
Comment 2 Jean-Baptiste Faure 2013-12-22 13:35:46 UTC Comment hidden (obsolete)
Comment 3 QA Administrators 2015-04-19 03:20:03 UTC Comment hidden (obsolete)
Comment 4 Jean-Baptiste Faure 2015-04-25 06:59:18 UTC
Still reproducible with LibreOffice 5.0.0.0.alpha1+ built at home under Ubuntu 14.10 x86-64

Best regards. JBF
Comment 5 Timur 2016-08-15 09:58:03 UTC Comment hidden (obsolete)
Comment 6 Timur 2016-08-15 10:00:51 UTC Comment hidden (obsolete)
Comment 7 QA Administrators 2018-08-22 02:35:42 UTC Comment hidden (obsolete)
Comment 8 Jean-Baptiste Faure 2018-09-15 20:04:33 UTC Comment hidden (obsolete)
Comment 9 QA Administrators 2019-09-16 02:46:01 UTC Comment hidden (obsolete)
Comment 10 Jean-Baptiste Faure 2019-09-22 10:28:36 UTC
Still reproducible with current master built at home under Ubuntu 18.04
x86-64.

Version: 6.4.0.0.alpha0+
Build ID: 4ce644feaa732e9f306e6c53300e024ac2a11bb7
CPU threads: 4; OS: Linux 4.15; UI render: default; VCL: gtk3; 
Ubuntu_18.04_x86-64
Locale: fr-FR (fr_FR.UTF-8); UI-Language: en-US
Calc: threaded

Best regards. JBF
Comment 11 QA Administrators 2021-09-22 03:38:43 UTC Comment hidden (obsolete)
Comment 12 Lukas Jelinek 2021-10-03 20:01:06 UTC
The bug still persists in LibreOffice 7.2.2.
Comment 13 QA Administrators 2023-10-04 03:18:17 UTC Comment hidden (obsolete)
Comment 14 Stéphane Guillou (stragu) 2023-10-22 08:10:04 UTC
Reproduced in recent trunk build:

Version: 24.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: b83f069101f1e6d8aaac09a805f02bbc4c619e7a
CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: gtk3
Locale: en-AU (en_AU.UTF-8); UI: en-US
Calc: threaded
Comment 15 Xisco Faulí 2024-01-12 10:17:03 UTC
Another way to reproduce it:
1. Open writer
2. Insert a hyperlink "https://bugs.documentfoundation.org"
3. Search & Replace 'bugs' by 'xxxx'
4. Undo
5. Redo
6. Undo

-> Hyperlink is destroyed


Version: 24.8.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 84a3401c28135735c7bbe324eb3642b31c7f26f5
CPU threads: 8; OS: Linux 6.1; UI render: default; VCL: gtk3
Locale: es-ES (es_ES.UTF-8); UI: en-US
Calc: threaded
Comment 16 Luigi Gorgone 2024-01-16 14:26:00 UTC
Repo: 
Version: 7.3.7.2 / LibreOffice Community
Build ID: 30(Build:2)
CPU threads: 12; OS: Linux 6.2; UI render: default; VCL: gtk3
Locale: it-IT (it_IT.UTF-8); UI: it-IT
Ubuntu package version: 1:7.3.7-0ubuntu0.22.04.4
Calc: threaded