Bug 97008 - "Select all (ctrl+a)" does not work with a header and first paragraph of body text is hidden
Summary: "Select all (ctrl+a)" does not work with a header and first paragraph of body...
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
unspecified
Hardware: All All
: medium minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-01-10 15:11 UTC by Sven
Modified: 2017-07-12 20:54 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
example document (8.56 KB, application/vnd.oasis.opendocument.text)
2016-01-10 15:11 UTC, Sven
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sven 2016-01-10 15:11:31 UTC
Created attachment 121834 [details]
example document

When the document contains a header and the first paragraph of body
text is hidden, "Select all" won't work - the cursor will just be placed in header. See example document.

The bug exist since I work with StarOffice 5.2
Comment 1 Luke Picciau 2016-01-11 04:47:09 UTC
Appears to be working on libreoffice 5.0.3.2 on ubuntu 15.10.

What version of libreoffice and OS are you using?
Comment 2 Sven 2016-01-11 17:42:04 UTC
Hello Luke, thanks for your reply.

I have at least tested it with Windows 10 and LO 5.1.0.0.beta2+ (Build-ID: afa8fec8367c747cbf50d81fe836dd1679b85867) and I have just downloaded Ubuntu 15.10 and can confirm the bug there too (LO 5.0.2.2)

I forgot to say that you have to deactivate the display for hidden paragraphs (deselecting checkbox in menu: View - Hidden Paragraphs). When pressing ctrl+a or dispatching .uno:SelectAll the cursor jumps to the header and nothing will be selected.
Comment 3 FutureProject 2016-01-11 18:34:07 UTC
Can confirm described behaviour.

Windows 10 Pro, Version 1511 (OS Build 10586.36)
LibreOffice 5.0.4.2, Build ID 2b9802c1994aa0b7dc6079e128979269cf95bc78
Locale en_US

Placing the cursor where the hidden paragraph is and pressing Ctrl+A places the cursor into the header. When "View -> Hidden Paragraphs" is toggled and the paragraph visible, it selects the paragraph as expected. When text is entered into line 2 when the paragraph is hidden, the newly added text is not selected, instead the cursor goes back to the header.

Set to MINOR because it doesn't stop anyone from selecting per click+drag.
Comment 4 QA Administrators 2017-03-06 13:48:21 UTC Comment hidden (obsolete)
Comment 5 Sven 2017-03-07 23:38:02 UTC
the bug still exists in LO 5.3.0.1
Build-ID: 3b800451b1d0c48045de03b5b3c7bbbac87f20d9
CPU-Threads: 4; BS-Version: Windows 6.2; UI-Render: Standard; Layout-Engine: neu; 
Gebietsschema: de-DE (de_DE); Calc: group