The delegate used a ColumnLayout root with parent-dependent width fallbacks (: 0, : 100) causing two-pass layouts. Combined with onContentHeightChanged -> positionViewAtEnd(), this created a feedback loop: height change -> scroll -> refill -> new delegates -> height change -> ... burning 100% CPU on the main thread. Fixes: - Replace onContentHeightChanged with onCountChanged + Qt.callLater - Replace ColumnLayout root with plain Column - Bind all child widths to root.width (top-down, no fallbacks) - Create context Menu lazily on first right-click - Add reuseItems: true to the ListView - Standardize bin path to ~/.local/bin |
||
|---|---|---|
| .. | ||
| ChatBlockDelegate.qml | ||
| NewAgentDialog.qml | ||
| NewSessionDialog.qml | ||
| SettingsDialog.qml | ||
| chatblockmodel.cpp | ||
| chatblockmodel.h | ||
| clipboardhelper.cpp | ||
| clipboardhelper.h | ||
| lib9pclient.cpp | ||
| lib9pclient.h | ||
| main.cpp | ||
| main.qml | ||
| nativestreamer.cpp | ||
| nativestreamer.h | ||
| ollie.svg | ||
| ollie9pclient.cpp | ||
| ollie9pclient.h | ||
| org.ollie.gui.desktop | ||
| qml.qrc | ||
| thememanager.cpp | ||
| thememanager.h | ||