Bug 142143 - EDITING: String containing hyperlink is pasted twice
Summary: EDITING: String containing hyperlink is pasted twice
Status: RESOLVED DUPLICATE of bug 149483
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
(earliest affected)
6.0 all versions
Hardware: All All
: medium normal
Assignee: Not Assigned
Keywords: bibisected, bisected, regression
Depends on:
Blocks: Paste
  Show dependency treegraph
Reported: 2021-05-07 08:04 UTC by Xisco Faulí
Modified: 2023-10-31 14:13 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Note You need to log in before you can comment on or make changes to this bug.
Description Xisco Faulí 2021-05-07 08:04:05 UTC
Step to reproduce:
1. Open attachment 137808 [details] from bug 113878
2. F2 on cell A1
3. Select the hyperlink either with the mouse or with the keyboard
4. Paste it in A3

-> The link is pasted twice

Reproduced in

Version: / LibreOffice Community
Build ID: 5f51b6f08c6ed6fb135b8d4999d6fb6a51fafa89
CPU threads: 4; OS: Linux 5.7; UI render: default; VCL: x11
Locale: en-US (en_US.UTF-8); UI: en-US
Calc: threaded
Comment 1 Xisco Faulí 2021-05-07 08:08:42 UTC
the behaviour was fine up to

author	Markus Mohrhard <markus.mohrhard@googlemail.com>	2016-04-10 05:51:19 +0200
committer	Markus Mohrhard <markus.mohrhard@googlemail.com>	2016-04-10 05:55:55 +0200
commit be829fa15777b3b1a6727eee231c89894e7c425e (patch)
tree 24dc7fa1287928f7e5e9e6dae8377b0bc6a8982d
parent 7b9a5e8124328da9d81aed58cf944c91560a7c07 (diff)
don't pool SvxFieldItem, tdf#92773
In documents with many different hyperlinks pooling them is incredibly
slow. I doubt that in most cases the hyperlinks are the same so let us
just not pool them.

after this commit, no hyperlink was pasted at all ( bug 115317 ).
Later, this was fixed by:

author	Varun Dhall <varun.dhall@studentpartner.com>	2017-07-13 00:36:46 +0530
committer	Michael Stahl <mstahl@redhat.com>	2017-07-12 23:28:06 +0200
commit e333183d4390da0b17a55f214e2b953dbb0a8883 (patch)
tree 680493fcca8e2a8239838db841cd623c2cedf1d3
parent b392208dde22edbcba36fe516ac114284a111728 (diff)
EditEngine: Making ODF Format Default for Copy/Paste

Since then, the hyperlink is pasted twice
Comment 2 Rainer Bielefeld Retired 2022-03-18 07:19:10 UTC
(As expected) still REPRODUCIBLE with Server Installation of Version: (x64)  Build ID c856f9bec12d98ed49f01578ded79f16ae7be051
CPU threads: 12; OS: Windows 10.0 Build 19042; UI render: Skia/Raster; VCL: win
Locale: de-DE (de_DE); UI: en-US  |  Calc: CL  |  Auto Colibre Theme  |  Special devUserProfile
Comment 3 Justin L 2023-10-31 14:05:57 UTC
repro 24.2+

It was a bit weird though. In the input bar, I selected the entire word "hyperlink", but in the cell itself it showed that I selected "hyperlink here" - I assume because "hyperlink" is just a '\001' in the text.

Pasting that pasted "hyperlink here" - a single hyperlink.

If I just selected the "h" of hyperlink in the input bar, and pasted, then I reproduced this bug report.

If I do the same in the cell - select hyperlink (or a string ending in hyperlink) then the paste doubles up the hyperlink.  If I include the space afterwards (as in "hyperlink "), then the paste is fine.
Comment 4 Justin L 2023-10-31 14:13:41 UTC

*** This bug has been marked as a duplicate of bug 149483 ***