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 181 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.
    • 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

                              16

                              Online

                              2.2k

                              Users

                              13.5k

                              Topics

                              117.6k

                              Posts