Bug 69939 - EDITING: Ctrl+A select only the current table if the cursor is in an empty cell
Summary: EDITING: Ctrl+A select only the current table if the cursor is in an empty cell
Status: RESOLVED DUPLICATE of bug 69893
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
4.2.0.0.alpha0+ Master
Hardware: All All
: low minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-09-29 19:58 UTC by Arnaud Versini
Modified: 2013-10-03 21:13 UTC (History)
5 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Arnaud Versini 2013-09-29 19:58:27 UTC
Steps to reproduce:
-Create a document with a table anywhere
-Fill the table with text, but left one cell empty
-Press Ctrl + A in the empty cell

Expected behavior :
-All document selected

Results :
-Only  the table is selected
Comment 1 Jean-Baptiste Faure 2013-09-30 12:37:28 UTC
I reproduce the described behavior with Version: 4.2.0.0.alpha0+ (Build ID: b241c355aaa03e51d843cb095985c2bb7a89cd85) under Ubuntu 13.04 x86-64.

Workaround: press ctrl+A twice. I do not know if that is expected.

Best regards. JBF
Comment 2 Miklos Vajna 2013-10-03 08:12:15 UTC
Yes, this is very much expected:

https://help.libreoffice.org/Writer/Selecting_Tables,_Rows,_and_Columns

Simple case:

You are in the middle of a document, in a table, no empty cells. Then:

1) First ctrl-a selects the cell

2) Second ctrl-a selects the table

3) Third ctrl-a selects the whole doc

In case of an empty cell, the first step is skipped, though.

There are two special cases:

1) Normal table starts at the begining of the doc: in that case you can't go "before" that table, so single ctrl-a selects the whole doc.

2) Table with empty cell at the begining of the doc: this scenario is indeed problematic, but already tracked as bug 69893.

OK to close this as a dupe of bug 69893?
Comment 3 Jean-Baptiste Faure 2013-10-03 21:13:30 UTC
(In reply to comment #2)
> Yes, this is very much expected:
> 
> https://help.libreoffice.org/Writer/Selecting_Tables,_Rows,_and_Columns
> 
Indeed, sorry for the noise. :-)
> 
> There are two special cases:
> 
> 1) Normal table starts at the begining of the doc: in that case you can't go
> "before" that table, so single ctrl-a selects the whole doc.
> 
> 2) Table with empty cell at the begining of the doc: this scenario is indeed
> problematic, but already tracked as bug 69893.
> 
> OK to close this as a dupe of bug 69893?

You're right. Closing as duplicate of bug 69893.

Best regards. JBF

*** This bug has been marked as a duplicate of bug 69893 ***