sketchucation logo sketchucation
    • Login
    πŸ›£οΈ Road Profile Builder | Generate roads, curbs and pavements easily Download

    SU7: Sketchup#set_status_text() broken on Mac

    scheduled pinned locked moved Developers' Forum
    4 Posts 2 Posters 842 Views 2 Watching
    loading-more-posts
    • oldest-to-newest
    • newest-to-oldest
    • most-votes
    reply
    • reply-as-topic
    guest-login-reply
    deleted-message
    • 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

      one-reply-to-this-post last-reply-time 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

        one-reply-to-this-post last-reply-time reply quote 0
        • SkalpS Offline
          Skalp
          last edited by

          SU2016 and still not fixed?

          Skalp
          http://www.skalp4sketchup.com

          one-reply-to-this-post last-reply-time 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

            one-reply-to-this-post last-reply-time 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