[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: |
Fri, 4 Aug 2017 20:52:18 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0 |
Follow-up Comment #7, bug #51645 (project octave):
I suppose by moving the mouse and doing multiple clicking one is generating 0
x 0 boxes somehow that aren't visible because they are obscured by the mouse
cursor.
One option is to remove the warning message. Then neither the 100 x 0 nor the
0 x 0 boxes would do anything, it would seem.
Yes, it is possible to move the check for zero width sooner at the
mouseRelease level. But from a proper coding perspective, since the
axes::properties::zoom inputs aren't prevented from being zero width or height
in some obvious way, it should allow crashing the program. Who knows when
::zoom might find some other application?
Could still have a check sooner, and maybe move that warning message to
Canvas::canvasMouseReleaseEvent() rather than the lower-level zoom routine.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?51645>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #51645] zoom to singular region dumps core, Dmitri A. Sergatskov, 2017/08/02
- [Octave-bug-tracker] [bug #51645] zoom to singular region dumps core, Dan Sebald, 2017/08/02
- [Octave-bug-tracker] [bug #51645] zoom to singular region dumps core, Dan Sebald, 2017/08/02
- [Octave-bug-tracker] [bug #51645] zoom to singular region dumps core, Dan Sebald, 2017/08/03
- [Octave-bug-tracker] [bug #51645] zoom to singular region dumps core, Rik, 2017/08/04
- [Octave-bug-tracker] [bug #51645] zoom to singular region dumps core, Dan Sebald, 2017/08/04
- [Octave-bug-tracker] [bug #51645] zoom to singular region dumps core, Rik, 2017/08/04
- [Octave-bug-tracker] [bug #51645] zoom to singular region dumps core,
Dan Sebald <=
- [Octave-bug-tracker] [bug #51645] zoom to singular region dumps core, Dan Sebald, 2017/08/04
- [Octave-bug-tracker] [bug #51645] zoom to singular region dumps core, Rik, 2017/08/04
- [Octave-bug-tracker] [bug #51645] zoom to singular region dumps core, Dan Sebald, 2017/08/05
- [Octave-bug-tracker] [bug #51645] zoom to singular region dumps core, Dan Sebald, 2017/08/05
- [Octave-bug-tracker] [bug #51645] zoom to singular region dumps core, Dan Sebald, 2017/08/05
- [Octave-bug-tracker] [bug #51645] zoom to singular region dumps core, Dan Sebald, 2017/08/06
- [Octave-bug-tracker] [bug #51645] zoom to singular region dumps core, Dan Sebald, 2017/08/06