Apache OpenOffice (AOO) Bugzilla – Issue 51884
Selection bug if table with header spans two pages
Last modified: 2013-08-07 14:38:26 UTC
See the attached doc and wmv file for a description. Steps to reproduce: Create a default table (with header row) and insert empty lines before it so it overflows onto a new page. Type some text in a cell so the cell spans two pages. Begin a drag-select at the bottom of the cell and move upwards to the top of the cell. When the cursor moves on to the (repeated) header row, the selection is lost. When the cursor moves on to the part of the cell on the previous page, the selection is reset. The selection in the bottom part of the cell is 'forgotten'.
Created attachment 27876 [details] Doc illustrating the bug.
Created attachment 27877 [details] Screen capture (video) demonstrating the bug
MRU->FME: I was only able to reproduce the problem on systems running a screen resolution of 1280x1024 pixel. On my notebook with 1024x768 this problem didn't occur. Select the text from the end of the mentioned cell to the beginning and see the selection inverting.
Confirmed - Windows XP SP2, OOo 2.0.1 Confirmed - Linux (Ubuntu Breezy, kernel 2.6.12), OOo 2.0 Confirmed - Linux (Red Hat 7.3, kernel 2.4.31), OOo 2.0 Steps to replicate (as mentioned above): 1. Click on "File" menu, choose "New", then select "Text Document". 2. Insert empty lines by pressing "Enter" on the keyboard until reaching the last line of the page. 3. Press "Backspace" on the keyboard 2 times, so that the cursor would be position on the 3rd last line. 4. From the "Insert" menu, choose "Table". 5. Increment both, the number of "Columns" and "Rows" from 2 to 5, and press "ok". 6. On (column 1, row 2) start typing text until the cell has text on the two pages. 7. Now drag and select from the text line in page 2 and move up to text line in page 1. The selection of the text in the second page loses focus. Additional notes: I selected for the size of the table 5 rows and 5 columns, but it created 6 rows and 5 columns (1 more extra row). Furthermore if I insert text on (column 1, row 1), the same text gets typed in another cell on the second page.
Created attachment 33607 [details] text's highlight problem and text duplication problem