Mitchell Hashimoto 5edf0dffda gtk/TabView: do not closeTab within close-page signal handler (#7515)
`TabView` assumes to be the sole owner of all `Tab`s within a Window. As
such, it could close the managed `Window` once all tabs are removed from
its widget.

However, during `AdwTabView::close-page` signal triggered by libadwaita,
the `Tab` to be closed will gain an another reference for the duration
of the signal, breaking `TabView.closeTab` (called via
`Tab.closeWithConfirmation`) assumptions that having no tabs meant they
are all destroyed.

This commit solves the issue by scheduling `Tab.closeWithConfirmation`
to be run after `AdwTabView::close-page` signal has finished processing.

Fixes #7426
2025-06-05 07:36:10 -07:00
..
2025-05-21 10:20:09 -07:00
2025-05-30 22:43:07 +02:00
2025-05-27 07:17:45 -07:00
2025-05-26 21:50:14 -06:00
2025-05-26 21:50:14 -06:00
2025-05-26 21:50:14 -06:00
2025-01-18 22:47:18 +09:00
2025-05-21 10:20:09 -07:00
2025-05-26 21:50:14 -06:00
2024-09-26 22:00:11 -07:00
2025-03-11 14:39:04 -07:00
2024-10-18 08:11:11 -07:00
2025-05-26 21:50:14 -06:00
2025-05-26 21:50:14 -06:00
2025-03-11 14:53:30 -07:00
2025-03-07 13:42:00 -08:00
2025-05-21 10:20:09 -07:00
2024-08-16 14:35:10 -07:00
2022-08-18 11:42:32 -07:00
2025-03-12 16:29:17 -07:00
2025-03-12 11:29:13 -07:00
2025-05-09 10:01:05 -07:00
2024-08-16 10:36:10 -07:00