Bug 124079 - The text of merged cells interferes cells beyond to fit vertically
Summary: The text of merged cells interferes cells beyond to fit vertically
Alias: None
Product: calligrasheets
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: Calligra Sheets (KSpread) Bugs
Depends on:
Reported: 2006-03-22 15:41 UTC by Lambi Theocharidis
Modified: 2011-06-29 17:17 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Note You need to log in before you can comment on or make changes to this bug.
Description Lambi Theocharidis 2006-03-22 15:41:02 UTC
Version:            (using KDE KDE 3.5.1)
Installed from:    SuSE RPMs

The text of merged cells interferes cells beyond to fit vertically. 


Write a word with 8 characters to A1
Write a word with 3 characters to A2, B2 and c2
Merge the cells A1, B1, C1
Doubleclick column A, B, C

The column A is brighter than the others
Comment 1 Stefan Nikolaus 2006-03-25 17:14:00 UTC
You mean the horizontal adjustment of the cell width does not respect the merged cell status of cell A1 and that column A is wider than necessary.
Comment 2 Elián Hanisch 2008-11-02 19:38:55 UTC
Can confirm in current trunk, to reproduce just
1. write in A1 something long enough that doesn't fit in the cell.
2. merge A1 B1 C1
3. double click A1's column

even though the text in A1 does fit in the merged cells, the A column gets wider.
Comment 3 Marijn Kruisselbrink 2011-06-29 17:17:13 UTC
Git commit 9934979f3e6954ad291af9b89630e72c73e3f9b3 by Marijn Kruisselbrink.
Committed on 29/06/2011 at 11:58.
Pushed by mkruisselbrink into branch 'master'.

when figuring out the minimum size of a column to fit its contents, take merged cells into account in a slightly better way, by subtracting the width of the additional columns from the size that is needed for the text in a cell.
BUG: 124079

M  +9    -0    tables/commands/RowColumnManipulators.cpp