Files
ghostty/src
Mitchell Hashimoto ef822612d3 apprt/gtk: don't use Stacked for surface error status page
Fixes #8533

Replace the usage of `Stacked` for error pages with programmatically
swapping the child of the `adw.Bin`.

I regret to say I don't know the root cause of this. I only know that
the usage of `Stacked` plus `Gtk.Paned` and the way we programmatically 
change the paned position and stack child during initialization causes
major issues.

This change isn't without its warts, too, and you can see them heavily
commented in the diff. 

(1) We have to workaround a GTK template double-free bug that is well known 
to us: if you bind a template child that is also the direct child of the 
template class, GTK does a double free on dispose. We workaround this by
removing our child in dispose. Valgrind verifies the fix.

(2) We have to workaround an issue where setting an `Adw.Bin` child
during a glarea realize causes some kind of critical GTK error that
results in a hard crash. We delay changing our bin child to an idle
tick.
2025-09-05 11:14:53 -07:00
..
2025-08-30 13:58:25 -05:00
2025-09-05 10:10:52 +02:00
2025-09-05 10:10:52 +02:00
2025-09-05 07:23:37 -07:00
2025-09-05 10:10:52 +02:00
2025-08-24 09:10:21 +00:00
2025-09-05 07:23:37 -07:00
2025-01-18 22:47:18 +09:00
2025-09-05 10:10:52 +02:00
2025-05-26 21:50:14 -06:00
2025-07-19 14:03:48 -07:00
2025-09-05 10:10:52 +02:00
2025-08-06 14:54:02 +08:00
2025-07-09 15:06:24 -07:00
2024-08-16 14:35:10 -07:00
2025-07-09 15:06:24 -07:00
2022-08-18 11:42:32 -07:00
2025-06-21 14:11:50 -07:00
2025-05-09 10:01:05 -07:00
2024-08-16 10:36:10 -07:00