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

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

[Octave-bug-tracker] [bug #55418] Speed issue with uicontrols


From: Pantxo Diribarne
Subject: [Octave-bug-tracker] [bug #55418] Speed issue with uicontrols
Date: Wed, 9 Jan 2019 02:54:30 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:64.0) Gecko/20100101 Firefox/64.0

Follow-up Comment #3, bug #55418 (project octave):

The main problem is that some properties rely on the the widget being actually
built to be correct. Lets take an example: suppose the extent property of
uicontrol objects would work properly :-), i.e. computed and set from the GUI
thread once the string is parsed and displayed by Qt. 


h = uicontrol ("style", "text", "My string is long and I would lke to know if
it fits in one line");
ext = get (h, "extent");


If I wait for a drawnow before creating the uicontrol, then ext will be wrong
since the widget has not been created at the time the "extent" is queried. 

This problem is tricky and I'll take a look at it once Octave 5 is released. 


    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

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