kangyu-california/PersistentWindows

Forgets program window position/size after reopening it

samgubernick opened this issue · 5 comments

After opening a program, I can set the window position and size for each resolution, but when I close the program, PersistentWindows forgets all of those values. Is there any way to persist the window properties after reopening a program? Specifically, I'm seeing this issue after rotating the screen.

you want to capture window to disk first to persist window properties before kill it, then you will be able to restore from disk.
Checkout readme for basics and online help for advanced topics.

I don't know if I have time to check this weekend but it isn't persisting the rotated resolution after closing Chrome, for example. Restore from disk only has the original rotation resolution (1920x1080), not the portrait one (1080x1920). If I have time, I'll take a look at the code to see what's going on, but figured you might know. Thanks!

Screenshot 2024-06-07 104804

Assuming rotate screen is done using Display Setting=>Display Orientation, the rotated display config also need be captured to disk before kill the chrome window.

image

5.55 pre-release support auto inheritance of position history from killed window

I'm sorry I didn't have a chance to look into this earlier. 5.56 looks like it's working great. Thank you very much!