KDE Bug Tracking System
Home
Report New Wish or Bug
Query Existing Reports
First
Last
Prev
Next
No search results available
Search page
Bug
122237
:
KSpread doesn't always align number right
P
roduct
:
kspread
Co
m
ponent
:
general
Status
:
RESOLVED
Resolution
:
FIXED
Target
:
---
Version
:
unspecified
Pr
i
ority
:
NOR
Severity
:
normal
V
otes
:
0
Description
:
Opened:
2006-02-18 19:19
Last Changed:
2006-02-19 12:52:49
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).
Comment
#1
Miquel Torres 2006-02-18 19:20:19
Created an attachment (id=14757)
[details]
a very simple document displaying the wird behaviour
Comment
#2
Miquel Torres 2006-02-18 19:21:32
Created an attachment (id=14758)
[details]
If the previous document was displayed correctly, try opening this one first
Comment
#3
Alfredo Beaumont 2006-02-19 12:35:22
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
Comment
#4
Tomas Mecir 2006-02-19 12:52:48
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,
P
latform
:
Ubuntu Packages
O
S
:
Linux
K
eywords
:
People
Reporter
:
Miquel Torres
Assigned To
:
Alfredo Beaumont
Related actions
View Bug Activity
Format For Printing
XML
Clone This Bug
Note
You need to
log in
before you can comment on or make changes to this bug.
Attachments
a very simple document displaying the wird behaviour
(4.30 KB, application/vnd.oasis.opendocument.spreadsheet)
2006-02-18 19:20
,
Miquel Torres
Details
If the previous document was displayed correctly, try opening this one first
(17.61 KB, application/vnd.oasis.opendocument.spreadsheet)
2006-02-18 19:21
,
Miquel Torres
Details
fix-122237.diff
(708 bytes, text/x-diff)
2006-02-19 12:35
,
Alfredo Beaumont
Details
View All
Add an attachment
(proposed patch, testcase, etc.)
Depends on
:
B
locks
:
Show dependency tree
-
Show dependency graph
First
Last
Prev
Next
No search results available
Search page
Actions
Reports
Requests
Reports
Bugs reported today
Bugs reported in the last 3 days
Bug reports with patches
Weekly Bug statistics
The most hated bugs
The most severe bugs
The most frequently reported bugs
The most wanted features
Junior Jobs
Report ownership counts and charts
My Account
New Account
Log In