Forum
    • Categories
    • Register
    • Login

    Animated spinner works in test project but will not work in my plugin project

    Scheduled Pinned Locked Moved General Questions
    19 Posts 3 Posters 602 Views
    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.
    • pcs800P
      pcs800 @David Healey
      last edited by

      @David-Healey Oh boy, sorry about that. Here you go.
      Elipse_Filmstrip1.png

      1 Reply Last reply Reply Quote 0
      • David HealeyD
        David Healey @pcs800
        last edited by

        @pcs800 It's working here, the only thing I had to do was change the name of the image file to match what you have in the script.

        Peek 2026-03-19 20-45.gif

        Do you get any error messages in the console?

        Free HISE Bootcamp Full Course for beginners.
        YouTube Channel - Public HISE tutorials
        My Patreon - HISE tutorials

        pcs800P 1 Reply Last reply Reply Quote 0
        • pcs800P
          pcs800 @David Healey
          last edited by

          @David-Healey No errors in the console, and I get a static image
          ce8d81a6-3fb3-49a5-ba9f-cf44d7c3968e-image.png
          So the name must be correct?

          pcs800P 1 Reply Last reply Reply Quote 0
          • pcs800P
            pcs800 @pcs800
            last edited by

            @pcs800 Yes the name is correct
            c731cf07-516e-4ea8-8a9e-75bb4a8d49f3-image.png

            David HealeyD 1 Reply Last reply Reply Quote 0
            • David HealeyD
              David Healey @pcs800
              last edited by David Healey

              @pcs800 said in Animated spinner works in test project but will not work in my plugin project:

              Yes the name is correct

              That is not the same as the file you posted elipse_filmstrip1.png (lowercase). But the fact you don't get an error indicates that is probably not the issue (unless you have two files).

              Is the timer actually running? - Try Console.print() in the timer callback

              Free HISE Bootcamp Full Course for beginners.
              YouTube Channel - Public HISE tutorials
              My Patreon - HISE tutorials

              pcs800P 1 Reply Last reply Reply Quote 0
              • pcs800P
                pcs800 @David Healey
                last edited by pcs800

                @David-Healey said in Animated spinner works in test project but will not work in my plugin project:

                Is the timer actually running? - Try Console.print() in the timer callback

                Yes, the timer runs, the frame increments, but repaint() has no visual effect

                18f0a46d-9369-4ff5-9add-785893c33c24-image.png

                David HealeyD 1 Reply Last reply Reply Quote 0
                • David HealeyD
                  David Healey @pcs800
                  last edited by

                  @pcs800 can you send me your project?

                  Free HISE Bootcamp Full Course for beginners.
                  YouTube Channel - Public HISE tutorials
                  My Patreon - HISE tutorials

                  pcs800P 2 Replies Last reply Reply Quote 0
                  • young60Y
                    young60
                    last edited by

                    I found a work around to control animations, I load a macro1 LFO and connect it to a dummy slider, then I load my film strip image as a knob and link the dummy to the image strip, that way if I want to change the speed and waveform action I can! It works 100%!

                    pcs800P 2 Replies Last reply Reply Quote 1
                    • pcs800P
                      pcs800 @David Healey
                      last edited by

                      @David-Healey that is kind of you David, thank you. I will do that tomorrow.

                      1 Reply Last reply Reply Quote 0
                      • pcs800P
                        pcs800 @David Healey
                        last edited by

                        @David-Healey I sent a link to you in chat.

                        1 Reply Last reply Reply Quote 1
                        • pcs800P
                          pcs800 @young60
                          last edited by

                          @young60 Thanks, I may try that.

                          1 Reply Last reply Reply Quote 0
                          • David HealeyD
                            David Healey
                            last edited by

                            It's working here when I load your project and make the panel visible. How are you testing it?

                            Free HISE Bootcamp Full Course for beginners.
                            YouTube Channel - Public HISE tutorials
                            My Patreon - HISE tutorials

                            pcs800P 1 Reply Last reply Reply Quote 0
                            • pcs800P
                              pcs800 @David Healey
                              last edited by pcs800

                              @David-Healey press reference, then target, then clone. It should appear during the clone process

                              David HealeyD 1 Reply Last reply Reply Quote 0
                              • David HealeyD
                                David Healey @pcs800
                                last edited by David Healey

                                @pcs800 Put Console.print(spinnerFrame); inside the panel's timer callback and you'll see the timer stops as soon as you press clone. I'm guessing there is something in your clone action that is blocking the UI thread.

                                Free HISE Bootcamp Full Course for beginners.
                                YouTube Channel - Public HISE tutorials
                                My Patreon - HISE tutorials

                                pcs800P 1 Reply Last reply Reply Quote 1
                                • pcs800P
                                  pcs800 @David Healey
                                  last edited by

                                  @David-Healey How can I find out what is blocking it? I really need this to work, unless the method given by @young60 is easier than troubleshooting this issue.

                                  David HealeyD 1 Reply Last reply Reply Quote 0
                                  • David HealeyD
                                    David Healey @pcs800
                                    last edited by

                                    @pcs800 said in Animated spinner works in test project but will not work in my plugin project:

                                    How can I find out what is blocking it?

                                    A couple of things you could try

                                    • Comment out bits of the code until the problem goes away.
                                    • Try to make a minimal test project that runs a dummy clone action.

                                    Free HISE Bootcamp Full Course for beginners.
                                    YouTube Channel - Public HISE tutorials
                                    My Patreon - HISE tutorials

                                    1 Reply Last reply Reply Quote 0
                                    • pcs800P
                                      pcs800 @young60
                                      last edited by

                                      @young60 how did you connect the LFO to the macro, and how did you link the dummy slider to the filmstrip knob?
                                      Can you provide a snippet?

                                      1 Reply Last reply Reply Quote 0
                                      • First post
                                        Last post

                                      17

                                      Online

                                      2.2k

                                      Users

                                      13.6k

                                      Topics

                                      118.1k

                                      Posts