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

GSimpleActionGroup with actions is not dropped when it should be #1516

Closed
zecakeh opened this issue Oct 19, 2023 · 2 comments
Closed

GSimpleActionGroup with actions is not dropped when it should be #1516

zecakeh opened this issue Oct 19, 2023 · 2 comments
Labels
bug Something isn't working

Comments

@zecakeh
Copy link
Contributor

zecakeh commented Oct 19, 2023

Bug description

I noticed in Fractal, thanks to the GTK Inspector's Global > Statistics screen that GSimpleActionGroups still exist after they are dropped in our user code.

I created this minimal reproducer with the gtk-rust-template: https://gitlab.gnome.org/kcommaille/sag_refs.

It appears the action group is dropped if it has no action entries, but it is not dropped if it has at least one action entry.

This is not reproducible with C code (e.g. in GTK Demo that works fine).

@zecakeh zecakeh added the bug Something isn't working label Oct 19, 2023
@zecakeh
Copy link
Contributor Author

zecakeh commented Oct 19, 2023

Woops that's actually an issue in gtk-rs-core

@zecakeh
Copy link
Contributor Author

zecakeh commented Oct 19, 2023

This is fixed by gtk-rs/gtk-rs-core#1208

@zecakeh zecakeh closed this as completed Oct 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant