JUCE
JUCE copied to clipboard
[Bug]: getLocalBounds returns wrong rectangle
trafficstars
Detailed steps on how to reproduce the bug
if you call getLocalBounds inside the repaint() function of a component declared and added to the pluginEditor, the returned rectangle will be wrong (will be the rectangle minus the knobs, sliders added).Manually Resizing the entire editor force coming the correct rectangle. Calling the resized() function is not a workaround. If you use g.fillAll() with a colour, Hovering the component produces graphic glitches.
What is the expected behaviour?
Returning a rectangle big like the whole component.
Operating systems
macOS
What versions of the operating systems?
Sequoia
Architectures
Arm64/aarch64
Stacktrace
Plug-in formats (if applicable)
No response
Plug-in host applications (DAWs) (if applicable)
Standalone
Testing on the develop branch
I have not tested against the develop branch
Code of Conduct
- [x] I agree to follow the Code of Conduct