sketchucation logo sketchucation
    • Login
    πŸ€‘ SketchPlus 1.3 | 44 Tools for $15 until June 20th Buy Now

    SU7: Sketchup#set_status_text() broken on Mac

    Scheduled Pinned Locked Moved Developers' Forum
    4 Posts 2 Posters 824 Views 2 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • AdamBA Offline
      AdamB
      last edited by

      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

      Developer of LightUp Click for website

      1 Reply Last reply Reply Quote 0
      • AdamBA Offline
        AdamB
        last edited by

        Is it something I said?! πŸ˜•

        Surely with all the Ruby experts reading this forum somebody must have some suggestion?

        Please!

        Developer of LightUp Click for website

        1 Reply Last reply Reply Quote 0
        • SkalpS Offline
          Skalp
          last edited by

          SU2016 and still not fixed?

          Skalp
          http://www.skalp4sketchup.com

          1 Reply Last reply Reply Quote 0
          • SkalpS Offline
            Skalp
            last edited by

            @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!
            Adam

            Adam,

            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

            Skalp
            http://www.skalp4sketchup.com

            1 Reply Last reply Reply Quote 0
            • 1 / 1
            • First post
              Last post
            Buy SketchPlus
            Buy SUbD
            Buy WrapR
            Buy eBook
            Buy Modelur
            Buy Vertex Tools
            Buy SketchCuisine
            Buy FormFonts

            Advertisement