Skip to content

Fix settings panel crash: AdwEntryRow has no subtitle property (1.0.3) - #8

Merged
ENjxzlt merged 1 commit into
mainfrom
claude/grok-streamcontroller-plugin-xva9ba
Sep 2, 2026
Merged

ENjxzlt merged 1 commit into
mainfrom
claude/grok-streamcontroller-plugin-xva9ba

Conversation

@ENjxzlt

@ENjxzlt ENjxzlt commented Sep 2, 2026

Copy link
Copy Markdown
Owner

Fixes a crash reported by @Core447 (StreamController maintainer) while reviewing the Store submission: opening the action's settings panel threw

TypeError: gobject 'AdwEntryRow' doesn't support property 'subtitle'

Root cause

AdwEntryRow only inherits AdwPreferencesRow's title — unlike AdwActionRow/AdwComboRow (which do have subtitle), it has no subtitle property at all. Passing one as a GObject construct keyword argument (Adw.EntryRow(title=..., subtitle=...)) crashes immediately. Two of the three Adw.EntryRow instances in get_config_rows() did this (log path, sessions directory); the third (refresh interval) never passed subtitle and was fine, as was the Adw.ComboRow for the bottom-label picker.

Fix

Moved the hint text to set_tooltip_text() on each affected row instead of dropping it. Version bumped to 1.0.3.

Testing

python3 -m py_compile + JSON validation on all changed files. Can't spin up a real GTK/Adw + StreamController environment here to reproduce the crash directly, but the fix is mechanical: it's exactly the unsupported constructor argument named in the traceback, removed from the exact two call sites that had it.

Co-Authored-By: Claude Sonnet 5 noreply@anthropic.com
Claude-Session: https://claude.ai/code/session_01UJ3K16EeaK24LWUksYKcBd


🤖 Generated with Claude Code


Generated by Claude Code

Reported by Core447 (StreamController maintainer) while reviewing the
Store submission PR: opening the action's settings threw

    TypeError: gobject 'AdwEntryRow' doesn't support property 'subtitle'

AdwEntryRow only inherits AdwPreferencesRow's 'title' - unlike
AdwActionRow/AdwComboRow, it has no 'subtitle' property, so passing
one as a GObject construct kwarg crashes immediately. The log-path and
sessions-directory rows did this; the third EntryRow (refresh
interval) never passed subtitle and was unaffected. Moved the hint
text to set_tooltip_text() on each row instead of dropping it.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01UJ3K16EeaK24LWUksYKcBd
@ENjxzlt
ENjxzlt merged commit b6d74c4 into main Sep 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants