GNOME Bugzilla – Bug 337478
Epiphany always forgets window position between launches
Last modified: 2007-05-31 13:18:04 UTC
That bug has been opened on https://launchpad.net/distros/ubuntu/+source/epiphany-browser/+bug/38322 "Epiphany 2.14.0, Ubuntu Dapper Steps to reproduce: 1. Launch Epiphany. 2. Drag the window to a particular position. 3. Close the window. 4. Launch Epiphany again. The window should appear exactly where the last one was. Instead, it appears at a default position. ..."
We only persist window size, yes.
Could this be marked as an enhancement then? Restoring window position would be very nice indeed.
Sure. This is easy to fix, just add EPHY_STATE_WINDOW_SAVE_POSITION to the ephy_state_add_window call in src/ephy-window.c.
Created attachment 63258 [details] [review] Now position is remembered This will hopfully fix the bug! Thanks for the help :)
Thanks for the patch! What happens when opening 2 windows, are they positioned one atop the other with the patch?
Created attachment 65240 [details] [review] patch that compiles With this method, pressing Ctrl-N results in the new window being placed exactly on top of the existing window; that's not acceptable. What we need here is either a way to only track the window position but only use that info when starting the first window; or it's just WONTFIX.
Actually I think window positioning is the window manager's job.