Repository navigation
Load platform FileViews without binding loops - #15298
Merged
Merged
Conversation
Contributor
|
Contributor
Author
|
Greptile P2 addressed in the latest commit: the source-wiring checks now also assert the synchronous startup initializers ( |
dhh
force-pushed
the
fix/binding-loops-fileview
branch
from
October 14, 2026 01:24
b06cc77 to
75b0774
Compare
AudioNodes.hints and Bar.displayCutouts were readonly bindings reading text() and the missing flag their own load handlers write, which QML reports as a binding loop on every shell start. Follow the Color.qml loader pattern instead: plain properties updated from onLoaded / onLoadFailed (a removed file still describes nothing). Add a runtime-smoke check that shell start has no binding loop for either property, and update the source-wiring asserts in bar-notch and audio tests to the imperative form at the same strength.
Greptile: the handler checks alone would still pass if the startup initializer were replaced with an empty value, supplying cutouts too late for the first bar mapping. Pin the synchronous initializers too.
dhh
force-pushed
the
fix/binding-loops-fileview
branch
from
October 14, 2026 01:34
75b0774 to
8f12424
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Every shell start warned:
Both were
readonlybindings readingtext()and themissingflag their own FileView load handlers write. This keeps the synchronous startup read (blockLoading: true, so the bar still knows its cutouts before it maps) but drops themissingternary from the binding, and keeps both properties current imperatively fromonLoaded/onLoadFailed— a removed file still describes/hides nothing.Adds a runtime-smoke check that shell start has no binding loop for either property, so new ones fail. Source-wiring asserts in
bar-notch-test.sh/audio-test.shupdated to the imperative form at the same strength.Verification
ok - shell start has no platform FileView binding loops.bar-notch-test.sh(95 checks) andaudio-test.shpass.onLoaded-only load would defer the cutout read past bar mapping on fractionally scaled notched displays; fixed by restoring the synchronous initial read. Second pass: no actionable regressions.bar putcheck on this branch — that is the separate test-side fault fixed in Fix runtime-smoke bar put by putting a widget the default bar lacks #15297. A third loop (Panel.opened, power panel) also remains in the log and is left for its own PR.From plans/overnight-quality.md §3 (binding loops).