HISE Logo Forum
    • Categories
    • Register
    • Login

    LookandFeel not responding properly to mouse interactions

    Scheduled Pinned Locked Moved Bug Reports
    18 Posts 3 Posters 946 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.
    • Dan KorneffD
      Dan Korneff
      last edited by

      Controls that use LookAndFeel do not respond correctly to mouse scrolling or double-clicking. It feels like the LAF code is fighting with the mouse interaction. I need to double-click several times before the parameter actually resets. Scrolling with the mouse wheel will make jagged movements or not change at all.
      Sliders and other controls without a custom LAF behave as expected.
      This only affects exported plug. Behavior is normal in HISE.
      @Christoph-Hart

      Dan Korneff - Producer / Mixer / Audio Nerd

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

        @Dan-Korneff can you make a minimal snippet that demonstrates this? Iā€˜m not aware of that issue.

        Dan KorneffD 1 Reply Last reply Reply Quote 0
        • Dan KorneffD
          Dan Korneff @Christoph Hart
          last edited by

          @Christoph-Hart

          HiseSnippet 1388.3ocuWstaaaCElJIpcw6BVA1CffAFfRppmjykZrhhb2aA4RMpy5EDDTPKRawEYRAJ5j3t1+sGr8.zWhArGf8Frcnjrt33zFDrN+Cayy0O9oyg7nNRgOMNVHQF0NYbDEY7UlcGyUA6DfYbz96BxMObq1VmPiUnsGGgiioDjgw7+jVuwhKfR972arMNDy8oEhPnWHX9zCYCYpBoc17.VXXaLgdBaXIqWcy88E7cDghQ.Vl2zEEg8OGOfdLVa1blneFGGfLV1j1aU7iatNYklsVyckUvtts776gcebqdq61p453d987nq5hLt2dDlRH6pvJZLxXgsEjwcCDWxSSvKXwrdgT8BOTWHyohaKBI5snVJZm.VHoyDRJFAQoSAkMeJk8clGwHrb4ET22lnvpvixDnwbUg27UfmWY34VBdy.RFkfzBoP5Alc8krHUgFMd9Ry84JprOFdNUFJo1hlSceycDfEbUig3yoskvhbOrW200wB9Zom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od16LEPEVkQ4ziqwiYpwkmM++rQMusP7AlcXJ+fYiw4lAF0EjeFvX1.5es4d86CmbU.vELa+pOOSiifSJUvHGGggIOzkgGOZXW3zTeJjcNmFp6vMlS2Klt1UuVy.cgiqSV7OvmLkd50FYJ8lnDMD6KEuwOsIT+J.eQhD.S7jWWZQyizqslQ22P3MRdiue0PcMGadWcbk6piqdWcbs6piqeWc7w2UGa8ocT+BiaMRIFl11fPG0YujSKML1iigJvjpUz+Br6d88K
          

          Dan Korneff - Producer / Mixer / Audio Nerd

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

            @Dan-Korneff In the interface designer I get glitchy behaviour when scrolling with both knobs. But it works fine in the Interface Preview popup. The double click for default value is working here.

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

            Dan KorneffD 1 Reply Last reply Reply Quote 0
            • Dan KorneffD
              Dan Korneff @d.healey
              last edited by

              @d-healey it's really broken in exported plugins. Works mostly fine in HISE.

              Dan Korneff - Producer / Mixer / Audio Nerd

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

                @Dan-Korneff What about a standalone export?

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

                Dan KorneffD 1 Reply Last reply Reply Quote 0
                • Dan KorneffD
                  Dan Korneff @d.healey
                  last edited by

                  @d-healey I haven't tried standalone.

                  Dan Korneff - Producer / Mixer / Audio Nerd

                  1 Reply Last reply Reply Quote 0
                  • Dan KorneffD
                    Dan Korneff
                    last edited by

                    Standalone is unaffected.

                    Dan Korneff - Producer / Mixer / Audio Nerd

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

                      @Dan-Korneff Which DAWs have you tested? And which OS?

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

                      Dan KorneffD 1 Reply Last reply Reply Quote 0
                      • Dan KorneffD
                        Dan Korneff @d.healey
                        last edited by

                        @d-healey Reaper/Cubase/ProTools pc/mac

                        Dan Korneff - Producer / Mixer / Audio Nerd

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

                          In the interface designer I get glitchy behaviour when scrolling with both knobs.

                          That's because the scroll bars of the viewport of the interface designer is fighting against the scroll behaviour of the sliders and something we have to live with when putting a usable interface into a scrollable workspace.

                          Reaper/Cubase/ProTools pc/mac

                          I just tested your snippet in Cubase / Ableton / REAPER / FL Studio on Windows and it works there perfectly. Does it happen with the snippet too on your end or just with your actual plugin?

                          Or is there anything else particular to your setup that might cause this - especially something common to both your PC / Mac test systems? It would be a very obvious bug for anybody that uses LAF sliders.

                          Dan KorneffD 3 Replies Last reply Reply Quote 1
                          • Dan KorneffD
                            Dan Korneff @Christoph Hart
                            last edited by

                            @Christoph-Hart ugh... your right. The snip works fine. Gonna narrow down the combination now.

                            Dan Korneff - Producer / Mixer / Audio Nerd

                            1 Reply Last reply Reply Quote 0
                            • Dan KorneffD
                              Dan Korneff @Christoph Hart
                              last edited by

                              @Christoph-Hart Here's a minimum script:

                              HiseSnippet 1940.3ocsXrsaabikiSlh0ZWWzVzO.BgV.oTY4YjkcLpQPhutUquID4zKvHHK0LTRrhC4f4hc71lOj1+j8oc+Z1m6eP2C4bQbjjacMZzCRhm67bg7bX+HoGMNVFgrpc4sgTj0eydvshjIGLgvDndGhr9H6ClH8jbRBEeFiOEs+sgj3XpOxx5Q+cEUVq9Xj9yu778IbhviNCDB80RlG8TV.KYFz9u3DFmeLwmdIKvf5tunmmTbfjKSAK5Q1NnPh2TxX54DEYqXi9JR7Dj0SroC6RdZms82ryNa4r4lDGmcb8FRbd5NC21YmNaSF5Mzk10AY8AG4yRjQCRfMPLx5w6K8ucvD4MhLE70rX1PNUsvEM.zbF3ikbe0VTA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PYbqGJia+PY7oOTF242mQ0qStWZhLHqrAgNq+Q56ErrNRPfLPc1J5+C3jSIoG
                              

                              Dan Korneff - Producer / Mixer / Audio Nerd

                              1 Reply Last reply Reply Quote 0
                              • Dan KorneffD
                                Dan Korneff @Christoph Hart
                                last edited by

                                @Christoph-Hart the culprit is "isPluginParameter": 1

                                Dan Korneff - Producer / Mixer / Audio Nerd

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

                                  Damn

                                  I hate the day I decided to touch the plugin parameter stuff why are you like this?

                                  Dan KorneffD 1 Reply Last reply Reply Quote 1
                                  • Dan KorneffD
                                    Dan Korneff @Christoph Hart
                                    last edited by

                                    @Christoph-Hart me too šŸ˜†šŸ˜†
                                    But probably not nearly as much as you.

                                    Dan Korneff - Producer / Mixer / Audio Nerd

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

                                      @Dan-Korneff Alright, that's fixed now. The culprit was indeed the change gesture callback that I've implemented a few months ago, which I hoped makes the plugin parameter behaviour more smooth but all it did so far was introduce new bugs.

                                      I had to deactivate the change gesture for parameter changes caused by the mouse wheel and now it works pretty well. If I hammer the mouse wheel and look for glitches there is still a little bit left, but I think that is as good as we can get without removing the entire gesture stuff again.

                                      For the double click glitch I had to introduce an artificial delay of 100ms before the default value is send as plugin parameter because the on/off clicking of the mouse sends multiple begin / change gesture callbacks which irritates the host so much that it can't process the incoming default value without taking a break.

                                      100ms is enough for me in my tests without feeling sluggish, but let me know if there are still glitches happening on the double click event.

                                      Dan KorneffD 1 Reply Last reply Reply Quote 1
                                      • Dan KorneffD
                                        Dan Korneff @Christoph Hart
                                        last edited by

                                        @Christoph-Hart Performance is acceptable here. Thanks!

                                        Dan Korneff - Producer / Mixer / Audio Nerd

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

                                        20

                                        Online

                                        2.0k

                                        Users

                                        12.6k

                                        Topics

                                        109.6k

                                        Posts