Currently the window-size is set to the screen dimensions when GCompris is not started in fullscreen mode. On desktop platforms this is annoying because a user might want to launch gcompris with a smaller window-size. It would improve usability in this respect if the last geometry would be stored in the ApplicationSettings (group "Internal") and restored at subsequent startups (unless started in fullscreen mode) for desktop platforms. Reproducible: Always Steps to Reproduce: 1. Start GCompris in non-fullscreen mode 2. resize the window to smaller geometry 3. stop and start the application again Actual Results: application window covers again the whole screen Expected Results: The window should have the same size as it had when it was closed the last time.
Created attachment 98028 [details] This patch adds the functionality of saving width and height of the window when user quits the application and restores it at startup values are stored in gcompris config file
Created attachment 98042 [details] fixed some issues from the previous patch this is a whole new patch, it does not depend depend on previous one
The corresponding review request can be found at https://git.reviewboard.kde.org/r/127471/
Submitted with commit 0657eb50742cc421dbc19015f87a98bd4d670cd0 by Johnny Jazeix on behalf of Shashwat Dixit to branch master.