Skip to content

Conversation

@badshah400
Copy link

When a NotebookWindow is created, it is not mapped to the Cadabra GtkApplication. This causes window managers to fail to track windows by the app name, leading to issues such as a generic icon showing instead of the cadabra app icon (for example on GNOME shell) and multiple cadabra windows showing up on the dash bar without being grouped by application. Fixed by this commit by calling
GtkApplication::add_window in the NotebookWindow constructor.

When a NotebookWindow is created, it is not mapped to the Cadabra
GtkApplication. This causes window managers to fail to track windows by
the app name, leading to issues such as a generic icon showing instead
of the cadabra app icon (for example on GNOME shell) and multiple
cadabra windows showing up on the dash bar without being grouped by
application. Fixed by this commit by calling
`GtkApplication::add_window` in the NotebookWindow constructor.
@kpeeters
Copy link
Owner

The main window was already added in this way, but the help window was not. I have fixed that on the devel branch and have also moved some gtk things around to adhere to best practice (which may have been another reason why you spotted issues). If you still see problems, please open another issue.

@kpeeters kpeeters closed this Apr 23, 2025
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