Bug 136419 - EDITING: Select All in Frame does not select all contents
Summary: EDITING: Select All in Frame does not select all contents
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: All All
: medium minor
Assignee: Not Assigned
URL:
Whiteboard: target:26.2.0
Keywords:
Depends on:
Blocks: Frame Selection
  Show dependency treegraph
 
Reported: 2020-09-03 03:48 UTC by Kieran Grant
Modified: 2025-12-02 20:35 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
Frame with fixed size and "Allow Overlap" ticked (8.76 KB, application/vnd.oasis.opendocument.text)
2020-09-03 03:48 UTC, Kieran Grant
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kieran Grant 2020-09-03 03:48:51 UTC
Created attachment 165059 [details]
Frame with fixed size and "Allow Overlap" ticked

Version: 7.0.0.3
Build ID: 8061b3e9204bef6b321a21033174034a5e2ea88e
CPU threads: 16; OS: Linux 5.4; UI render: default; VCL: gtk3
Locale: en-AU (en_AU.UTF-8); UI: en-US
Calc: CL
---
Select all when editing a Frame does not select all contents where "Allow Overlap" is enabled and contents do not fit frame.
Instead only lines that visible are selected.
Comment 1 Dieter 2020-09-03 11:27:38 UTC
I confirm it with

Version: 7.0.1.2 (x64)
Build ID: 7cbcfc562f6eb6708b5ff7d7397325de9e764452
CPU threads: 4; OS: Windows 10.0 Build 19041; UI render: Skia/Raster; VCL: win
Locale: de-DE (de_DE); UI: en-GB
Calc: threaded
Comment 2 Telesto 2020-09-03 13:14:01 UTC
Also in
4.4.7.2

and in
LibreOffice 3.5.0rc3 
Build ID: 7e68ba2-a744ebf-1f241b7-c506db1-7d53735

and in
3.3.0
Comment 3 Telesto 2020-09-03 13:17:38 UTC
@Jim,
Not an area where you have worked in (as for I know), but you might be interested.  My non-developer mind says it must me not hard to solve. Of course, feel free to ignore.
Comment 4 QA Administrators 2022-09-04 03:50:08 UTC Comment hidden (obsolete, spam)
Comment 5 Kieran Grant 2022-09-04 04:00:18 UTC
Tested and still present in:

Version: 7.4.0.3 / LibreOffice Community
Build ID: f85e47c08ddd19c015c0114a68350214f7066f5a
CPU threads: 32; OS: Linux 5.15; UI render: default; VCL: kf5 (cairo+xcb)
Locale: en-AU (en_AU.UTF-8); UI: en-US
Calc: threaded
Comment 6 Stéphane Guillou (stragu) 2023-11-20 19:37:34 UTC
Reproduced in recent trunk build:

Version: 24.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: baecfd21797310bb15ab98ca3962445d99e397db
CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: gtk3
Locale: en-AU (en_AU.UTF-8); UI: en-US
Calc: threaded
Comment 7 QA Administrators 2025-11-20 03:13:12 UTC Comment hidden (obsolete)
Comment 8 Kieran Grant 2025-11-21 06:32:51 UTC
Tested and still present in:

Version: 25.8.3.2 (X86_64)
Build ID: 8ca8d55c161d602844f5428fa4b58097424e324e
CPU threads: 32; OS: Linux 6.14; UI render: default; VCL: kf5 (cairo+xcb)
Locale: en-AU (en_AU.UTF-8); UI: en-US
Calc: threaded
Comment 9 Jim Raykowski 2025-11-23 00:54:18 UTC
(In reply to Kieran Grant from comment #0)
> Select all when editing a Frame does not select all contents where "Allow
> Overlap" is enabled and contents do not fit frame.
> Instead only lines that visible are selected.
Hi Kieran, Is "Allow Overlap" relevant? Maybe "Auto Size" was meant?

Here is a link to a patch that makes "Select All" select all content in a frame, visible and not visible, when editing a Frame:
https://gerrit.libreoffice.org/c/core/+/194377
Comment 10 Kieran Grant 2025-11-23 01:14:30 UTC
No, "Allow Overlap" was meant, the document was passed through a system that parses text as code (with in-place replacement of the code text with output content).

The frame's were required to not resize as the code would be larger than the output, so they need to be force fixed size to not resize and effect the output layout.

Hooray, that patch works a charm :)

Version: 26.2.0.0.alpha1+ (X86_64) / LibreOffice Community
Build ID: dd1e2452f5d03ecb5e0c8f7ea812cc3632864ca6
CPU threads: 32; OS: Linux 6.14; UI render: default; VCL: gtk3
Locale: en-AU (en_AU.UTF-8); UI: en-US
Calc: threaded
Comment 11 Jim Raykowski 2025-11-23 18:58:44 UTC
(In reply to Kieran Grant from comment #10)
> No, "Allow Overlap" was meant, the document was passed through a system that
> parses text as code (with in-place replacement of the code text with output
> content).
> The frame's were required to not resize as the code would be larger than the
> output, so they need to be force fixed size to not resize and effect the
> output layout.
Okay, I was just wondering if "Allow Overlap" needs to be set as well as "AutoSize" to make the bug appear when a frame has text overflow.

Import thing is:
> Hooray, that patch works a charm :)

:)
Comment 12 Commit Notification 2025-12-02 20:34:07 UTC
Jim Raykowski committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/88bf378ba7356b085d51a6e28324ea9a6fda9635

Resolves tdf#136419 Select All in Frame does not select all contents

It will be available in 26.2.0.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.