Issue 124727

Summary: Deselecting table row is counter intuitive
Product: Writer Reporter: hadouma <hadouma>
Component: editingAssignee: AOO issues mailing list <issues>
Status: CONFIRMED --- QA Contact:
Severity: Normal    
Priority: P3 CC: rainerbielefeld_ooo_qa
Version: 3.3.0 or older (OOo)   
Target Milestone: ---   
Hardware: All   
OS: All   
Issue Type: ENHANCEMENT Latest Confirmation in: 4.1.0-dev
Developer Difficulty: ---
Description Flags
Sample Document none

Description hadouma 2014-04-22 19:17:32 UTC
Normally, in OSX, when you select e.g. a number of files in a folder in Finder, doing Cmd-Click on one of these files will deselect it. This is normal behavior everywhere in OSX.

Not so in OO Writer: when I select multiple rows of a table and want to deselect one of them and try doing this with Cmd-Click, instead of DE-selecting that row it will ONLY select that row and deselect the rest.

To recreate:
1. Create table in OO Writer
2. Select number of rows
3. Try deselecting one by pointing at the row and do Cmd-click

Expected behavior: that row is deselected and the rest remains selected
Actual behavior: that row is selected and the rest is deselected

Reasons for wanting to do this are numerous, but one in particular: try to sort a table that has headers. In that case you must select all rows except the header. So normally I would select all rows and deselect the header, but because this does not work, as for the reason mentioned above, I now must select all rows under the header. And here we have a second problem: the table must be completely visible in the screen, either on one or multiple pages, or selecting all rows will fail: if the window is showing only part of the table, selecting rows will deselect all rows from where you started to select them, as soon as selecting will reach the bottom of the window. The text will scroll and rows will be deselected from the beginning downwards.

So, in my case I have a table spanning several pages. To select all rows except the header, I must zoom out to fit the table in the window (displaying several pages) and only then I can select all rows except the first one.
Comment 1 Rainer Bielefeld 2014-04-22 20:30:25 UTC
I never understood this cells/rows/columns selection in Writer tables, I will try to contribute some info later.
Comment 2 mroe 2014-04-22 21:32:10 UTC
It is simply not possible to select cells that are not connected together. It is OS independent.
Comment 3 Rainer Bielefeld 2014-04-23 04:30:52 UTC
Created attachment 83254 [details]
Sample Document

(In reply to mroe from comment #2)
> It is simply not possible to select cells that are not connected together.

That is not reporter's problem, he wants to deselect the first row of a selected area (all cells)

For details see attachment!
Comment 4 mroe 2014-04-23 07:57:34 UTC
one row <> first row
Comment 5 hadouma 2014-04-23 09:19:35 UTC
@mroe: normally selecting individual rows in a table or files in Finder should be possible by holding Cmd while selecting the rows/files. Cmd-click normally works as a toggle: a selected row/file is deselected, a deselected row/file is selected. This has always been the case, be it OSX or Windows. So the OO behavior is quite the opposite of what one would expect.
Comment 6 hadouma 2014-04-23 11:02:46 UTC
Please also check out this forum entry and then in particular acknak's post

Here it is explained how to select a block of rows. Although this is not exactly the solution to my problem, it is a work around. It is also showing the odd behavior of OO Writer in this matter, which is very different from any other implementation of selecting.
Comment 7 Oliver-Rainer Wittmann 2014-04-23 11:15:14 UTC
some background information:
(1) yes, it is true that only rectangle-like range of a table can be selected in Writer.
(2) yes, it is true that no deselection is possible in Writer table selection.
(3) yes, it is true that (1) and (2) are not depending on the platform and are true since I know OpenOffice Writer.

now back to the reporters use case:
(a) selecting certain table rows in Writer using the left-mouse-click at the beginning of a row, holding it and moving down is somehow defective, when the table is not completely visible. I think this is the use case which hadouma had described. Right?

(I) place the cursor inside the first cell of the second row and hit key combination Shift-Ctrl-End
--> all rows except the first one will be selected.

(II) place the cursor inside the first cell of the second row, hold the Shift key and hit Arrow-Right key until all cell of the 2nd row are selected - still hold the Shift key. Now hit Arrow-Down key until the end of the table
--> all rows except the first one will be selected.

(III) click with the mouse into the first cell of the 2nd row and hold the Left-Mouse button. Now move the mouse downwards until the end of the table.
--> all rows except the first one will be selected.

All three workarounds also work when the table is not completely visible.

- I can confirm the behavior described by the reporter (at least what I have understand).
- From the 'implemented feature set' point of view this is more an enhancement request than a defect.
- Workarounds for the reporters use case are available.
Comment 8 Rainer Bielefeld 2014-04-23 12:04:55 UTC
(In reply to Oliver-Rainer Wittmann from comment #7)
+1 for all

I additionally tested Calligra, Kingsoft and SoftMaker Writer, all have similar limitations as AOO