Repository navigation
Stop the tray section host reading its widget after it is gone - #15320
Merged
Merged
Conversation
The smoke log carried: Tray.qml: TypeError: Cannot read property 'sectionHost' of null. The bar tears the tray section area down in its own order on a plugin rescan, and that can be after the tray widget itself is destroyed, when root is already null. Only unregister while the widget still exists.
Contributor
|
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
Found by the §3 shell log sweep, in every runtime-smoke log:
The bar tears the tray's section area down in its own order on a plugin rescan, which can be after the tray widget itself is destroyed — when
rootis already null and the unregister handler itself faults. This only unregisters while the widget still exists, and pins that intray-test.sh.Verification
tray-test.shpasses, including the new lifecycle check.sectionHostTypeError in the log (the run's only failure is the separate bar-put fault from Fix runtime-smoke bar put by putting a widget the default bar lacks #15297).From plans/overnight-quality.md §3 (shell log sweep).