[Libreoffice-bugs] [Bug 51695] New: RTL: graph/chart scale cannot be modified, due to number format issue
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Tue Jul 3 21:23:23 CEST 2012
https://bugs.freedesktop.org/show_bug.cgi?id=51695
Bug #: 51695
Summary: RTL: graph/chart scale cannot be modified, due to
number format issue
Classification: Unclassified
Product: LibreOffice
Version: 3.3.0 Beta2
Platform: Other
OS/Version: All
Status: UNCONFIRMED
Status Whiteboard: BSA
Severity: normal
Priority: medium
Component: Spreadsheet
AssignedTo: libreoffice-bugs at lists.freedesktop.org
ReportedBy: 1st2be at gmail.com
Created attachment 63779
--> https://bugs.freedesktop.org/attachment.cgi?id=63779
spreadsheet w/graph
Problem description:
Create a line graph, format the y-axis (possibly x-axis also) to a different
scale is impossible, because the input number format not accepted.
Steps to reproduce:
1. double click on graph
2. right click on y-axis, choose Format axis, 1st tab (scale) Uncheck automatic
for Min/Max and enter 158, 198 respectively
3. modification #'s not accepted, it reports wrong format
Current behavior:
does not accept numbers entered, reports error, though there should be none.
Must select Auto-scaling or not change values
Expected behavior:
Accept changes to numbers and reformat graph
/core/chart2/source/controller/dialogs/tp_Scale.cxx
appears to have extra code @lines 574-581, I commented these lines then nIndex
== 0, where as it was 100 prior. Don't quite know what these extra lines
are/were for but they appear to have been copied from another section. nIndex
should not be set to pPoolItem.GetValue(), that appears to be a nFmt of a
different nature than used in Deactivate..
It is possible the format checks could be removed completely, since the format
is corrected during entry, prior to deactivation.
Platform (if different from the browser):
Browser: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:13.0) Gecko/20100101
Firefox/13.0.1
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the Libreoffice-bugs
mailing list