The International Simutrans Forum

 

Author Topic: (nightly) Does remember_window_positions work as intended ?  (Read 2131 times)

0 Members and 1 Guest are viewing this topic.

Offline z9999+

  • Coder/patcher
  • *
  • Posts: 377
(nightly) Does remember_window_positions work as intended ?
« on: August 18, 2013, 05:21:47 AM »
I tried to use remember_window_positions, but I couldn't find any difference between.
How can this work ? Thanks.

Offline prissi

  • Developer
  • Administrator
  • *
  • Posts: 9595
  • Languages: De,EN,JP
Re: (nightly) Does remember_window_positions work as intended ?
« Reply #1 on: August 26, 2013, 08:54:19 PM »
Not sure it works on the nightly; it may require same version numbers for server_savegame and normal_savegame in version.h. I will look into it when I am back.

Offline Dwachs

  • DevTeam, Coder/patcher
  • Administrator
  • *
  • Posts: 4608
  • Languages: EN, DE, AT
Re: (nightly) Does remember_window_positions work as intended ?
« Reply #2 on: August 31, 2013, 01:39:17 PM »
With this setting enabled, some windows will remember their position. Next time the window is opened, it will open at its old position.

Positions are not saved in any savegame (or settings.xml). Positions will be cleared when loading a game or creating a new map.

This feature could be made more useful though...

Offline whoami

  • Devotees (Inactive)
  • *
  • Posts: 693
Re: (nightly) Does remember_window_positions work as intended ?
« Reply #3 on: January 21, 2014, 07:14:05 PM »
This has never worked for me (on Win-XP SDL; checked with r7036): EDIT: no window seems to some windows honor "remember_window_positions=1" in my simuconf.tab (the parameter is not documented, at least not in the nightly's complete archive; I guess that it is meant to affect window sizes as well).
« Last Edit: January 21, 2014, 07:43:42 PM by whoami »

Offline Ters

  • Coder/patcher
  • Devotee
  • *
  • Posts: 5563
  • Languages: EN, NO
Re: (nightly) Does remember_window_positions work as intended ?
« Reply #4 on: January 21, 2014, 07:19:47 PM »
--Thought this was a new topic and didn't see the rest. Pointless post deleted.--

Offline whoami

  • Devotees (Inactive)
  • *
  • Posts: 693
Re: (nightly) Does remember_window_positions work as intended ?
« Reply #5 on: January 21, 2014, 07:42:48 PM »
After testing with Win-GDI r7036: positions of station windows and lists are saved, but not their dimensions/size. Menu bar placement is remembered. Fortunately, placement and size of the minimap stays.
Positions and dimensions are not saved for windows of:
- depots
- line management
- factories
- others (e.g. curiosities), but these hardly need it.