SU7: Sketchup#set_status_text() broken on Mac
-
Anyone got any good ideas as to how to get around this bug in SU7?
Basically, if you have a Ruby that is working hard and wants to show progress by updating the status text in the lower left, in SU7 on Mac its broken (bug logged SU-0282).
Now I guess it will get fixed sometime, but in the meantime I'm trying to find a way of encouraging the window to refresh.
A quick demo of what the bug is, is to run the following at the Ruby console:
5.times {Sketchup.set_status_text rand(); sleep 0.5}
On PC, it updates the status text, on Mac it only shows the last one when the loop is completed.
Any ideas gratefully received!
Adam -
Is it something I said?!
Surely with all the Ruby experts reading this forum somebody must have some suggestion?
Please!
-
SU2016 and still not fixed?
-
@adamb said:
Anyone got any good ideas as to how to get around this bug in SU7?
Basically, if you have a Ruby that is working hard and wants to show progress by updating the status text in the lower left, in SU7 on Mac its broken (bug logged SU-0282).
Now I guess it will get fixed sometime, but in the meantime I'm trying to find a way of encouraging the window to refresh.
A quick demo of what the bug is, is to run the following at the Ruby console:
5.times {Sketchup.set_status_text rand(); sleep 0.5}
On PC, it updates the status text, on Mac it only shows the last one when the loop is completed.
Any ideas gratefully received!
AdamAdam,
We have found a solution for this problem. If you put the actions inside a UI.timer, the set_status_text can be updated between the timers.
Kind regards,
Guy
Advertisement