Issue 31990 - wrong table column insertion
Summary: wrong table column insertion
Status: CLOSED DUPLICATE of issue 31115
Alias: None
Product: Writer
Classification: Application
Component: code (show other issues)
Version: 680m47
Hardware: PC Linux, all
: P3 Trivial (vote)
Target Milestone: ---
Assignee: michael.ruess
QA Contact: issues@sw
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-07-23 11:59 UTC by tuharsky
Modified: 2004-07-23 13:18 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
The document (12.08 KB, application/vnd.sun.xml.writer)
2004-07-23 12:09 UTC, tuharsky
no flags Details
It's not visible, but the cursor is in 4th column (Cena) (34.88 KB, image/png)
2004-07-23 12:09 UTC, tuharsky
no flags Details
Two columns instead of one, and at wrong place (32.74 KB, image/png)
2004-07-23 12:10 UTC, tuharsky
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description tuharsky 2004-07-23 11:59:48 UTC
I click at column to get cursor there. Then I do right click -> column -> Insert
-> 1 Before

But it creates 2 columns, and twice-before.
Comment 1 tuharsky 2004-07-23 12:09:00 UTC
Created attachment 16703 [details]
The document
Comment 2 tuharsky 2004-07-23 12:09:59 UTC
Created attachment 16704 [details]
It's not visible, but the cursor is in 4th column (Cena)
Comment 3 tuharsky 2004-07-23 12:10:40 UTC
Created attachment 16705 [details]
Two columns instead of one, and at wrong place
Comment 4 tuharsky 2004-07-23 12:16:21 UTC
Wow, let's continue. I place cursor in the second of the created columns. Right
click -> Column -> Delete.

What happens? The Writer suddenly jumps to the top of document. I go back to
table, and I see BOTH columns deleted.
Comment 5 tuharsky 2004-07-23 12:19:28 UTC
The same results if I try deleting not the new column, but the old one that
shrinked after misplacing the two new columns (this time column 5 Náplň Äierna).
Comment 6 tuharsky 2004-07-23 12:24:55 UTC
Well, back to Insertion, back to picture one. I try to achieve the insertion
from the left side. I go to Column 3 -> Column Insert ->1 After.
Result?
Again, miscreated 2 columns, twice after, to the right from the base column.
Comment 7 tuharsky 2004-07-23 12:28:08 UTC
I'd like to attach screenshot, but I don't see an option on my Issue screen!
Comment 8 tuharsky 2004-07-23 12:51:27 UTC
It seems the bug is somehow connected to the two bottom rows with merged
columns. If I delete them, the insertion works correctly.

Seems like insertion code is not able to face table where different rows take place.

The insertion code should count the row where insertion is made and insert the
column to the both directions (up and down), and if there's some change in rows
behavior, consider what to do (split cells? or stop insertion?). Certainly,
should not act as he does.

This is out of scope of this bug, however. In the attached document there's no
uncertainity what to do with "Insert column" command. The command is correct
upside down the whole table.
Comment 9 michael.ruess 2004-07-23 13:16:48 UTC
That's right, the behaviour is due to the fact, that this is a "complex" table
(with merged cells). See issue 31115 for further information.

*** This issue has been marked as a duplicate of 31115 ***
Comment 10 michael.ruess 2004-07-23 13:18:34 UTC
Closed as duplicate.