HISE Logo Forum
    • Categories
    • Register
    • Login

    Custom look and feel component ID

    Scheduled Pinned Locked Moved Scripting
    laflook and feel
    43 Posts 6 Posters 2.3k 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.
    • d.healeyD
      d.healey @ustk
      last edited by

      @ustk The refresh thing sounds possible. I noticed the knob LAF function triggers while the mouse is over the knob, even when you haven't clicked the mouse. Is it possible to disable this "hover" callback?

      Libre Wave - Freedom respecting instruments and effects
      My Patreon - HISE tutorials
      YouTube Channel - Public HISE tutorials

      ustkU 4 Replies Last reply Reply Quote 0
      • ustkU
        ustk @d.healey
        last edited by

        @d-healey Without being actually sure, I don't think we could deactivate it since it is part of the Juce slider behavior. But I might have wrong 🙄

        Can't help pressing F5 in the forum...

        1 Reply Last reply Reply Quote 0
        • ustkU
          ustk @d.healey
          last edited by

          @d-healey And moreover I think the problem would still the same when you click a slider...

          Can't help pressing F5 in the forum...

          1 Reply Last reply Reply Quote 0
          • ustkU
            ustk @d.healey
            last edited by

            @d-healey It appears that the issue is only slider related, I just tested with 70 toggle buttons with no issue, knowing that toggle buttons also have a hover reaction...

            Can't help pressing F5 in the forum...

            1 Reply Last reply Reply Quote 1
            • ustkU
              ustk @d.healey
              last edited by ustk

              @d-healey @Christoph-Hart I think I have narrowed down what the problem is.
              As soon as you create a path, whether you use it or not, it seems that sliders are disappearing after the same number of function call, like if something is not cleaning properly and error builds up.
              Note that the issue is not related to the number of sliders unlike what I said above.

              Try this snippet by just commenting the path line:

              HiseSnippet 1062.3ocsV8uaaaCDlxIpa1conEXO.D4uTJ7jkS+wFPPQciicmVi+AhbJJPQQ.sDsManHMnnSl2PA1ixdT1ywdJ1av1QIKakDuzTOLgfXbe22Q9wSGuS8UxPZRhTgrJOX9TJx5arClKzSZNgvDH+iPVOvtCIQSU3LnCmOkjjPiPVVa8ZCfU4sQoO+0KOjvIhP5JHD5sRVH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M7rvYcis0Bm0ychhIgJ4YgY2XLi3+5TDPShzuzoL7IWfMd4UEaaOWOTL7kGmEFZREeGn80Gy9aPLOYCh4oaPLOaCh44aPLe+FDyObqwX9nuWMSKiytl..8ak1xxxpkf.UYoUjn+w0ZFfA
              

              Can't help pressing F5 in the forum...

              d.healeyD 1 Reply Last reply Reply Quote 1
              • d.healeyD
                d.healey @ustk
                last edited by

                @ustk Yeah I had the issue with a single slider.

                Libre Wave - Freedom respecting instruments and effects
                My Patreon - HISE tutorials
                YouTube Channel - Public HISE tutorials

                1 Reply Last reply Reply Quote 1
                • ustkU
                  ustk
                  last edited by

                  And then confirmed with buttons too

                  HiseSnippet 933.3ocsVstaaaCElxIpnVaoXEnO.D4WN.YJ1a8FZvPSiibm1hufHmf9u.ZIZI1PSJPQkLig7zrWr9Hz2fsCE8sr4FD3gPXXfy8OdtQMPIioEERExo9vo4Tjy26FMUnyZmQXBT3IHmm41kTnoJrk0wSyIEEzDjiyVezvvo91npyWe+wDNQDSWxBgtPxhomxlvzK4N3nemw4cHIzgrIqn8KOJLVJZK4xR.Oa41DkShuhjR6QLpUyE47jfDlVphzDMs.4r8wxjoQYxaDV8ufUvFwoFhVnHvQV1cj7DChMbQsyX7jAyu2EHvKCVlE1xlEdgaWVBaA+kYienR.doEqlObpcevq0pvq4CGdNq.ussv64tQwJVtdoDC19N2PATnFSfRvpvxpKp1zZtskfFBs+DxUzNJfXgEMdcyl6ieUyl6cHFzpPxo9wbJQ0.XbvALQLuLg1XWe+CfeWF09rvACiNHixyoJ+OWr6dG544A0uBM9ZhByIiw+BNPjxDfiTTHi7QtbDgaQyoR4UePjzgR4P.71wyCLvWQSYldsNkhXMSJZrahhbyPYZJmdboVKE6tOd7bgo6iki97dd+oGFNlflSzYPTmeKsgc.vzdIv+14QCws62saPug39mODO7WCivmF1K.OrOtS3m.FA3vnnyC1oxoU+k5WP011xFP.8ulvKo32isrJ7GAjWyfDlF+tELkJhHkpnI6cn0U6LyWigd+ynw5JWQ.DBW+aqRd+uOyyLXonmTS6KZXRN08t0C+uEMd7ZkYxbJImSUqUrYdUceF1PTNYDUsOtJGsPQnw8tSFte6IiUGbisExUTTJBELc+bp3aMuflU8MSNyPEnptZt4Yylar8RHFLdT20RzBUA4UWmgNO7DhlL2QfOg3.c6Zl4J3bBTzio1Ax5tmPKtRKyqzcRtTXPfySd.g8OVDxuvNZ5x3ewQ2vRzYPtx4u.xLJKMSantsZG5+Ym.rYRlTxI56ttxridl.nRcm8BlYeQASOc0K8ixNrGJbet6.lNNa83s1ZvKTadrw6rWD1wMX7XXrcIX21symd7W+iNSVpYhztDshA8Jt8JmDAaXho.RDBJ2LM4Tyz2aoaZnMYlHpHoh3ugyLgsLzNyD1ZtPzDRrRdYrcZw7lySq3.XRT8zac3a..Z7hgDW2l9MQSfmBuLN1jJ9Q.6q2leZCr4m2.ad4FXyq1.ad8FXya1.ad68Zi4qP9PoVNwNl.LFDTsrxwIPPftrpNRz+.pw+4R
                  

                  Can't help pressing F5 in the forum...

                  d.healeyD 1 Reply Last reply Reply Quote 1
                  • d.healeyD
                    d.healey @ustk
                    last edited by d.healey

                    @ustk said in Custom look and feel component ID:

                    And then confirmed with buttons too

                    HiseSnippet 933.3ocsVstaaaCElxIpnVaoXEnO.D4WN.YJ1a8FZvPSiibm1hufHmf9u.ZIZI1PSJPQkLig7zrWr9Hz2fsCE8sr4FD3gPXXfy8OdtQMPIioEERExo9vo4Tjy26FMUnyZmQXBT3IHmm41kTnoJrk0wSyIEEzDjiyVezvvo91npyWe+wDNQDSWxBgtPxhomxlvzK4N3nemw4cHIzgrIqn8KOJLVJZK4xR.Oa41DkShuhjR6QLpUyE47jfDlVphzDMs.4r8wxjoQYxaDV8ufUvFwoFhVnHvQV1cj7DChMbQsyX7jAyu2EHvKCVlE1xlEdgaWVBaA+kYienR.doEqlObpcevq0pvq4CGdNq.ussv64tQwJVtdoDC19N2PATnFSfRvpvxpKp1zZtskfFBs+DxUzNJfXgEMdcyl6ieUyl6cHFzpPxo9wbJQ0.XbvALQLuLg1XWe+CfeWF09rvACiNHixyoJ+OWr6dG544A0uBM9ZhByIiw+BNPjxDfiTTHi7QtbDgaQyoR4UePjzgR4P.71wyCLvWQSYldsNkhXMSJZrahhbyPYZJmdboVKE6tOd7bgo6iki97dd+oGFNlflSzYPTmeKsgc.vzdIv+14QCws62saPug39mODO7WCivmF1K.OrOtS3m.FA3vnnyC1oxoU+k5WP011xFP.8ulvKo32isrJ7GAjWyfDlF+tELkJhHkpnI6cn0U6LyWigd+ynw5JWQ.DBW+aqRd+uOyyLXonmTS6KZXRN08t0C+uEMd7ZkYxbJImSUqUrYdUceF1PTNYDUsOtJGsPQnw8tSFte6IiUGbisExUTTJBELc+bp3aMuflU8MSNyPEnptZt4Yylar8RHFLdT20RzBUA4UWmgNO7DhlL2QfOg3.c6Zl4J3bBTzio1Ax5tmPKtRKyqzcRtTXPfySd.g8OVDxuvNZ5x3ewQ2vRzYPtx4u.xLJKMSantsZG5+Ym.rYRlTxI56ttxridl.nRcm8BlYeQASOc0K8ixNrGJbet6.lNNa83s1ZvKTadrw6rWD1wMX7XXrcIX21symd7W+iNSVpYhztDshA8Jt8JmDAaXho.RDBJ2LM4Tyz2aoaZnMYlHpHoh3ugyLgsLzNyD1ZtPzDRrRdYrcZw7lySq3.XRT8zac3a..Z7hgDW2l9MQSfmBuLN1jJ9Q.6q2leZCr4m2.ad4FXyq1.ad8FXya1.ad68Zi4qP9PoVNwNl.LFDTsrxwIPPftrpNRz+.pw+4R
                    

                    That's concerning, even though it doesn't show in the compiled plugin does it have an effect on CPU usage or cause other issues?

                    Libre Wave - Freedom respecting instruments and effects
                    My Patreon - HISE tutorials
                    YouTube Channel - Public HISE tutorials

                    1 Reply Last reply Reply Quote 1
                    • d.healeyD
                      d.healey
                      last edited by

                      I wonder if the issue is something to do with this loop in the drawWithGraphics function?

                          g->getDrawHandler().flush();
                      
                          DrawActions::Handler::Iterator iter(&g->getDrawHandler());
                      
                          while (auto action = iter.getNextAction())
                          {
                      	action->perform(g_);
                          }
                      

                      Libre Wave - Freedom respecting instruments and effects
                      My Patreon - HISE tutorials
                      YouTube Channel - Public HISE tutorials

                      NatanN 1 Reply Last reply Reply Quote 0
                      • d.healeyD
                        d.healey
                        last edited by

                        @Christoph-Hart Any ideas? Is it safe to use LAF in a project?

                        Libre Wave - Freedom respecting instruments and effects
                        My Patreon - HISE tutorials
                        YouTube Channel - Public HISE tutorials

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

                          Wow that was an easy one - I just forgot to initialise the timeout logic correctly when calling scripted LAF functions so it threw a timeout as soon as the execution time was bigger than ~0...

                          NatanN d.healeyD 2 Replies Last reply Reply Quote 3
                          • NatanN
                            Natan @Christoph Hart
                            last edited by

                            @Christoph-Hart I reported This Execution Time Out Before 😯
                            So It Was LAF Mistake? 😩

                            1 Reply Last reply Reply Quote 0
                            • d.healeyD
                              d.healey @Christoph Hart
                              last edited by

                              @Christoph-Hart said in Custom look and feel component ID:

                              Wow that was an easy one - I just forgot to initialise the timeout logic correctly when calling scripted LAF functions so it threw a timeout as soon as the execution time was bigger than ~0...

                              You're on fire today!

                              Libre Wave - Freedom respecting instruments and effects
                              My Patreon - HISE tutorials
                              YouTube Channel - Public HISE tutorials

                              NatanN 1 Reply Last reply Reply Quote 1
                              • NatanN
                                Natan @d.healey
                                last edited by

                                @d-healey So is there Any Quick Fix?
                                I'm On Bed!!!
                                Do i Need To Get Up?
                                Another Sleepless Night? or What?

                                d.healeyD 1 Reply Last reply Reply Quote 0
                                • d.healeyD
                                  d.healey @Natan
                                  last edited by

                                  @Natan Check github, Christoph has made a load of updates the last couple of days and just fixed the LAF issue.

                                  Libre Wave - Freedom respecting instruments and effects
                                  My Patreon - HISE tutorials
                                  YouTube Channel - Public HISE tutorials

                                  NatanN 1 Reply Last reply Reply Quote 1
                                  • NatanN
                                    Natan @d.healey
                                    last edited by

                                    @d-healey 🏃🏼‍♀️🏃🏿‍♀️🏃🏼🏃🏾‍♀️🏃🏻‍♀️🏃🏾‍♀️🏃‍♀️🏃🏃🏽🏃🏾‍♂️⛹️🏾‍♂️🏇🏾⛹️🏻‍♂️⛹️🏼‍♂️⛹️🏿‍♂️🏇🏼⛹🏿️⛹️🏿‍♂️⛹️🏿‍♂️⛹️‍♀️⛹️🏻‍♀️⛹️⛹️🏻‍♂️⛹️🏻‍♂️⛹️🏼‍♂️⛹️🏿‍♂️🏇🏼🏇🏇🏽🏇🏿To The Github 👋 No Sleep Nothing, Like My 17 Past Years 🙌🙌🙌

                                    1 Reply Last reply Reply Quote 1
                                    • NatanN
                                      Natan @d.healey
                                      last edited by Natan

                                      @d-healey said in Custom look and feel component ID:

                                      I wonder if the issue is something to do with this loop in the drawWithGraphics function?

                                          g->getDrawHandler().flush();
                                      
                                          DrawActions::Handler::Iterator iter(&g->getDrawHandler());
                                      
                                          while (auto action = iter.getNextAction())
                                          {
                                      	action->perform(g_);
                                          }
                                      

                                      Thank You Sir David, For Investigating This :)

                                      I Made This Thread, Reporting This Back In December
                                      https://forum.hise.audio/topic/3375/execution-timed-out

                                      FortuneF 1 Reply Last reply Reply Quote 0
                                      • FortuneF
                                        Fortune @Natan
                                        last edited by Fortune

                                        @Natan said in Custom look and feel component ID:

                                        @Natan said in Custom look and feel component ID:

                                        @Christoph-Hart I reported This Execution Time Out Before 😯
                                        So It Was LAF Mistake? 😩

                                        I Made This Thread, Reporting This Back In December
                                        https://forum.hise.audio/topic/3375/execution-timed-out

                                        Ok, but I don't understand what's the point. Lot's of people reports lot's of things, you're not the only person for this :D

                                        Are you expecting a "Thank You for your report"? :D
                                        Or are you expecting a "Sorry, you reported this last december but it's just been fixed"? :D :D

                                        Also as I see, you write the same thing so many times, and you like to do it :) Just like your magical report, in this thread you write it again and again :D Just an advice, don't do that, it won't fix the issue or won't make you special....

                                        Just be more humble and thank Christoph for this great software ;)

                                        NatanN 1 Reply Last reply Reply Quote 0
                                        • NatanN
                                          Natan @Fortune
                                          last edited by

                                          @Fortune You Don't Get It :) i Was Waiting For This Fix, And With Dave's Investigation, It Fixed Now :)
                                          You Don't Get It, Man :) I Was Prepared For Sleeping, And Now I'm Building The Latest Version :)
                                          Yeah, I Gifted Already :)

                                          FortuneF 1 Reply Last reply Reply Quote 0
                                          • FortuneF
                                            Fortune @Natan
                                            last edited by Fortune

                                            @Natan Ok after building, good night then :)
                                            But again, I think actually YOU don't get it :D :D you are not the only person who wait for fixes or features ;)

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

                                            9

                                            Online

                                            1.7k

                                            Users

                                            11.8k

                                            Topics

                                            102.7k

                                            Posts