Created attachment 158671 [details]
Writer doc demonstrating a text selection issue
Version: 184.108.40.206 (x64)
Build ID: 4d224e95b98b138af42a64d84056446d09082932
CPU threads: 4; OS: Windows 10.0 Build 18363; UI render: default; VCL: win;
Locale: en-GB (en_GB); UI-Language: en-GB
This problem occurs in Headers (and maybe Footers as well?) but AFAIK not in the main body of text.
1. Open the attached writer document.
2. On page 2, select the text in the header ("Recto Page") using triple click or any other method.
3. Cut the text.
EXPECTED RESULT: Only the Header text should be selected.
ACTUAL RESULT: The frame, which is separate from the text (and contains the page number) is WRONGLY selected as well. Note that if you reduce the selection by one letter, the frame is released.
I confirm this behaviour with
Version: 220.127.116.11.alpha0+ (x64)
Build ID: c63148ba139bd6b9ae7a0f9e24e51f29e5370963
CPU threads: 4; OS: Windows 10.0 Build 18363; UI render: Skia/Raster; VCL: win;
Locale: de-DE (de_DE); UI-Language: en-GB
In normal text this doesn't happen, although frame is anchored to the paragraph.
It doesn't happen with
Version: 18.104.22.168 (x64)
CPU-Threads: 4; BS: Windows 10.0; UI-Render: Standard; VCL: win;
Gebietsschema: de-DE (de_DE); UI-Sprache: de-DE
The behaviour changed after https://cgit.freedesktop.org/libreoffice/core/commit/?id=91b2325808a75174f284c48c8b8afc118fad74e4.
@Michael, is this the new expected behaviour ?
(In reply to Xisco Faulí from comment #2)
> The behaviour changed after
> @Michael, is this the new expected behaviour ?
yes, if you select an entire header then everything that's anchored in the header will also be selected - that's the intuitive thing to do.
(In reply to Michael Stahl (CIB) from comment #3)
> yes, if you select an entire header then everything that's anchored in the
> header will also be selected - that's the intuitive thing to do.
Thanks for clarification. But I disagree, that this is intuitive. If header has only one paragraph (I assume, that are the most cases), it's not possible to mark only the text. It's good to have the possibility to mark also the frame, but I would expect, that it's also possible to mark only the text of the heading. So for me not a regression, but still a bug.