Issue 38395 - Y-Error Bars are horizontal in all charts
Summary: Y-Error Bars are horizontal in all charts
Status: CLOSED FIXED
Alias: None
Product: General
Classification: Code
Component: chart (show other issues)
Version: 3.3.0 or older (OOo)
Hardware: All Linux, all
: P3 Trivial (vote)
Target Milestone: ---
Assignee: kla
QA Contact: issues@graphics
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-12-03 15:28 UTC by bjoern.milcke
Modified: 2013-02-24 21:19 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description bjoern.milcke 2004-12-03 15:28:10 UTC
This bug is really strange: If you compile sch/source/core/globfunc.cxx with
debug the error bars are vertical, like expected.  If you compile it without
debug information, you get the false orientation.

On first sight it looks like a bug in gdb. Here is what happens:
ChartModel::AverageErrorY() is called with parameter bVertical set to FALSE
(0x00).  It is then passed on to the function ShowErrorLineY( BOOL bIsVertical,
... ) (defined in globfunc as function) where the BOOL bVertical is changing to
174 (when I debugged this first).
Comment 1 bjoern.milcke 2004-12-06 12:25:39 UTC
As the old chart code is planned to be out-of-lifed in the near future, I think
it is ok to disable optimisation for sch/source/core/globfunc.cxx.  I added this
file to the NOOPTFILES list in the makefile.
Comment 2 bjoern.milcke 2004-12-16 15:31:19 UTC
reopened for resend
Comment 3 bjoern.milcke 2004-12-16 15:32:58 UTC
please verify in CWS bm3

To test: compare error-bars in any Linux non-pro version, and in the one on bm3.
The error-bars are painted incorrect on the m65 master.
Comment 4 bjoern.milcke 2004-12-16 15:33:26 UTC
resetting to fixed
Comment 5 bjoern.milcke 2004-12-17 09:23:56 UTC
Sorry, I meant pro not non-pro (I meant the non-debug version)
Comment 6 kla 2004-12-17 10:09:43 UTC
verified in bm3
Comment 7 kla 2005-01-18 14:48:26 UTC
closed
Comment 8 comtelicon 2010-11-10 16:08:18 UTC
Created attachment 73093