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

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

[Octave-bug-tracker] [bug #35411] wrong y-value for mouse if uimenu is u


From: Cristian
Subject: [Octave-bug-tracker] [bug #35411] wrong y-value for mouse if uimenu is used
Date: Fri, 09 Aug 2013 09:15:17 +0000
User-agent: Mozilla/5.0 (X11; Linux i686; rv:10.0.12) Gecko/20100101 Firefox/10.0.12 Iceweasel/10.0.12

Follow-up Comment #13, bug #35411 (project octave):

For me the patch works partially: the semi-transparent rectangle is now in
place, aligned with the mouse pointer.

On the other hand, the area of the figure that is shown afterwards is
vertically misaligned with respect to what the semi-transparent rectangle
showed.
The misalignment depends of course on the axes unit.

For example if I draw a red square at the center of the figure, like that


clf;
a = zeros([500 500 3]);
a(210:290,210:290, 1) = 1;
imshow(a);


and then with the right mouse button I highlight the red square for zooming,
what I get is not a zoom on the red area: a part of the black area is shown at
the bottom, and a part of red area is not shown at the top.

As "usual", if the uimenu bar is not present the zooming works well, without
vertical misalignment.

Let me know if the above explanation is not clear enough.


    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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