bugGNU Octave - Bugs: bug #33929, fltk shows wrong coordinates of...

 
 

bug #33929: fltk shows wrong coordinates of the mouse cursor

Submitter:  kloof <kloof>
Submitted:  Tue 02 Aug 2011 04:26:20 PM UTC
   
 
Category:  Plotting Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Incorrect Result
Status:  Fixed Assigned to:  None
Originator Name:  Open/Closed:  * Closed
Release:  * 3.4.1 Operating System:  * GNU/Linux
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Sat 04 Feb 2012 02:54:16 AM UTC, comment #2: 

Fixed in this changeset (http://hg.savannah.gnu.org/hgweb/octave/rev/5a2b012b10c7).  You will need to build from Mercurial sources, or wait until the 3.8.0 release, in order to see the fix.

Rik <rik5>
Group administrator
Tue 02 Aug 2011 07:57:05 PM UTC, comment #1: 

This problem likely has the same root cause as the one for ginput reported here:

https://savannah.gnu.org/bugs/index.php?32310

John W. Eaton <jwe>
Group administrator
Tue 02 Aug 2011 04:26:20 PM UTC, original submission:  

When I do


octave:1> version
ans = 3.4.0
octave:2> graphics_toolkit ('fltk')
octave:3> x=0:0.05:2*pi ; y=sin(x); plot(x,y)
octave:4>


the sine plots correctly, but the mouse cursor is off: it shows for instance that 'y'=0.994 when it is clearly above 1.

The screenshot shows the 'miscalculation'. Due to the screenshot, the 'cross' cursor has turned into a 'arrow' cursor, but I found this (tiny) bug using the cross-cursor.

The relative error seems to persist for bigger numbers too.

Octave+Gnuplot does it correctly.


kloof <kloof>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

Attached Files
file #23729:  Screenshot-1.png added by kloof (22KiB - image/png)

 

Digest:
   bug dependencies.

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by rik5 (Posted a comment)
  • -email is unavailable- added by jwe (Posted a comment)
  • -email is unavailable- added by kloof (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group members can vote.

     

    Follow 6 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2012-02-04 rik5 StatusConfirmed Fixed
        Open/ClosedOpen Closed
    2011-08-03 rik5 Carbon-CopyRemoved 72865 -
    2011-08-03 rik5 StatusNone Confirmed
    2011-08-03 rik5 Dependencies- Depends on bugs #32310
    2011-08-02 kloof Attached File- Added Screenshot-1.png, #23729

    Back to the top

    Powered by Savane 3.13-caa5.
    Corresponding source code