Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding a NotebookPage without child crashes #998

Open
Fighter19 opened this issue Feb 4, 2025 · 0 comments
Open

Adding a NotebookPage without child crashes #998

Fighter19 opened this issue Feb 4, 2025 · 0 comments

Comments

@Fighter19
Copy link

Fighter19 commented Feb 4, 2025

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.

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

No branches or pull requests

1 participant