delorie.com/archives/browse.cgi   search  
Mail Archives: geda-user/2016/06/15/00:26:26

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: <alpine.DEB.2.00.1606140744350.7286@igor2priv>
Message-ID: <alpine.DEB.2.00.1606150620340.7286@igor2priv>
References: <alpine DOT DEB DOT 2 DOT 00 DOT 1606140744350 DOT 7286 AT igor2priv>
User-Agent: Alpine 2.00 (DEB 1167 2008-08-23)
MIME-Version: 1.0
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

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




- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019