Apache OpenOffice (AOO) Bugzilla – Issue 17245
Delete columns may delete two columns
Last modified: 2013-08-07 14:44:35 UTC
The attempt to delete one column of a table results in also deleting an adjacent column. After this the cursor is placed outside of the table. This behaviour was observed in a table having merged cells. I think this issue is related to #17239 in that the surplus deleted cells were these which would be selected accidentically when attempting to select the column. Another behaviour which was observed is that the column is deleted correctly but then the structure of the merged cells was not retained.
Please explain more about your problem, your information is not enough to investigate the problem. Please try to find way how to reproduce the problem. if your problem only sometimes happend we have difficulty to confirm it is real problem or not. Please come back with more information. Thanks
See new attachment to Issue 17239 (id=9567)
Please explain step by step how to reproduce the problem. thanks
- Download latest attachment for issue 17239 and open it with OpenOffice - Click into merged cell E2/3 containing "Stop selection here" or E4/5 - Do "delete column" - Column E vanishes but also (accidently) does column F Thanks Stefan BTW: I voted for this issue (and got e-mail on changes) but it shows 0 votes!?
Can confirm this with the attached bugdoc, and from scratch, with OOo 1.1.0(en) on Win98. sq, if an Issue needs an attachment please attach it and do not refer to the bugdoc of another Issue, even if it´s identical. And, if it is a sxw file, choose application/octet stream as file type. This time I do it for you. As to your votes: Click on "My votes" on top of this (or other) pages after you've logged in, to check whether your vote has been recorded with the right Issue number.
Created attachment 11112 [details] bugdoc with instructions inside
HI->FME: Cursor Position info is also wrong. New Task?
FME: Looks like a rounding problem in lcl_FindStartEndCol during the calculation nSX. Does not occur with small amount of columns. FME->HI: No, the cursor position info is not wrong. The cell names shown in the status bar match the actual table structure.
.
This is still present in 1.9.79. Though occasionally it actually seems to work correctly. I've also seen this kind of situation delete the whole table occassionally. Can this issue be retargeted for 2.0 since the later decision was made back in 2003?
*** Issue 44620 has been marked as a duplicate of this issue. ***
*** Issue 50591 has been marked as a duplicate of this issue. ***
*** Issue 65248 has been marked as a duplicate of this issue. ***
This issue is still present in 2.0.2 version.
Created attachment 36373 [details] Another table failing.
*** Issue 65766 has been marked as a duplicate of this issue. ***
*** Issue 65765 has been marked as a duplicate of this issue. ***
mru: are you sure that 65766 is a dupe of this issue? I agree that 65765 (mine) is the duplicate, but 65766 seems totally different?
*** Issue 78094 has been marked as a duplicate of this issue. ***
I've never had this problem before, but in OOo 2.3.0 am getting a column delete removing whole table when a merged cell exits across all columns. In previous versions this has worked fine for my WinXP/Vista systems. Can't see anyone else reporting this effect though...
*** Issue 86093 has been marked as a duplicate of this issue. ***
5 year old issue with 7 duplicates and still not fixed. Any chance for 3.x?
I agree that the duplicates (not the age) of this issue are an indication that we should promote its target to avoid that it falls into oblivion (2500 issues on "OOoLater" and without target - sigh).
*** Issue 89964 has been marked as a duplicate of this issue. ***
Please fix this. I have attached (or will, after this page has been submitted) a document with a table for which I can find no workaround for what I need done. There are merged cells in the first two columns. I'm not trying to delete anything in the first two columns. If you click in the headers for columns 3 through 9 (labeled A through G), then that column and the one to the right are deleted! I need to delete only one, not both, of columns A and B. There doesn't appear to be any way to do that! How can I turn out a professional-looking document with extra blank columns in it? How can this bug have no resolution for SIX years?
Created attachment 61870 [details] a document with a table from which a single column cannot be deleted
*** Issue 9915 has been marked as a duplicate of this issue. ***
*** Issue 102076 has been marked as a duplicate of this issue. ***
Frank, please consider this 6 year old bug with 12 votes and 10 duplicates for 3.2. Thanks a lot for your attention. WBR, KP.
This is not a clear bug. A table with merged cells can't have exact columns and rows. Such tables should be edited with mouse, and cells are to be deleted by merging with another cells. When you select a column, you select not an exact column, but a column defined by the first row cell. For example, one cell can be so wide that it covers a few cells in the lower rows. In the dialog for columns, there is no clear columns, but just the cells of the first row. And the widths are just the widths of the first cells. This is why only the first cells with equal widths are resized by this dialog. This is not a bug. Maybe it just looks like a bug, because the dialog continues to claim that it is the column width, but there are merged cells already and no definite columns or widths.
> cells are to be deleted by merging with > another cells. User does not want to delete other cells (adjacent column). Such UI would be a joke really.
For tables with merged cells, there are no columns or rows, there are only cells. When you select a few cells and click "delete row" or "delete column", you can't delete neither a row nor a column (there are no rows, no columns), you can either delete the whole table or merge the cells with right, left, upper or lower cells, by your choice, because each cell have 4 adjacent cells.
Sorry, I was wrong. Each cell can have a lot of adjacent cells. This is a lot more complicated.
Created attachment 62646 [details] can you find a column in this table?
This issue is still present in OOo-Dev_OOO310_m15 version.
Created attachment 64931 [details] select cell in any column and attempt to delete the column
The bug does not merely cause adjacent columns to be deleted, it can cause the entire table to be deleted. See attachment column-delete-failure.
I have this problem too and have an example to upload
Created attachment 65644 [details] example of bug in 17245
Created attachment 73215