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

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

[Octave-bug-tracker] [bug #49756] Crash when panning an image to top of


From: Marshall
Subject: [Octave-bug-tracker] [bug #49756] Crash when panning an image to top of axes
Date: Thu, 8 Dec 2016 18:41:00 +0000 (UTC)
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:51.0) Gecko/20100101 Firefox/51.0

Follow-up Comment #4, bug #49756 (project octave):

I can't get any of the following variations to crash except for the last one,
which will always crash (eventually), although not on the first try to drag.
If I drag slow it doesn't seem to crash, but quick movements seem to cause it.
I crash it by panning the figure up out of the axis to the top of the screen
in one fast motion (or after several tries). I tried all of these on Windows
10, but I first reported this bug based on Windows 7: so I can get it to crash
every time on two different machines.


%No crash
close all
graphics_toolkit qt
image

%No crash:
close all
image
axis('on','xy','normal')

%No crash:
close all
im=uint8(rand(495,495)*255);
imx0 = 60;
imy0 = 70;
imxf = 442;
imyf = 452;
imxF = 9;
imyF = 3000;
imshow(im,'xdata',([1,size(im,1)]-imx0)*imxF/(imxf-imx0),'ydata',([size(im,2),1]-imy0)*imyF/(imyf-imy0))

%No crash:
close all
im=uint8(rand(495,495)*255);
imshow(im)
axis('on','xy','normal')

%crash on drag to top (eventually, not always first time on drag):
close all
im=uint8(rand(495,495)*255);
imx0 = 60;
imy0 = 70;
imxf = 442;
imyf = 452;
imxF = 9;
imyF = 3000;
imshow(im,'xdata',([1,size(im,1)]-imx0)*imxF/(imxf-imx0),'ydata',([size(im,2),1]-imy0)*imyF/(imyf-imy0))
axis('on','xy','normal')


    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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