Bug 144789 - CTRL+A in frame select full document if document starts with table cell
Summary: CTRL+A in frame select full document if document starts with table cell
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
4.2.0.4 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard: target:7.6.0 target:7.5.4
Keywords: bibisectNotNeeded, regression
Depends on:
Blocks: Frame Selection
  Show dependency treegraph
 
Reported: 2021-09-29 09:26 UTC by Telesto
Modified: 2023-11-20 19:32 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments
Example file (628.99 KB, application/vnd.oasis.opendocument.text)
2021-09-29 09:26 UTC, Telesto
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Telesto 2021-09-29 09:26:13 UTC
Description:
CTRL+A in frame select full document if page starts with table cell

Steps to Reproduce:
1. Open the attached file
2. Click inside the frame with lets say: Connectors of optional board
3. Press CTRL+A -> Full page selected
4. Go to the top of the page.. delete the table
5. Repeat step 2/3 -> Now it's OK



Actual Results:
CTRL+A does behave differently

Yes, documents do start with tables.. and it can be confusing: 
See attachment 175340 [details]

Expected Results:
Not so


Reproducible: Always


User Profile Reset: No



Additional Info:
Version: 7.3.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: d5e55d204b71710eb5eb5d2c683dd6698626df3c
CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: Skia/Raster; VCL: win
Locale: en-US (nl_NL); UI: en-US
Calc: CL
Comment 1 Telesto 2021-09-29 09:26:30 UTC
Created attachment 175345 [details]
Example file
Comment 2 Telesto 2021-09-29 09:30:30 UTC
Also in
Versie: 4.2.0.4 
Build ID: 05dceb5d363845f2cf968344d7adab8dcfb2ba71

still ok with
Versie: 4.1.0.4 
Build ID: 89ea49ddacd9aa532507cbf852f2bb22b1ace28
Comment 3 raal 2021-10-02 15:59:35 UTC
Confirm with Version: 7.3.0.0.alpha0+ / LibreOffice Community
Build ID: b63c5ade3554a42def4bce94f9fd67ea66528214
CPU threads: 4; OS: Linux 5.11; UI render: default; VCL: gtk3
Locale: cs-CZ (cs_CZ.UTF-8); UI: en-US
Calc: threaded

OK in Version 4.1.0.0.alpha0+ (Build ID: efca6f15609322f62a35619619a6d5fe5c9bd5a)
Comment 4 raal 2021-10-02 16:12:06 UTC
My bisect with bibisect-42max$ was not succesfull, in many commits ctrl+A didn't worked at all.
Comment 5 Stéphane Guillou (stragu) 2023-11-20 19:32:44 UTC
Repro in:

Version: 7.4.7.2 / LibreOffice Community
Build ID: 723314e595e8007d3cf785c16538505a1c878ca5
CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: gtk3
Locale: en-AU (en_AU.UTF-8); UI: en-US
Calc: threaded

Not reproduced in:

Version: 7.5.8.2 (X86_64) / LibreOffice Community
Build ID: f718d63693263970429a68f568db6046aaa9df01
CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: gtk3
Locale: en-AU (en_AU.UTF-8); UI: en-US
Calc: threaded

Bibisected the fix to Michael Stahl's ad03ed5106499f74b38da28489a9352ce3f01d1a which is a cherrypick of:

commit d81379db730a163c5ff75d4f3a3cddbd7b5eddda
author	Michael Stahl Mon May 08 16:38:03 2023 +0200
committer	Michael Stahl Tue May 09 10:34:40 2023 +0200
tdf#154877 sw: generalise ExtendedSelectAll()
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/151544

Thanks Michael!