bugGNU Octave - Bugs: bug #54848, [OpenGL Qt] zooming out or in...

 
 

bug #54848: [OpenGL Qt] zooming out or in leads to unexpected results

Submitter:  Philip Nienhuis <philipnienhuis>
Submitted:  Tue 16 Oct 2018 05:25:55 PM UTC
   
 
Category:  Plotting with OpenGL Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Unexpected Error or Warning
Status:  Fixed Assigned to:  None
Originator Name:  Philip Nienhuis Open/Closed:  * Closed
Release:  * dev Operating System:  * Microsoft Windows
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Sat 02 Feb 2019 06:24:26 AM UTC, comment #3: 

Fixed on the development branch in this cset: https://hg.savannah.gnu.org/hgweb/octave/rev/a7dfb00d5bf5.

This will be a part of the Octave 6.1 release.  To access the fix sooner download axis.m from the Mercurial development branch and replace your local copy.

Closing report.


Rik <rik5>
Group administrator
Tue 23 Oct 2018 06:02:19 PM UTC, comment #2: 

In bug #53724 a user has confirmed my findings.

Now the question beomes: is this a duplicate or a more general issue?

Philip Nienhuis <philipnienhuis>
Group Member
Tue 16 Oct 2018 08:25:38 PM UTC, comment #1: 

Fltk toolkit behaves better; while continuing zooming out the plot disappears but reappears when zooming back in.

Also, Octave-4.4.1 behaves better.

Philip Nienhuis <philipnienhuis>
Group Member
Tue 16 Oct 2018 05:25:55 PM UTC, original submission:  

Steps to reproduce:
1. load the attached .mat file bugXXXX.mat

2. plot the data using:

patch ("vertices", [X Y], "faces", faces, "facecolor", [0.5 0.7 0.9], "edgecolor", [0.6 0.6 0.6])

3. click  Zoom in" button

4. Zoom out using scroll wheel until plotted data disappear completely (axes still visible).

5. Then zoom back in

==> Result:
No problems.

But,

6. Repeat step 2

7. Type "axis equal" in command window

8. Repeat steps 3 - 5

Result:
==> After a few zoom-out steps (9 in my case) the plot and axes suddenly disappear completely. Zooming back in they don't reappear.

In addition, after step 2 (w/o "axis equal"), zooming out (with zoom out button active) by clicking in the plot, the plot zooms out but after a few clicks in the plot often zooms back in to full extent.

In other tries, zooming in behaves similarly, the plot zooms out unexpectedly in some cases.

Philip Nienhuis <philipnienhuis>
Group Member

 

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

Attach Files:
   
   
Comment:
   

Attached Files
file #45211:  bugXXXX.mat added by philipnienhuis (12KiB - application/octet-stream)

 

Depends on the following items: None found

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 philipnienhuis (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 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2019-02-02 rik5 StatusNone Fixed
        Open/ClosedOpen Closed
    2018-10-16 philipnienhuis Summary[OpenGL] zooming out or in leads to unexpected results [OpenGL Qt] zooming out or in leads to unexpected results
    2018-10-16 philipnienhuis Attached File- Added bugXXXX.mat, #45211

    Back to the top

    Powered by Savane 3.13-758e.
    Corresponding source code