X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f X-Recipient: geda-user AT delorie DOT com Date: Wed, 15 Jun 2016 06:28:55 +0200 (CEST) X-X-Sender: igor2 AT igor2priv To: geda-user AT delorie DOT com X-Debug: to=geda-user AT delorie DOT com from="gedau AT igor2 DOT repo DOT hu" From: gedau AT igor2 DOT repo DOT hu Subject: Re: [geda-user] RFC: gtk-hid window size save/restore In-Reply-To: Message-ID: References: User-Agent: Alpine 2.00 (DEB 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Reply-To: geda-user AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: geda-user AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk Hi all, thanks everyone for the valuable input, yet another thread with useful ideas and no distraction! It seems there are as many preferences as many users with this window geometry thing, so I'm going to make it flexible/configurable with two booleans. auto_save_window_geometry: if true, attempt to save (persist) window geometry, else don't (unless the explicit save button is used). Loading window geo is always automatic: if values present in the config tree (ever saved with whichever technique) it is loaded. The user can still get rid of this by removign the values from the config. save_window_geometry_in_design: if true, window geometry is saved with the design, if false, saved in user's home. How exactly anything is saved with design will be controlled by a third, more generic flag. Currently the per design subtree of the config is saved as attributes in the pcb design, later on the global flag will provide an option to save these in a separate file. I believe this setup covers all use cases; if you think your case is left out, please let me know. Regards, Igor2