HISE Logo Forum
    • Categories
    • Register
    • Login

    Weird laf issue

    Scheduled Pinned Locked Moved Scripting
    5 Posts 3 Posters 222 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
      last edited by

      I got a new laptop recently and today I setup HISE on it for the first time and opened one of my projects. The project's UI doesn't show up properly. After investigating I found that it was due to my laf functions.

      Basically g.drawAlignedText doesn't work but g.drawFittedText does.

      To make it more weird the problem only happens with a release build. In a debug build it works just fine.

      This doesn't happen on my main system or with any of my VMs.

      The fact that it works in the debug build makes it hard to debug :p

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

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

        Could it be a missing font issue?

        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 I don't think it would work at all if that was the cause

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

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

            @d-healey can you make a minimal example?

            Also you can gradually change the release build back to debug by incrementally changing the optimization levels and enable debug symbols, then recompile. This is a super annoying procedure but it gives you the information which optimization breaks things.

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

              Here's the minimal snippet. I don't think it will be much use though since the only place I've had the issue is on this one laptop and it's running Debian :)

              I'll try going through the optimization levels to see if I can narrow it down a bit. It's not a super critical problem for me because I rarely use the laptop and can work in the debug version. But I just like to solve a mystery.

              HiseSnippet 854.3ocsU8+ZabCEWmSTo1aqrB8O.g+k4.tN1accCJikD63goIol4rxf8CEEcOeVy5jL5z0TynP+St+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ting instruments and effects
              My Patreon - HISE tutorials
              YouTube Channel - Public HISE tutorials

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

              26

              Online

              1.8k

              Users

              12.0k

              Topics

              104.7k

              Posts