[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #62343] 'zoom on' toggles instead of turning o
From: |
Rik |
Subject: |
[Octave-bug-tracker] [bug #62343] 'zoom on' toggles instead of turning on |
Date: |
Thu, 21 Apr 2022 15:26:57 -0400 (EDT) |
Follow-up Comment #3, bug #62343 (project octave):
Using sombrero I can duplicate this. I modified the subfunction
update_mouse_mode() in zoom.m to be
get (hfig, '__zoom_mode__')
pan (hfig, "off");
get (hfig, '__zoom_mode__')
rotate3d (hfig, "off");
get (hfig, '__zoom_mode__')
set (hfig, "__mouse_mode__", "zoom");
get (hfig, '__zoom_mode__')
Running "zoom on" repeatedly shows that the call to pan() and rotate3d() turn
zoom off and that it is re-enabled by the call to "__mouse_mode__", "zoom". I
think there is a race condition as Pantxo suggests.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?62343>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/