workbenchdev / workbenchdev/Workbench
Adding a NotebookPage without child crashes
Open
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 844
- Forks
- 91
- Avg merge
- 7h 12m
- Merged PRs (30d)
- 1
Description
Tested with version v47.1. (Current HEAD of development branch).
When adding a NotebookPage inside a Notebook,
the application crashes.
(re.sonny.Workbench.Devel:5521): Gtk-CRITICAL **: 15:48:11.837: gtk_stack_add_named: assertion 'GTK_IS_WIDGET (child)' failed
Working:
using Gtk 4.0;
Notebook {
NotebookPage {
child: Label {
label: _("Test");
};
}
}
Broken:
using Gtk 4.0;
Notebook {
NotebookPage {
}
}
This occurs, while writing normally. The blueprint file needs to be manually modified to prevent the application from crashing on load.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No source file, test, or entry point is identified. Reproduce the crash with the empty NotebookPage Blueprint snippet and compare it with the working child example; done means loading an empty NotebookPage no longer triggers the GTK critical error or crashes the application.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- desktop
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100