Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

App should remember the width and height set by the user #115

Open
krnekhelesh opened this issue May 3, 2014 · 2 comments
Open

App should remember the width and height set by the user #115

krnekhelesh opened this issue May 3, 2014 · 2 comments

Comments

@krnekhelesh
Copy link
Contributor

I generally like to increase the size of the app. However every time I open it, the size is reset which is a bit annoying. The size is remembered by other desktop apps like Gedit, Firefox etc.

@iBelieve
Copy link
Contributor

iBelieve commented May 5, 2014

I can certainly do this in the cross-platform version since I'm using a QtQuick Window type as my root object, but how would this get handled in the Ubuntu SDK version? Shouldn't this be something that is automatically provided by the Ubuntu UI Toolkit?

@krnekhelesh
Copy link
Contributor Author

Well technically this needs to be handled by the Ubuntu SDK. However I see this at their bottom of their todo list since they have other pressing convergence stuff :). What you could do is before exit, save the window size to u1db. Then on application startup, set the window size to the saved window dimension. This should at most take 10-15 lines of code which can be easily removed once the SDK supports it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants