Save window geometry
Wayland windows are placed randomly, what if we saved window geometry per appId when the app is closed?
This is just an idea, I don't know if we can have a unique window id to make the algorithm find the windows when the placement is restored.
Saving window geometry sounds nice. Right now dialogs seem to be started half off-screen most of the time. Maybe we could at least improve that so they're placed on-screen if possible?
Transient windows should already be centered to their parent but it doesn't work because the size is not known at that time. Probably I can make that work by waiting for the surface commit before setting the position.
Ah, so the top left corner is centered instead of the full dialog because size starts at zero. That makes sense. What about locking dialogs so they're always centered like GNOME does? Then you could just update the dialog position when the size updates.
Yes, And moving the dialog will move the parent too.