Bug 141829 - Comment_text_0 bookmark introduced on copy/paste (HTML format without comment or simple HTML)
Summary: Comment_text_0 bookmark introduced on copy/paste (HTML format without comment...
Status: RESOLVED NOTABUG
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:
 
Reported: 2021-04-22 10:12 UTC by Telesto
Modified: 2023-01-09 10:12 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
Inside Clipboard file (6.61 KB, application/octet-stream)
2021-04-22 10:12 UTC, Telesto
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Telesto 2021-04-22 10:12:26 UTC
Description:
Comment_text_0 bookmark introduced on copy/paste (HTML format without comment or simple HTML)

Steps to Reproduce:
1. Download attached file
2. Download InsideClipboard
3. Insideclipboard -> File -> Load -> From clp (open the downloaded file
4. Open Writer
5. Paste
6. Look in navigator and notice a Comment_text_0 bookmark

Source text snipped: bug 141820

Actual Results:
A bookmark gets inserted

Expected Results:
Don't think so


Reproducible: Always


User Profile Reset: No



Additional Info:
Version: 7.2.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: a809b2ab2553e946431699d9d7ac3f6209cbdd6b
CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: Skia/Raster; VCL: win
Locale: nl-NL (nl_NL); UI: en-US
Calc: CL
Comment 1 Telesto 2021-04-22 10:12:46 UTC
Created attachment 171352 [details]
Inside Clipboard file
Comment 2 Telesto 2021-04-22 10:13:59 UTC
Also in 6.3

and in
Versie: 4.4.7.2 
Build ID: f3153a8b245191196a4b6b9abd1d0da16eead600
Locale: nl_NL
Comment 3 Telesto 2021-04-22 10:14:53 UTC
And in
LibreOffice 3.5.7.2 
Build ID: 3215f89-f603614-ab984f2-7348103-1225a5b
Comment 4 Dieter 2021-11-03 11:03:54 UTC
Telesto, unfortunately nothing has happened with this bug report for more than half a year. So I'd like to ask, if it is still valid. Could you please try to reproduce it with the actual master?
=> NEEDINFO
Comment 5 QA Administrators 2022-05-03 03:41:37 UTC Comment hidden (obsolete)
Comment 6 Telesto 2022-05-03 08:52:34 UTC
Still present
Version: 7.4.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: 4659fc2f0a7223a89446edff0b77e58758b5edf5
CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: Skia/Raster; VCL: win
Locale: en-US (nl_NL); UI: en-GB
Calc: CL

<html>
<body>
<!--StartFragment--><pre class="bz_comment_text" id="comment_text_0" style="font-size: small; font-family: monospace; white-space: pre-wrap; width: 50em; color: rgb(0, 0, 0); font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial;">The choices available in image properties dialog, "Type" tab, "Position" selection, section "to" are changing is hard to predict and inconsistent way when "Anchor" selection is changed.

Steps to Reproduce:
1.Insert image. Right click on it and anchor it "to paragraph". Then bring up the image properties by right-clicking on it.

2.Select "Type" tab and notice the "Anchor" selection.

3.Click in this tab "Anchor-&gt;to Page" and check available choices in "Position-Horizontal-&gt;to" and "Position-Vertical-&gt;to". I can see:

Horizontal:"Left...","Right...","Entire....","Page text..." 
Vertical: "Entire...","Page text area"

4.Click "Anchor -&gt; to character". "to-&gt;Horizontal" contains now almost all possible options, but "Position-&gt;To-&gt;Vertical" only "Margin","Parag...","Entire page","Page text...".

5.Click "Anchor-&gt;as character". Don't check anything.

6.Again click "Anchor-&gt;to character". Check what is now available at "Position-&gt;To-&gt;Vertical". I can see two more options than previously:
"Margin","Parag...","Entire page","Page text..." plus new: "Character","Line of text"</pre><!--EndFragment-->
</body>
</html>
Comment 7 Buovjaga 2023-01-09 10:12:57 UTC
The source was the description text, bug 141820 comment 0. The text is in a <pre> element, which has the id comment_text_0. Ids act as anchors in HTML, so it is normal that they would be bookmarks in Writer. So let's close as notabug.