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
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better π
Register LoginAdvertisement