[Kst] [Bug 152614] New: [1.5.0] Plot cursor not drawn in correct location when axes reversed

D.V.Wiebe dwiebe at physics.utoronto.ca
Tue Nov 20 22:58:03 CET 2007


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=152614         
           Summary: [1.5.0] Plot cursor not drawn in correct location when
                    axes reversed
           Product: kst
           Version: 1.5.0
          Platform: Compiled Sources
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: kst kde org
        ReportedBy: dwiebe physics utoronto ca


Version:           1.5.0 (using KDE KDE 3.5.8)
Installed from:    Compiled From Sources
Compiler:          gcc (GCC) 4.1.2 
OS:                Linux

The cursor (the little cross-hairs that gets stuck to a plot when I hit 'c') doesn't get drawn in the right location when plot axes reversed.  To be specific, it is drawn in where it would have been had the axes not been reversed.

Steps to reproduce:

1. Create a plot
2. Right click -> Edit... -> X Axis -> select 'Reverse'
3. Add a cursor to the plot by hitting 'c'

Result:

The cursor is drawn not under the mouse cursor, but on the other side of the graph.  The location of the cursor icon corresponds the location it would have had (in the window), had the plot not been reversed.

Expected result:

The cursor is drawn under the mouse cursor.

Note: despite the cursor being drawn in the wrong location, the offset reported on the status line is correct (ie. the offset reported for the location where the cursor should have been drawn is 0,0 while the offset reported for the place where cursor is actually drawn is non-zero.


More information about the Kst mailing list