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


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

Submitted by:  Pantxo Diribarne <pantxo>
Submitted on:  Mon Feb 13 21:59:04 2017  
Category: Plotting with OpenGLSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Regression
Status: FixedAssigned to: None
Originator Name: Open/Closed: Closed
Release: 4.2.0Operating System: GNU/Linux

Add a New Comment (Rich MarkupRich Markup):

You are not logged in

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


Tue Feb 21 22:59:45 2017, comment #2:

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


Closing report as fixed.

Pantxo Diribarne <pantxo>
Project Member
Wed Feb 15 17:27:39 2017, 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>
Project Administrator
Mon Feb 13 21:59:04 2017, 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:

or sometimes

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

Pantxo Diribarne <pantxo>
Project Member


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

Attach File(s):

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


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

    Date Changed By Updated Field Previous Value => Replaced By
    Tue Feb 21 22:59:45 2017pantxoStatusWorks For Me=>Fixed
    Wed Feb 15 17:27:39 2017rik5StatusNone=>Works For Me
      SummaryZoomming causes lines to be "dashed" until next redraw=>Zooming causes lines to be "dashed" until next redraw

    Back to the top

    Powered by Savane 3.1-cleanup1