Skip to content

Cleanup: fix some terminal warnings - #1801

Open
jeremypw wants to merge 4 commits into
masterfrom
jeremypw/fix-startup-warnings
Open

Cleanup: fix some terminal warnings#1801
jeremypw wants to merge 4 commits into
masterfrom
jeremypw/fix-startup-warnings

Conversation

@jeremypw

@jeremypw jeremypw commented Aug 17, 2026

Copy link
Copy Markdown
Collaborator

Fixes terminal warnings originating from

  • startup of ProjectChooserButton
  • Application.css
  • return_if_fail ()

The reason for the ProjectChooserButton warnings was not entirely clear but was caused by the custom "active" property being accessed when the action-name was set before the checkbutton was instantiated. It was fixed by using a different and more explicit property name.

In passing it was noticed that the "activated" signal of the menubutton was used instead of the "toggled" button and the handler was therefore non-functional.

For now the checkbutton state is handled explicitly - there may be a better way but that is outside the scope.

There are still quite a lot of (apparently upstream) warnings when tabs are closed and when the window is closed but these are not obviously due to Code code.

@jeremypw
jeremypw marked this pull request as ready for review August 17, 2026 17:25
@jeremypw
jeremypw requested a review from a team August 17, 2026 17:25
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