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

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

[Octave-bug-tracker] [bug #35292] FLTK plot figure crashes when using ri


From: Rik
Subject: [Octave-bug-tracker] [bug #35292] FLTK plot figure crashes when using right-mouse zoom and logarithmic axes
Date: Thu, 19 Jan 2012 17:58:04 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:5.0) Gecko/20100101 Firefox/5.0

Update of bug #35292 (project octave):

                 Summary: Plotted Figure crashing => FLTK plot figure crashes
when using right-mouse zoom and logarithmic axes

    _______________________________________________________

Follow-up Comment #11:

Doug,

Thanks for the patch.  I modified it slightly to conform to Octave coding
standards.  I did the following

1) Use spaces, rather than tabs, with an indent of 2
2) Limit lines, if possible, to less than 80 characters
3) Commit message changed to Octave syntax.  We always refer to the bug # in
the tracker in the first line of the commit message.

If you want to become a regular contributor try the "Tips and Standards" and
"Contributing Guidelines" chapters in the Octave manual.

I also moved the mark_modified () call outside of the if block which checks
for a minimum size selection region.  Otherwise, the screen is not updated if
the selection area was too small and this will leave little blue rectangles on
the plot where the user failed to make a proper zoom selection.

I committed the changeset here if you want to take a look.
(http://hg.savannah.gnu.org/hgweb/octave/rev/358b59706656)

So, this solves the first part of the problem which Doug reported.  I still
have a problem with right-mouse zooming with logarithmic axes and I am going
to re-title the bug report to reflect that.

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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