HISE Logo Forum
    • Categories
    • Register
    • Login

    Weird Issue / Bug - Knob Position not restoring graphically in big projects

    Scheduled Pinned Locked Moved Bug Reports
    14 Posts 3 Posters 639 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.
    • Casey KolbC
      Casey Kolb
      last edited by

      The sliders are currently before the labels. Also, the labels aren't saved in preset, just the sliders which update the labels on their control callbacks.

      Casey Kolb
      Founder & CEO of Lunacy Audio
      Composer | Producer | Software Developer

      1 Reply Last reply Reply Quote 0
      • Casey KolbC
        Casey Kolb
        last edited by

        @Christoph-Hart Any more ideas for things to try or what could be causing this? Just trying to work this out before I send out to more testers.

        Casey Kolb
        Founder & CEO of Lunacy Audio
        Composer | Producer | Software Developer

        1 Reply Last reply Reply Quote 0
        • Christoph HartC
          Christoph Hart
          last edited by

          You could hide a few sliders and check if the remaining ones are repainted correctly. I'm not aware of any hard limit when it comes to UI elements, and especially Sliders are default JUCE components so their repaint routine is not interfering with the scripting thread.

          1 Reply Last reply Reply Quote 0
          • Casey KolbC
            Casey Kolb
            last edited by

            Unfortunately, this did not fix it either. I have a massive number of objects stored in Globals in HISEScript, would that have an affect on anything?

            Casey Kolb
            Founder & CEO of Lunacy Audio
            Composer | Producer | Software Developer

            1 Reply Last reply Reply Quote 0
            • Casey KolbC
              Casey Kolb
              last edited by Casey Kolb

              I should also mention that it only breaks the knobs which are set to save in preset, so it seems to be related to that functionality. When I turn that off, the knob position will restore properly when set from another function. However, these are knobs that need to be saved in the preset.

              Even a linked slider fails to move the original slider position but is clearly updating the value. See below:

              ezgif-3-52319e3772c8.gif

              Casey Kolb
              Founder & CEO of Lunacy Audio
              Composer | Producer | Software Developer

              1 Reply Last reply Reply Quote 0
              • Christoph HartC
                Christoph Hart
                last edited by Christoph Hart

                Ah that's interesting, so if you disable saveInPreset for the slider in your screencast, it updates the position correctly? Does it say anything about a script timeout error in the console?

                At this point it might be the best way to just send me the project so I can debug it. It's the same that is also causing the crash in logic, right?

                1 Reply Last reply Reply Quote 0
                • Casey KolbC
                  Casey Kolb
                  last edited by

                  Ah that's interesting, so if you disable saveInPreset for the slider in your screencast, it updates the position correctly? Does it say anything about a script timeout error in the console?

                  Yes, if I disable saveInPreset for that slider above and then reexport the plugin, it will update the position correctly. I often do get a lot of Execution timed-out errors within HISE but I haven't seen any like that in the debug console of the exported plugin.

                  At this point it might be the best way to just send me the project so I can debug it. It's the same that is also causing the crash in logic, right?

                  That would be very much appreciated! Yes, it's the same project with the Logic crash. I'll send you a private message with the deets.

                  Casey Kolb
                  Founder & CEO of Lunacy Audio
                  Composer | Producer | Software Developer

                  1 Reply Last reply Reply Quote 0
                  • B
                    BWSounds
                    last edited by

                    How was this issue fixed,? I’m having the same problems now, and I can’t figure out why.

                    Casey KolbC 1 Reply Last reply Reply Quote 0
                    • Casey KolbC
                      Casey Kolb @BWSounds
                      last edited by

                      @BWSounds Christoph fixed this a while back. There was a limit to the UI queue (1024), but he increased the limit. Do you have a lot of knobs in your project?

                      Casey Kolb
                      Founder & CEO of Lunacy Audio
                      Composer | Producer | Software Developer

                      B 2 Replies Last reply Reply Quote 0
                      • B
                        BWSounds @Casey Kolb
                        last edited by

                        @Casey-Kolb
                        Humm. Yes a ton

                        1 Reply Last reply Reply Quote 0
                        • B
                          BWSounds @Casey Kolb
                          last edited by

                          @Casey-Kolb
                          Does that have something to do with the size of the UI?

                          Casey KolbC 1 Reply Last reply Reply Quote 0
                          • Casey KolbC
                            Casey Kolb @BWSounds
                            last edited by

                            @BWSounds I don't think it's related to the size of the UI, but just the number of controls with "Save In Preset" active. Though the number is super high, and it should be fixed in the most recent HISE branch anyway. Are you on the most recent HISE build?

                            What exactly is happening in your case? The knobs aren't updating visually on preset change?

                            Casey Kolb
                            Founder & CEO of Lunacy Audio
                            Composer | Producer | Software Developer

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

                            17

                            Online

                            1.8k

                            Users

                            12.1k

                            Topics

                            105.3k

                            Posts