Save positions of unique windows

Bug #979952 reported by wl-zocker
38
This bug affects 7 people
Affects Status Importance Assigned to Milestone
widelands
Won't Fix
Wishlist
Unassigned

Bug Description

I would like that the positions of unique windows (e.g. the minimap or the statistics window) is stored when the game is saved and then reloaded.

It should be possible in a game (different in every savegame) and in the editor (maybe the tool arrangement per user?). The user can the continue the game like he saved and left it.

Tags: savegame ui
Revision history for this message
Patrick H. (daggeteo) wrote :

+1

This would be a really nice feature!

Revision history for this message
Hans Joachim Desserud (hjd) wrote :

(Marking confirmed based on comment #1 / the bug affecting multiple people)

It would be nice to not have to set up the various windows when loading a game, but I am not sure how much effort this would require. See also bug 601398 btw.

Changed in widelands:
importance: Undecided → Wishlist
status: New → Confirmed
tags: added: savegame ui
Revision history for this message
Paul Pogonyshev (doublep) wrote :

If someone starts this, please also save and restore settings in statistics charts, so that I don't have to restore line colors for five important wares I track.

Revision history for this message
_aD (ad-simplypeachy) wrote :

Great idea - just make sure that windows can't be left off-screen. If I copied a saved game to my laptop to play later, I'd be using a different screen resolution and don't want any windows to be left where I can't use them.

I'd also find this useful if it saved the location of all open windows, not just uniques. There are times when I have lots of building windows open and having to find and open these after loading is a little tiresome.

Revision history for this message
SirVer (sirver) wrote :

Setting to incomplete for bug sweeping.

Changed in widelands:
status: Confirmed → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for widelands because there has been no activity for 60 days.]

Changed in widelands:
status: Incomplete → Expired
SirVer (sirver)
Changed in widelands:
status: Expired → Confirmed
Revision history for this message
kaputtnik (franku) wrote :

Saving the positions in a save game could be problematic, if a savegame get exchanged with other players using different resolutions.

Another idea is to save the positions in the users config file. Say a savegame stores only the opened windows without open it automatically after reload. They only get opened at the position given in the users config file, if the config file has an entry for this window.

Revision history for this message
Markus Schaber (markusschaber) wrote :

I'm in favour of saving it in the users config file. One clear advantage is that one does not have to reopen the windows any time I start a new game. :-)

Revision history for this message
GunChleoc (gunchleoc) wrote :

I have a branch that fixes the resolution problem:

https://code.launchpad.net/~widelands-dev/widelands/bug-1598588-fullscreen-wui

So, better use the savegames, so that positions can be individual per savegame. Of coure, that branch will need to go in first; otherwise, windows can become unreachable.

Revision history for this message
GunChleoc (gunchleoc) wrote :
Changed in widelands:
status: Confirmed → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.