Brave starts with to My homepageDid you search for similar issues before submitting this one?
No
Describe the issue you encountered:
When closed Brave does not retain last window position and size as it should be when re-launched.
_This happens only if_ in Settings -> General you set the value for Brave starts with to My homepage. If you select Session and tabs from last time it correctly remembers the position and the size of the window.
Expected behavior:
Brave should remember the last window position and size regardless what I choose Brave to load initially.
Brave starts with to My homepageGood call, @Sh1d0w! I just manually tested and confirmed #4482 does seem to fix this issue
Unfortunately after I installed 0.12.4 it does not seem to fix this issue. The problem still exists if you follow the STR in the issue above.
Set Brave starts with to My home page and observe that resizing and closing the window, always launches in fullsize when you relaunch the browser. Brave should remember its last position and size regardless of the option set for Brave starts with
if you select my home page then no last window state is saved. I guess we need to use the last window size / pos in that case for the next new Window.
@bsclifton Here is a video from latest master https://github.com/brave/browser-laptop/commit/af38d76dced4a1124762a12377340c1a925c1989
http://webm.land/media/Q5tA.webm
Does not seem to work for me :(
I am resizing the window via double click in the header, not sure if the resize event is fired then. And in the drag event you only save the position and not the size. Maybe that's why it is not working. Can you please double check this case?
Verified on Windows. Its loading the window in the default restore down position when home page is set to start.
@srirambv code has not been included in a preview or release yet
@Sh1d0w I'll dig in more
@Sh1d0w it looks like you've launched one of our releases; this hasn't been included in a built yet. I'm going to close this, but please try it from source; I can't reproduce.
OK I missed the above being master (@Sh1d0w had packaged the build and installed/ran that)
If he moves the session out of the way, it works fine. But with session in place, it's not working.
Re-opening issue...
Reopening since it is still not fixed. @bsclifton Ping me in slack so we can cooperate to resolve this.
Going to spin rc1 so moving this to 0.12.8. If we do an rc2 which is probably likely we'll get it in.
Removing milestone for the time being
Two more reports from support on not remembering window position
https://linkbubble.zendesk.com/agent/tickets/7082
https://linkbubble.zendesk.com/agent/tickets/7079
+1 from community https://community.brave.com/t/brave-forgets-window-size-on-opening/3233
Most helpful comment
Going to spin rc1 so moving this to 0.12.8. If we do an rc2 which is probably likely we'll get it in.