HISE Logo Forum
    • Categories
    • Register
    • Login

    Scrolling a Viewport crashes compiled plugin....

    Scheduled Pinned Locked Moved General Questions
    70 Posts 5 Posters 2.8k 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.
    • Christoph HartC
      Christoph Hart @Lindon
      last edited by

      @Lindon said in Scrolling a Viewport crashes compiled plugin....:

      so there's a bug in the rendering of this control I think...

      Are you using a custom look and feel for the audio rendering?

      LindonL 1 Reply Last reply Reply Quote 0
      • LindonL
        Lindon @Christoph Hart
        last edited by Lindon

        @Christoph-Hart said in Scrolling a Viewport crashes compiled plugin....:

        @Lindon said in Scrolling a Viewport crashes compiled plugin....:

        so there's a bug in the rendering of this control I think...

        Are you using a custom look and feel for the audio rendering?

        nope - everything else just about but not that.

        I am redrawing them(changing their colours) a fair bit though to reflect their position in the XY pad space...

        HISE Development for hire.
        www.channelrobot.com

        LindonL 1 Reply Last reply Reply Quote 0
        • LindonL
          Lindon @Lindon
          last edited by

          @Lindon like this:

          Share Anything with pCloud

          With pCloud's unique Download Link feature you can share files with everyone. Click to download. Join pCloud.com and get up to 20GB FREE cloud storage.

          favicon

          pCloud (u.pcloud.link)

          HISE Development for hire.
          www.channelrobot.com

          LindonL 1 Reply Last reply Reply Quote 0
          • LindonL
            Lindon @Lindon
            last edited by

            @Lindon OK well I tried a custom LAF and that doenst fix this issue.

            It seems to crash every time I've played a note (and thus set the play head somewhere) and then I scroll thru the list of voices -- I have no idea why its doing it at that point.... I can (obviously) let you have the project if you want @Christoph-Hart

            HISE Development for hire.
            www.channelrobot.com

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

              @Lindon can you dumb it down to a minimal example or is it only happening with your project?

              LindonL 1 Reply Last reply Reply Quote 0
              • LindonL
                Lindon @Christoph Hart
                last edited by

                @Christoph-Hart said in Scrolling a Viewport crashes compiled plugin....:

                @Lindon can you dumb it down to a minimal example or is it only happening with your project?

                Ill try and get it down to something manageable...

                HISE Development for hire.
                www.channelrobot.com

                LindonL 1 Reply Last reply Reply Quote 0
                • LindonL
                  Lindon @Lindon
                  last edited by

                  @Lindon said in Scrolling a Viewport crashes compiled plugin....:

                  @Christoph-Hart said in Scrolling a Viewport crashes compiled plugin....:

                  @Lindon can you dumb it down to a minimal example or is it only happening with your project?

                  Ill try and get it down to something manageable...

                  Well frustratingly I cant reproduce the problem in a simplified project....

                  HISE Development for hire.
                  www.channelrobot.com

                  LindonL 1 Reply Last reply Reply Quote 0
                  • LindonL
                    Lindon @Lindon
                    last edited by

                    @Lindon said in Scrolling a Viewport crashes compiled plugin....:

                    @Lindon said in Scrolling a Viewport crashes compiled plugin....:

                    @Christoph-Hart said in Scrolling a Viewport crashes compiled plugin....:

                    @Lindon can you dumb it down to a minimal example or is it only happening with your project?

                    Ill try and get it down to something manageable...

                    Well frustratingly I cant reproduce the problem in a simplified project....

                    its maddening.... I can open the UI, open the viewport and scroll away, and select items... and everything works correctly... I play a note, open the viewport , scroll any amount - and the system gives me the "circling- busy mouse icon" and it crashes...

                    HISE Development for hire.
                    www.channelrobot.com

                    LindonL 1 Reply Last reply Reply Quote 0
                    • LindonL
                      Lindon @Lindon
                      last edited by

                      @Christoph-Hart - there is no event taking place on the viewport scroll is there? There's nothing happening in the HISEScript...

                      HISE Development for hire.
                      www.channelrobot.com

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

                        @Lindon said in Scrolling a Viewport crashes compiled plugin....:

                        there is no event taking place on the viewport scroll is there? There's nothing happening in the HISEScript...

                        Yes it communicates to the audio thumbnail class which range to create a path for and spawns the waveform calculation on a background thread.

                        Alright, send me over this bad boy and I'll try to reproduce it. If you can limit the amount of samples I have to download or remove some parts that don't affect the functionality it would be great.

                        LindonL 1 Reply Last reply Reply Quote 0
                        • LindonL
                          Lindon @Christoph Hart
                          last edited by

                          @Christoph-Hart said in Scrolling a Viewport crashes compiled plugin....:

                          @Lindon said in Scrolling a Viewport crashes compiled plugin....:

                          there is no event taking place on the viewport scroll is there? There's nothing happening in the HISEScript...

                          Yes it communicates to the audio thumbnail class which range to create a path for and spawns the waveform calculation on a background thread.

                          Alright, send me over this bad boy and I'll try to reproduce it. If you can limit the amount of samples I have to download or remove some parts that don't affect the functionality it would be great.

                          found it I think --- the viewport works fine for a hundred items, but crashes everytime when I add in all 1500 items.....

                          HISE Development for hire.
                          www.channelrobot.com

                          LindonL 1 Reply Last reply Reply Quote 0
                          • LindonL
                            Lindon @Lindon
                            last edited by

                            @Lindon said in Scrolling a Viewport crashes compiled plugin....:

                            found it I think --- the viewport works fine for a hundred items, but crashes everytime when I add in all 1500 items.....

                            nope now its working fine... grrr...hang on chasing down a couple of other possibilities - if they dont pan out it will be over to you...

                            HISE Development for hire.
                            www.channelrobot.com

                            LindonL 1 Reply Last reply Reply Quote 0
                            • LindonL
                              Lindon @Lindon
                              last edited by

                              @Lindon said in Scrolling a Viewport crashes compiled plugin....:

                              @Lindon said in Scrolling a Viewport crashes compiled plugin....:

                              found it I think --- the viewport works fine for a hundred items, but crashes everytime when I add in all 1500 items.....

                              nope now its working fine... grrr...hang on chasing down a couple of other possibilities - if they dont pan out it will be over to you...

                              sigh oh dear - I've got it a bit more reliable - pretty much in the end all I did was replace the viewport with another and copied over the code from the CB....so its over to you I'm afraid.... I PM you the download URL....

                              HISE Development for hire.
                              www.channelrobot.com

                              LindonL 1 Reply Last reply Reply Quote 0
                              • LindonL
                                Lindon @Lindon
                                last edited by

                                Ok yet more testing...

                                Now I added a viewport, and put a panel in it.. and wrote the sample map names --- no on mouse callback - its doing nothing

                                -- compile, load in reaper, play a note - go to the browser - scroll the new viewport - ---- crash.

                                HISE Development for hire.
                                www.channelrobot.com

                                LindonL 1 Reply Last reply Reply Quote 0
                                • LindonL
                                  Lindon @Lindon
                                  last edited by

                                  @Lindon Ok got some debug info. out of VS, again Im just moving the viewport scroll bar..

                                  ..and its still telling me there are problems in the SamplerSoundWaveform::paint

                                  d23c60ee-8c0d-4a7d-9421-6333bc830ad4-image.png

                                  HISE Development for hire.
                                  www.channelrobot.com

                                  LindonL 1 Reply Last reply Reply Quote 0
                                  • LindonL
                                    Lindon @Lindon
                                    last edited by

                                    bump bump?

                                    HISE Development for hire.
                                    www.channelrobot.com

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

                                      @Lindon Fixed here:

                                      Link Preview Image
                                      - fixed uninitialised sampler start mod display value · christophhart/HISE@cb40b21

                                      The open source framework for sample based instruments - - fixed uninitialised sampler start mod display value · christophhart/HISE@cb40b21

                                      favicon

                                      GitHub (github.com)

                                      LindonL 1 Reply Last reply Reply Quote 1
                                      • LindonL
                                        Lindon @Christoph Hart
                                        last edited by

                                        @Christoph-Hart great! Thanks.

                                        HISE Development for hire.
                                        www.channelrobot.com

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

                                        35

                                        Online

                                        1.7k

                                        Users

                                        11.8k

                                        Topics

                                        102.7k

                                        Posts