bugGNU Octave - Bugs: bug #46516, Qt plotting, plot overlay ignores...

 
 

bug #46516: Qt plotting, plot overlay ignores plot order on Windows

Submitted by:  Nicholas Jankowski <nrjank>
Submitted on:  Tue 24 Nov 2015 04:19:06 PM UTC  
 
Category: Plotting with OpenGLSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Incorrect Result
Status: FixedAssigned to: None
Originator Name: Nicholas JankowskiOpen/Closed: Closed
Release: 4.2.0Operating System: Microsoft Windows

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

(Jump to the original submission Jump to the original submission)

Tue 06 Jun 2017 09:24:27 PM UTC, comment #7:

This has been fixed. I tested with changeset 23548:05bbca224a14.

Closing report.

Rik <rik5>
Project Administrator
Tue 06 Jun 2017 08:10:11 PM UTC, comment #6:

I'm building MXE Octave right now. I should be able to test this in a few hours.

Rik <rik5>
Project Administrator
Mon 05 Jun 2017 11:36:44 AM UTC, comment #5:

Unfortunately no. I'm not setup to compile from source, just running off the latest Windows release

Nicholas Jankowski <nrjank>
Mon 05 Jun 2017 10:34:46 AM UTC, comment #4:

@Nicholas: do you have access to a recent dev version? A recent change (http://hg.savannah.gnu.org/hgweb/octave/rev/06805aabbdd1) could eventually have an effect on this bug

Pantxo Diribarne <pantxo>
Project Member
Sat 17 Sep 2016 02:55:09 PM UTC, comment #3:

This seems to be a Windows only problem. I just re-tested with 4.2.0-rc1 and both fltk and qt are not correctly overlapping lines.

Rik <rik5>
Project Administrator
Wed 25 Nov 2015 02:39:37 PM UTC, comment #2:

oops, sorry. attached is a screencap showing side-by-side of plots produced with qt, gnuplot, and fltk (left to right). in the qt plots the red + is always on top. In gnuplot and fltk the order follows the plot order (subsequent plots always on top of earlier plots)

(file #35547)

Nicholas Jankowski <nrjank>
Wed 25 Nov 2015 12:05:56 AM UTC, comment #1:

Could you post PNGs of the plots so that we can see what is happening? If I understand it right, then I believe this may be a Windows only bug. I ran the sample code under Linux and it worked fine.

For ease, I'm attaching a script, bad_overlap.m, which contains the code to produce the two figures.

(file #35543)

Rik <rik5>
Project Administrator
Tue 24 Nov 2015 04:19:06 PM UTC, original submission:

referring to a recent help list discussion [1], it seems that the new Qt graphics don't respect plot order when plots overlap. if run with the three different graphics toolkits, Qt looks different from gnuplot or fltk. For the latter, whichever plot is 'first' is always on top where they overlap. For Qt, the + plot is always on top whether it is first or second in the list.

This seems to be a regression from previous versions before Qt was a generally available option, and gnuplot and fltk match the Matlab behavior if visual compatibility is necessary.

[1] http://octave.1599824.n4.nabble.com/Help-linestyleorder-in-chart-td4673583.html

Nicholas Jankowski <nrjank>

 

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

Attach File(s):
   
   
Comment:
   

Attached Files
file #35547:  Capture.PNG added by nrjank (259KiB - image/png - screencap showing overlap differences)
file #35543:  bad_overlap.m added by rik5 (250B - d2l/unknowntype)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by pantxo (Posted a comment)
  • -unavailable- added by mtmiller (Updated the item)
  • -unavailable- added by rik5 (Updated the item)
  • -unavailable- added by nrjank (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 12 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Tue 06 Jun 2017 09:24:27 PM UTCrik5StatusConfirmed=>Fixed
      Open/ClosedOpen=>Closed
    Thu 17 Nov 2016 04:06:26 AM UTCmtmillerItem GroupRegression=>Incorrect Result
      Release4.2.0-rc1=>4.2.0
      SummaryOpenGl plotting, plot overlay ignores plot order on Windows=>Qt plotting, plot overlay ignores plot order on Windows
    Sat 17 Sep 2016 02:55:09 PM UTCrik5StatusNeed Info=>Confirmed
      Release4.0.0=>4.2.0-rc1
      SummaryQt plotting, plot overlay ignores plot order=>OpenGl plotting, plot overlay ignores plot order on Windows
    Sun 21 Feb 2016 10:38:55 PM UTCmtmillerCategoryPlotting=>Plotting with OpenGL
    Wed 25 Nov 2015 02:39:37 PM UTCnrjankAttached File-=>Added Capture.PNG, #35547
    Wed 25 Nov 2015 12:05:56 AM UTCrik5Attached File-=>Added bad_overlap.m, #35543
      StatusNone=>Need Info

    Back to the top


    Powered by Savane 3.1-cleanup1