HISE Logo Forum
    • Categories
    • Register
    • Login

    Panel painting seems broken in 04bf696

    Scheduled Pinned Locked Moved Solved Bug Reports
    14 Posts 4 Posters 208 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.
    • O
      Orvillain
      last edited by

      I have a project that paints lines on a panel using the .repaint() method.

      In the 078a248 release build, it works fine.

      But in 04bf696 release build, I have to slightly move around in the UI display using middle mouse button, in order to get the panel to properly repaint.

      No code changes on my part between the two builds. What I'm doing in the earlier build works fine, and it certainly works in the new build. HISE just seems to require me to move the UI around in order to properly refresh the panel.

      Has anyone else run into this kind of thing??

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

        Ah ok I thought this was just me, but I noticed this too on my Laptop the other day, but on my main PC it seems fine which is why I haven't brought it up.

        Can you post a snippet that shows the issue?

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

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

          @Orvillain Did you get any further with this? I'm still seeing some funky issues with paint routines in the latest version.

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

          O A 2 Replies Last reply Reply Quote 0
          • O
            Orvillain @d.healey
            last edited by

            @d-healey Hey Dave, I'll check tomorrow. I updated to the very latest release today but then I had to run off to band practice, so didn't get a chance to review.

            1 Reply Last reply Reply Quote 0
            • A
              aaronventure @d.healey
              last edited by

              @d-healey I'm on 6264f05100576b8aeb1c34a77313517778d30223 from March 25, and don't notice any issues (macOS). I use repaintImmediately() or sendRepaintMessage().

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

                @aaronventure I was getting the issue with just a panel and drawing a rectangle, nothing else in the project and the rectangle doesn't show up. It was only happening on my laptop though, not my main system, my laptop has an nvidia GPU, I just use the igpu on my main system. That's the only significant difference I can think of.

                I'll be getting my laptop back tomorrow so I'll see if I can recreate the issue and find the commit where it starts.

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

                O 1 Reply Last reply Reply Quote 0
                • O
                  Orvillain @d.healey
                  last edited by Orvillain

                  @d-healey Yes, this is still happening for me here. Interestingly, my machine has an NVIDIA GPU too. I'm using a 4090.

                  Here is a small snippet that demonstrates the issue.

                  HiseSnippet 1339.3ocyW8taaaCDmJNJa1aYXcKeXejHXePtKv014OMYEEKoIwcAqo0Htsn.KCEzRT1bQhTfhNIFE8saO.6QYu.CaGIsrjSccc8ZKlBRf382e5ti2cosT3SSSERjSkmNLghb9R2NC4p9G1mv3nSNB47UtmRRUTI1R5ACSHooz.jiSoGpI3TdYj44u9oGPhHbeZNID54BlO8QrXlJmZ68+EVTTKR.8or3BRu09m3K3GJhDC.7TxsNJg3eAoG8wDsXK4h9YRZejyscaF10uY3c2b2F60Xu6t0dMZr8tc2pdS+fs2ayM2Yyfvl6R1YWPoUNNfoDxNJhhlhbV9Ahfgc5KthacvyYortQT8gFnNfmsjaIhBzehZpnC6yhBZmEnRQHG214gsR1v1ZtmxBXiomG99ZCCbtFECfNKMI7JMA7Z71f2TfjSAHsrER2xsiujknx4nwyW3dBGxlgDHOUDJVYQK82kbOT.RvU0hIWPaIgCi0vam502.C+o58pTAxUoJ7kDI9fAALwiDhj1QjgTYC78wlhnZ8nJCuNj3jH5Xf3stgJVqBdjNqClL2hDM+VrH5S596f0toCFaXsHd2.MIDNMBTJ6yfDDzVSxacCm02.CeCZcLGqkRUdqeEKP0e8rOsBL5SY85qFyImUaHAqNSLPw3TuvAbeESv85UsxqpfgGMPjz.3s6iOk.ghvHA7gadUR3AhXup3aiat8NfUyTnmjR4uOJzMZ.ct7vXM7M2t.UpecqV0MO3e.6og5sAZMzDppoXwxHZZJZeY8LDXSEQzZIRHD3YsXlO5UKDtaePTTNcM4w9+5Yi1s2Ahx36bGbDkbIEGSj8XbbnPhMYnwlY3hZFa9LGSV7dF0W48qWuAd3F3lP0wV0+M.3uF9cU3GsbEKH0o+QEWGRhh5BMoxq.pZk+UqVobYawhjlnqU7pdOKKvrYRiE7GKTzm.pA0Mkq75J3axJLbp7z9WJhhnxoxV2XUNKE83Ch6Rka.QSHuNVPn4wjcjVY95H4aCGEDTvOgyTOIgN57raohFEOg2d1IGQTDcKsQz.4RnRESCGminWBCTrM3J6dDM8BkHwHabhfqsfyJJC2UyZ+oSBHF35Oy0jPPWCcvczCbFl8ho3BL3JuXI6nHaYRQJn2rAKzZWDLHhnlreudp3HFPHehlr5Fo7TlZXwoluGCApOyg.yKDukaalxu+zw3RSAiPx3iAFGM5bU2iCCgKf4.bY2VuXQmSN+t+ayb+3oKT6Hx0beywSyXum+bd26IYt26Ald5CoGZwxDSN6oRnYCi2qnqzv7XNA99CJR9LgPo6fTbuK6bXHJJUf4mPZ5kTY5jVP2tyt5UM2G9imeDbOrq35ye3.FXfyXggGJjICRO+T1EzzyO5DuFMqV6JxknXc3wdyJlXtss+eTAAcpSLtNiWjA3AY7cJMqc0dqsdl75VA4mxVRK+wZwskmuBx2QSv++2hYh8LKmgwNLcY0w7KoQvkHCF+Fn2bHYPjJi5j2fNUvEI8Ebl+jEgJIqWOprH1m5GzAJEbQHmxZ6eFEl0mVnZ+62+QvpYD4MuG8Qcm6olu9NWKbw5q83+K4sOokYybLQo4ZLwGb7t3iL9v.E6B+8f8MkLcisGOHtCz01mBHgC6Vjpalo2XXz45Y855P4AlC+C7LhYC8YmQLajw7ShOhI9RwK8s6Bpqk+bCE36laZ3WF9m9gy3FHy9gEywwPWwW56OoodCEatnJt4hp3VKphaunJtyhp3cWTE28cqndn0ACThX6UVD5z1GaVn1wY7RBNkP+KQWf49B
                  

                  Import this, and then load files in the audio loop player. The black square should jump around the panel. Except here, it doesn't unless I move my window focus.

                  I should add, that the box DOES move on a compile action. This seems specific to the callback I have setup.

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

                    @Orvillain Are you able to switch to your igpu - if you have one and see if it works there? I believe there should be an option in graphics settings to select which software uses which gpu, but I could be wrong.

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

                    O 1 Reply Last reply Reply Quote 0
                    • O
                      Orvillain @d.healey
                      last edited by

                      @d-healey I don't have one I'm afraid. My CPU is an AMD 5950X which doesn't have an igpu.

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

                        @Orvillain Going to pick up my laptop now so I'll do some testing this evening

                        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 @Orvillain
                          last edited by

                          @Orvillain Are you using Linux?

                          I updated to the latest HISE version, and made sure I'm using gcc-11, and now the paint issue has gone.

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

                          O 1 Reply Last reply Reply Quote 0
                          • O
                            Orvillain @d.healey
                            last edited by

                            @d-healey No guv, Windows 11.

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

                              @Orvillain Alright, the culprit again was HISE_INCLUDE_PROFILING_TOOLKIT, if I disable this preprocessor, it doesn't properly forward the repaint call requested by the repaint message coming from the scripting code.

                              That's why Aaron & me didn't notice it because the cool guys have that flag enabled now (in fact I did notice it in a compiled plugin which has this flag disabled by default).

                              Thanks for reporting this, It's fixed now.

                              O 1 Reply Last reply Reply Quote 5
                              • O
                                Orvillain @Christoph Hart
                                last edited by Orvillain

                                @Christoph-Hart Lovely stuff!! Thanks for letting me know!

                                I'm working in HISE right now. Let me pull the latest develop branch and see how I get on. Will report back.

                                EDIT: Yep. All good here!!

                                1 Reply Last reply Reply Quote 0
                                • O Orvillain marked this topic as a question on
                                • O Orvillain has marked this topic as solved on
                                • First post
                                  Last post

                                50

                                Online

                                1.7k

                                Users

                                11.7k

                                Topics

                                102.1k

                                Posts