Version: 1.3 (using KDE KDE 3.2.2) OS: Linux 1. Enter the text "A" in A1. 2. Select the area A1:B1 3. Choose Data->Merge Cells 4. Make the text in the merged cell centered 5. Choose Data->Dissociate Cells. Now, the "A" is placed on the border between A1 and B1 which used to be the center of the two merged cells. If three cells are merged instead of two, the "A" disappears completely after the dissociation. It is still there, though, since you can see it again if you make A1 left aligned.
CVS commit by ingwa: Fix bug 87700: Formatting error after Dissociate Cells BUG: 87700 I will backport to the 1.3 branch. M +16 -11 kspread_sheet.cc 1.628 --- koffice/kspread/kspread_sheet.cc #1.627:1.628 @@ -6293,4 +6293,9 @@ void KSpreadSheet::dissociateCell( const QRect selection( marker.x(), marker.y(), x, y ); refreshMergedCell(); + + // Must be called, because the call to refreshMergedCell() doesn't + // set this flag on the cell itself. + cell->setLayoutDirtyFlag(true); + emit sig_updateView( this, selection ); }