Bug 138568 - Selecting a word includes anchor
Summary: Selecting a word includes anchor
Status: RESOLVED NOTABUG
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.2.0.0.alpha0+
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-11-30 12:45 UTC by Telesto
Modified: 2020-12-11 18:50 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
Example file (82.73 KB, application/vnd.oasis.opendocument.text)
2020-11-30 12:45 UTC, Telesto
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Telesto 2020-11-30 12:45:22 UTC
Description:
Selecting a word includes anchor

Steps to Reproduce:
1. Open the attached file
2. Double click ABC
3. Type C

4. Undo everything
5. CTRL+H
6. Search ABC
7. Replace by C
8. Place replace -> Expected

Actual Results:
Image disappears

Expected Results:
Text disappears anchor still present


Reproducible: Always


User Profile Reset: No



Additional Info:
Version: 7.2.0.0.alpha0+ (x64)
Build ID: 32fdb8eb3506bc8dcf013cc713fe8e5debceb940
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 2020-11-30 12:45:33 UTC
Created attachment 167680 [details]
Example file
Comment 2 Telesto 2020-11-30 12:46:53 UTC
Not sure who to ask. UX or M. Stahl. Kind of specific :P. And touching they 'to character' anchoring drawbacks topic
Comment 3 Heiko Tietze 2020-12-02 12:44:50 UTC
The image is anchored To Character, which is after the A (see fodt snippet at the end). One can delete the A or the B but not both at once. That is clearly fed back by highlighting the image as well (so NAB). 

But I admit that To Character should mean exactly one character, the A and not between A and B. But I guess that's not possible. And of course it's the same for MSO.


<text:p text:style-name="P1">A
<draw:frame draw:style-name="fr1" draw:name="Image1"...</draw:frame>
BC</text:p>