Skip to content

Conversation

cbjeukendrup
Copy link
Member

This finally fixes the long-standing binding loop on the itemImplicitWidth binding inside the FlatButton in titleLoader. It is still unclear what was precisely the cause; a vague theory might be that asking for titleLoader.width inside the FlatButton inside the titleLoader might somehow depend on the FlatButton's implicitWidth, which indeed depends on itemImplicitWidth, and perhaps StyledTextLabel's implicitWidth depends on its width because of elision/wrap mode? We'll probably never know, but anyway, it's fixed now.

QA notes: need to check that there are no (visual) regressions in the "Sound" and "Audio FX" rows in the Mixer.

This finally fixes the long-standing binding loop on the `itemImplicitWidth` binding inside the FlatButton in `titleLoader`. It is still unclear what was precisely the cause; a vague theory might be that asking for `titleLoader.width` inside the FlatButton inside the `titleLoader` might somehow depend on the FlatButton's implicitWidth, which indeed depends on `itemImplicitWidth`, and perhaps StyledTextLabel's `implicitWidth` depends on its `width` because of elision/wrap mode? We'll probably never know, but anyway, it's fixed now.
@zacjansheski
Copy link
Contributor

Tested on MacOS 14, Windows 11, Ubuntu 22.04.3. Approved

@cbjeukendrup cbjeukendrup merged commit 43ceff4 into musescore:master Jan 7, 2025
11 checks passed
@cbjeukendrup cbjeukendrup deleted the mixer_binding_loop branch January 7, 2025 17:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

3 participants