Post B1UPc2KYcTchaT0KuG by PeterCxy@comfy.social
(DIR) More posts by PeterCxy@comfy.social
(DIR) Post #B1UPc2KYcTchaT0KuG by PeterCxy@comfy.social
2025-12-21T23:43:47.299Z
1 likes, 0 repeats
I've been debugging OrcaSlicer for the entire weekend. For some reason I was only able to use it for 3 times before it breaks (can't bring up the file chooser dialog after 3 launches), and I had to delete all its data every 3 uses.Guess what? The reason why it breaks is because for whatever reason the GTK3 file chooser dialog it uses has some broken auto-sizing under xwayland-satellite, and it doubles its size every use. So it starts as a reasonable size and becomes bigger and bigger, until at some point the Wayland server refuses to allocate a surface for it because the buffer would be ridiculously huge.
(DIR) Post #B1UPc3AJW31WAzDfZw by PeterCxy@comfy.social
2025-12-21T23:51:15.696Z
1 likes, 0 repeats
The workaround? GTK/Glib saves the last remembered size of file chooser dialogs in a config file. Just put an immutable flag on that and now it won't stay broken after 3 uses!