Skip to content
This repository has been archived by the owner on Apr 2, 2022. It is now read-only.

Remember Window State/Size/Position #148

Open
amxmln opened this issue Jun 9, 2019 · 3 comments · May be fixed by #178
Open

Remember Window State/Size/Position #148

amxmln opened this issue Jun 9, 2019 · 3 comments · May be fixed by #178
Labels
Wishlist New feature or request

Comments

@amxmln
Copy link

amxmln commented Jun 9, 2019

First of all, this is a great project! I love Firefox Focus on my phone and to have a similar experience on the desktop is great.

However, one nit-pick I have with Ephemeral is that the window does not remember its state between sessions. I often end up using it maximised on my smaller laptop screen and it’s a hassle to have to do that every time a new window opens or I start a new session. Considering most apps on elementary do remember their windows’ sizes and positions I would feel this isn’t an unreasonable request.

Thanks for considering it. Keep up the great work!

@cassidyjames
Copy link
Owner

@amxmln the reason I did not implement state saving is two-fold:

  1. Ephemeral is, well, ephemeral in nature. It doesn't remember anything from the previous session between sessions, so I didn't think window state/position would be relevant to restore.
  2. The multi-window nature makes it really hard to get right. Do I remember the first-opened window? The last opened window? The last-focused window? It gets dicey quick.

That said, I'm not entirely opposed to it if we can satisfactorily work through those points.

@cassidyjames cassidyjames added Help Wanted Extra attention is needed Wishlist New feature or request labels Jun 13, 2019
@amxmln
Copy link
Author

amxmln commented Jun 13, 2019

I get that it would be a sort of "break" with the stateless nature of Ephemeral, but I think it would be a useful addition nonetheless—other preferences like the default search engine get saved as well, after all.

How do other applications on elementary handle it? Files for example allows multiple windows, but as far as I can tell it simply remembers the state of the last one closed. That aside, I think it would already be a great help if Ephemeral simply remembered whether or not the last window was maximised and opened new windows according to that state.

@cassidyjames cassidyjames changed the title [Feature Request] Remember Window State/Size/Position Remember Window State/Size/Position Sep 17, 2019
@cassidyjames cassidyjames linked a pull request Sep 17, 2019 that will close this issue
@cassidyjames cassidyjames removed the Help Wanted Extra attention is needed label Sep 17, 2019
@4jNsY6fCVqZv

This comment has been minimized.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Wishlist New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants