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

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

[Octave-bug-tracker] [bug #56110] Setting figure position is ignored whe


From: Pantxo Diribarne
Subject: [Octave-bug-tracker] [bug #56110] Setting figure position is ignored when set before the figure is drawn
Date: Sat, 13 Apr 2019 18:04:04 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:65.0) Gecko/20100101 Firefox/65.0

Follow-up Comment #17, bug #56110 (project octave):

I think the system/window-manager dependant behavior may well be explained by
a race condition: the creation of Figure objects is synchronous, but not its
updates. 

When the "position" is changed from the interpreter using "set", the Figure
object changes geometry and posts back the actual size it managed to reach.
Since that happens asynchronously in the GUI thread, the new graphics event
may or may not have already been posted at the time "drawnow" is called from
the interpreter thread. IOW sometimes "drawnow" will only find one event in
the queue, the one posted *during* "figure" call, sometimes it will also  find
the event posted *after* "set".



    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?56110>

_______________________________________________
  Message posté via Savannah
  https://savannah.gnu.org/




reply via email to

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