Description: Anchor to paragraph no included in selection when selecting a full pagraph Steps to Reproduce: 1. Open the file 2. Place cursor at the end up the document 3. CTRL+SHIFT+ARROW UP 4. CTRL+X Actual Results: Image excluded Expected Results: Included Reproducible: Always User Profile Reset: No Additional Info: Version: 7.2.0.0.alpha0+ (x64) Build ID: f2171af6ce3516598d9f8bac8294025a21a5b1a2 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
Created attachment 168932 [details] Example file
Also in 4.4.7.2
@Michael I'm having obviously my own user preferences.. but the whole how anchoring should behave is a kind of mystery. So leaving it at the one who capable to change it.. and more aware about the impact of such a change
FWIW.. it's surely inconsistent.. from user perspective. Remove to paragraphs at the top.. So page starts with "Türkiye’nin' now it works as expected
I can't confirm it with Version: 7.1.3.2 (x64) / LibreOffice Community Build ID: 47f78053abe362b9384784d31a6e56f8511eb1c1 CPU threads: 4; OS: Windows 10.0 Build 19042; UI render: Skia/Raster; VCL: win Locale: de-DE (de_DE); UI: en-GB Calc: CL
(In reply to Telesto from comment #0) > Description: > Anchor to paragraph no included in selection when selecting a full pagraph > > Steps to Reproduce: > 1. Open the file > 2. Place cursor at the end up the document > 3. CTRL+SHIFT+ARROW UP > 4. CTRL+X The original steps are not clear/correct, but it's true that there is inconsistency. The image is anchored to the "Hello" paragraph, so obviously cutting only the "Türkiye’nin" is irrelevant. However, if you drag the image anchor to the "Türkiye’nin" paragraph and try the cutting, the image is not cut. Version: 7.3.0.0.alpha0+ / LibreOffice Community Build ID: e6a8d312d3d7e5d81c56d5ccc0508116dd283f1f CPU threads: 8; OS: Linux 5.14; UI render: default; VCL: kf5 (cairo+wayland) Locale: fi-FI (fi_FI.UTF-8); UI: en-US Calc: threaded
Hmm, actually I'll undo setting this to NEW, because like Telesto the logic of the behaviour is mysterious to me. Cutting the text of the last paragraph leaves behind an *empty* paragraph. When you continue to remove the paragraphs one by one, the image anchoring target moves. It gets deleted only after you have deleted Hello and a single empty paragraph remains.
I played a bit with this and an inserted random image and a stock chart as an OLE object. The grouped shape is anchored To paragraph, meaning selecting all text and cutting it leaves the empty paragraph behind. The objects are anchored to that and stay. If you move the selection to include the previous empty paragraph and cut, then the paragraph is entirely cut so the image, grouped shape and chart are cut as well. On the other hand if you change the anchor to To character and pull it inside the paragraph, then select the whole paragraph and cut, the objects are also cut. I think this is NAB, the behavior is consistent.
Thanks for the insight, let's close.