Version: 1.5beta1 (using KDE KDE 3.5.0) Installed from: Ubuntu Packages OS: Linux this is a strange bug, as it doesn't always happen. Only after opening a particular document. When you delete (supr) a cell containing a number, a 0 is displayed with left alignment. A blank cell should be displayed instead (as it actually happens if I havent opened this particular document before).
Created an attachment (id=14757) [details] a very simple document displaying the wird behaviour
Created an attachment (id=14758) [details] If the previous document was displayed correctly, try opening this one first
Attached is the patch for bug #122237. strOutText should match strText if the cell is empty. Created an attachment (id=14771) [details] fix-122237.diff
SVN commit 511266 by mecir: Fixed bug 122237, empty cells get displayed correctly. Patch by Alfredo Beaumont, alfredo.beaumont at gmail dot com BUG: 122237 M +2 -1 kspread_cell.cc --- trunk/koffice/kspread/kspread_cell.cc #511265:511266 @@ -1595,7 +1595,8 @@ // Display a formula if warranted. If not, display the value instead; // this is the most common case. if ( (!hasError()) && isFormula() && format()->sheet()->getShowFormula() - && !( format()->sheet()->isProtected() && format()->isHideFormula( d->column, d->row ) ) ) + && !( format()->sheet()->isProtected() && format()->isHideFormula( d->column, d->row ) ) + || isEmpty() ) d->strOutText = d->strText; else { d->strOutText = sheet()->doc()->formatter()->formatText (this,
You need to log in before you can comment on or make changes to this bug.