bugGNU Octave - Bugs: bug #44408, xpan/ypan only do not work for...

 
 

bug #44408: xpan/ypan only do not work for FLTK plots

Submitter:  Rik <rik5>
Submitted:  Mon 02 Mar 2015 04:45:55 PM UTC
   
 
Category:  Plotting with OpenGL Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Inaccurate Result
Status:  Fixed Assigned to:  jwe
Originator Name:  Open/Closed:  * Closed
Release:  * dev Operating System:  * GNU/Linux
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Tue 03 Mar 2015 03:19:54 AM UTC, comment #5: 

Fixed for Qt.  I added an additional cset which uses the same fix for FLTK (http://hg.savannah.gnu.org/hgweb/octave/rev/fa290c42197e).  Closing report.

Rik <rik5>
Group administrator
Tue 03 Mar 2015 02:25:42 AM UTC, comment #4: 

I pushed the following changeset for Qt:

http://hg.savannah.gnu.org/hgweb/octave/rev/966a1933f3fa

John W. Eaton <jwe>
Group administrator
Mon 02 Mar 2015 10:51:55 PM UTC, comment #3: 

With Qt at least, it does work to use the scroll wheel, and the direction does seem to be limited to x or y only after doing pan xon or pan xoff.  I'll see whether I can make that work if you click and drag as well.

John W. Eaton <jwe>
Group administrator
Mon 02 Mar 2015 04:53:02 PM UTC, comment #2: 

Okay, I updated the title to note that this refers to both toolkits.

Rik <rik5>
Group administrator
Mon 02 Mar 2015 04:47:51 PM UTC, comment #1: 

This bug is not FLTK specific, it's the same for QT.

Stefan Mahr <dac922>
Mon 02 Mar 2015 04:45:55 PM UTC, original submission:  

Selecting the xpan or ypan only options from the edit menu for an FLTK figure, or using pan ("xon") or pan ("yon") does not actually do what it says.  Instead, it just enables general panning.

A quick look suggests the following code in _init_fltk_.cc is suspicious


if (pan_enabled ())
  ap.translate_view ("both", x0, x1, y0, y1);
else if (rotate_enabled ())


Maybe "both" should be only "x" or "y" depending on the setting of the pan mode?

Rik <rik5>
Group administrator

 

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

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by jwe (Posted a comment)
  • -email is unavailable- added by dac922 (Posted a comment)
  • -email is unavailable- added by rik5 (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 7 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2015-03-03 rik5 StatusReady For Test Fixed
        Open/ClosedOpen Closed
        Summaryxpan/ypan only do not work for OpenGL plots xpan/ypan only do not work for FLTK plots
    2015-03-03 jwe Severity2 - Minor 3 - Normal
        StatusNone Ready For Test
    2015-03-02 jwe Assigned toNone jwe
    2015-03-02 rik5 Summaryxpan and ypan only do not work for FLTK plots xpan/ypan only do not work for OpenGL plots

    Back to the top

    Powered by Savane 3.13-caa5.
    Corresponding source code