Description: Open the attached document. Select from "Text that..." until "And text that..." . (Do not use Edit > Select All.) To any user, it would seem that the box is included in the selection. But it isn't. Do Edit > Copy , and move to the end, hit a few Enters, and Edit > Paste. No box. Steps to Reproduce: See description. Actual Results: See description. Expected Results: Either the selection should highlight only the text, which is what actually is selected, or the selection should include the shape. Reproducible: Always User Profile Reset: No Additional Info: Appears in all versions as far as I know.
Created attachment 170670 [details] Trivial sample document.
I confirm the described behaviour with Version: 7.2.0.0.alpha0+ (x64) / LibreOffice Community Build ID: f96004096268f5e71120678e32fc8c74055819aa 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 Shape is copied, if the anchor of the shape is selected. I agree that it should be more visible, if a shape is selected or not (same for images and other objects). so I think it is an enhancement request. cc: Design-Tea for further input and decision.
We could show the snap points if the object is part of the selection.
No further input, let's show the snap points.
this is because the selection highlighting in Writer completely ignores drawing objects. if you put Writer text frame/image/embedded object there, its area will be "cut out" of the selection - and if it is selected and positioned outside of the selected text rectangle, it will be highlighted separately. this all happens in SwRootFrame::CalcFrameRects(), this check excludes drawing objects: if ( !pFly ) continue; one obvious issue is that drawing objects can be rotated freely but Writer flys only in 90deg steps, so one rectangle isn't necessarily good way to highlight (or cut-out) a drawing object, this needs some extra stuff.