jean-emmanuel / open-stage-control

Libre and modular OSC / MIDI controller
https://openstagecontrol.ammd.net
GNU General Public License v3.0
701 stars 88 forks source link

[Bug] Panel shows scrollbar after geometry update, but is on 100% width #710

Closed MagnusReichel closed 2 years ago

MagnusReichel commented 3 years ago

Please provide as much contextual informations as possible:

It's harmless and just a visual bug, but I'll post it here for completeness. The bug just occurs in Editor, not in the front-end UI.

Here's the minimal description for reproduction:

I have a button with geometry width set to #{@{BTN_expand} == 0 ? 50 : 100}%

BTN_expand is a button inside of the panel that allows the panel to be expanded or compressed (like written in the code). It has width set to 100%. The code works as expected, but whenever the panel compressed, it shows a scrollbar for width. After clicking somewhere (no matter where) the scrollbar dissolves.

So as I said ;-) Nothing special, but I'll put it here anyways.

Bug report

jean-emmanuel commented 3 years ago

Thanks for the report, the issue is due to the outline generated by the editor to indicate current selection, which is only updated when selection changes. I'm not sure I'll fix it, but I'll keep the ticket open in case I have an idea.

jean-emmanuel commented 2 years ago

Fixed with commit 6b7663100388e4797e6d9c81648e4563fec2c340 (to be included in next release).