GtkPopover is leaking when clicking away in right click submenu.
Affected version
- Nightly flatpak: Yes
- Other: F38, Nautilus 46.alpha.0-165164de
Steps to reproduce
- Launch Nautilus with
GOBJECT_DEBUG=instance-count flatpak run org.gnome.NautilusDevel
- Open statistics menu in Inspector
- Right click on folder
- Click Open...
- Close popover by clicking outside of it
- See that GtkPopover and bunch of other widget wasn't freed
- You can repeat 3-6 steps to see that GtkPopover instances count is keep rising. You can also skip 4 step (no opening submenu) and see that instances count is not rising that way
Additional information
Edited by RocketRide