bugGNU Octave - Bugs: bug #50298, Zooming causes lines to be...

 
 

bug #50298: Zooming causes lines to be "dashed" until next redraw

Submitter:  Pantxo Diribarne <pantxo>
Submitted:  Mon 13 Feb 2017 09:59:04 PM UTC
   
 
Category:  Plotting with OpenGL Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Regression
Status:  Fixed Assigned to:  None
Originator Name:  Open/Closed:  * Closed
Release:  * 4.2.0 Operating System:  * GNU/Linux
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Tue 21 Feb 2017 10:59:45 PM UTC, comment #2: 

I see no dashed lines anymore when zooming on my system after this cset:

http://hg.savannah.gnu.org/hgweb/octave/rev/0842b119dc1b

Closing report as fixed.

Pantxo Diribarne <pantxo>
Group Member
Wed 15 Feb 2017 05:27:39 PM UTC, comment #1: 

I think there are two different things going on here.  The 'dashed' line is likely to be an issue with the particular hardware and software setup of your computer.  I don't see this particular issue.

I can reproduce the warning message.  This deserves its own bug report so I made one at bug #50317.

Rik <rik5>
Group administrator
Mon 13 Feb 2017 09:59:04 PM UTC, original submission:  

On my system (Linux mint 17.3, integrated Intel graphics controller, Mesa DRI driver), trying to zoom in a simple plot as "plot (1:10)", leads to some lines not being drawn (horizontal or vertical), or "dashed" (oblique lines). With qt toolkit, simply changing the focus to another window is enough to have the figure redrawn correctly while with fltk one needs to use "drawnow".
This used to work well on the same machine in Octave 4.0.

Setting "linewidth" to some value greater than one, fixes the issue. So I tried to set the figure "graphicssmoothing" to "off" prior to plotting and it "fixes" the issue but then I get a bunch of warnings when drawing the zoombox:


warning: opengl_renderer: Error 'invalid operation' (1282) occurred in init_gl_context
...


or sometimes


warning: opengl_renderer: Error 'stack overflow' (1283) occurred in init_gl_context
...


and the zoom box is drawn opaque blue instead of transparent.

Pantxo Diribarne <pantxo>
Group Member

 

(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 rik5 (Posted a comment)
  • -email is unavailable- added by pantxo (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
    2017-02-21 pantxo StatusWorks For Me Fixed
        Open/ClosedOpen Closed
    2017-02-15 rik5 StatusNone Works For Me
        SummaryZoomming causes lines to be &quot;dashed&quot; until next redraw Zooming causes lines to be "dashed" until next redraw

    Back to the top

    Powered by Savane 3.13-4448.
    Corresponding source code