octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #51645] zoom to singular region dumps core


From: Dan Sebald
Subject: [Octave-bug-tracker] [bug #51645] zoom to singular region dumps core
Date: Sat, 5 Aug 2017 17:16:05 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0

Follow-up Comment #11, bug #51645 (project octave):

And the follow-up comment.  Here's another arcane warning message:


octave:4> warning: opengl_selector::select: selection buffer overflow
warning: opengl_selector::select: selection buffer overflow


To generate this, go into Z- mode.  Keep pressing the mouse button to unzoom. 
I think once that tiny plot becomes like a blob (i.e., no space between
discretized lines), we effectively "select" a whole lot of lines via:


    int hits = glRenderMode (GL_RENDER);


in gl-select.cc, which returns a negative number.  [Note that the returned
value of glRenderMode() pertains to the state it is *currently in*, not the
mode passed in, i.e., GL_RENDER.]  That is, because the lines are so scrunched
together, one pixel might select several plot objects.

In some sense we don't care about this because the mode is zoom, not any kind
of select.  There is a "select" mode, which is the white pointer cursor
button.  If we are in that mode, then it might make sense to issue such a
warning.

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?51645>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]