shell: two faults the load found that no gate did
Both were live in the running shell and invisible to every check that ran before it. Found by reading the shell's log after Casey applied. ThinkingCard: missing `import qs.modules.common.functions` ReferenceError: ColorUtils is not defined, on every render of every reasoning segment. My own defect, shipped through a lint that said clean. The lint was blind because I staged an approximation of the composed tree by hand instead of linting the composed tree itself. Against the real composed tree qmllint reports it plainly: 1 ColorUtils diagnostic before, 0 after. Lint the composed tree. A hand-built stand-in tests the stand-in. Config: sidebar.ai.fontSize restored MessageTextBlock (vendor) reads Config.options.sidebar.ai.fontSize and got undefined, assigning undefined to font.pixelSize on every text render. Pre-existing, not from 0008 — the vendor delegate used MessageTextBlock too. Cause is structural: modules/common/Config.qml SHADOWS ii-base's Config wholesale, so every key ii-base adds after the fork silently disappears. The key even carries an ii-base comment explaining it was added deliberately as a live theme binding. Nothing failed; a number was just quietly absent. Restored as a live binding, never a literal and never null (null-in-a-serialized-config, 2026-08-11). Verified: shell alive 12s after the Config edit (the crash-loop window), config.json 46 keys and zero nulls, both fault lines gone from the log.
This commit is contained in:
parent
93fe30a8e7
commit
44acb11ab5
2 changed files with 9 additions and 0 deletions
|
|
@ -788,6 +788,14 @@ Singleton {
|
|||
}
|
||||
property JsonObject ai: JsonObject {
|
||||
property bool textFadeIn: false
|
||||
// Chat message text size. Live binding to the theme value
|
||||
// (never a literal, and never null — see
|
||||
// null-in-a-serialized-config, 2026-08-11). ii-base added
|
||||
// this key after our override was forked, and because this
|
||||
// file SHADOWS ii-base's Config wholesale, the key simply
|
||||
// vanished: MessageTextBlock read it as undefined and
|
||||
// assigned undefined to font.pixelSize on every render.
|
||||
property int fontSize: Appearance.font.pixelSize.small
|
||||
}
|
||||
property JsonObject booru: JsonObject {
|
||||
property bool allowNsfw: false
|
||||
|
|
|
|||
|
|
@ -2,6 +2,7 @@ pragma ComponentBehavior: Bound
|
|||
|
||||
import qs.services
|
||||
import qs.modules.common
|
||||
import qs.modules.common.functions
|
||||
import qs.modules.common.widgets
|
||||
import QtQuick
|
||||
import QtQuick.Controls
|
||||
|
|
|
|||
Loading…
Reference in a new issue