X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f X-Recipient: geda-user AT delorie DOT com X-Injected-Via-Gmane: http://gmane.org/ To: geda-user AT delorie DOT com From: Kai-Martin Knaak Subject: Re: [geda-user] RFC: gtk-hid window size save/restore Date: Tue, 14 Jun 2016 19:16:54 +0200 Organization: Institut =?UTF-8?B?ZsO8cg==?= Quantenoptik Lines: 73 Message-ID: References: <20160614133519 DOT 584949a5 AT wind DOT levalinux DOT org> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" X-Complaints-To: usenet AT ger DOT gmane DOT org X-Gmane-NNTP-Posting-Host: 130.75.103.122 User-Agent: KNode/4.14.10 Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id u5EHHRRW022254 Reply-To: geda-user AT delorie DOT com Kovacs Levente wrote: > On Tue, 14 Jun 2016 07:58:14 +0200 (CEST) > gedau AT igor2 DOT repo DOT hu wrote: > >> 1. Do not try to save window geometry, let the window manager do its >> job. This. There are (very) different strategies when it comes to size and placement of new windows. All have their pros and cons. And user preferences vary accordingly. There is a reason why window managers like "awesome" exist (radical tiling). I see little reason for an application to override the settings the user made via the choice of window manager and via the window managers preferences. If anything, I find this tendency to fight the user mildly annoying. All of this applies to the main window. The satellite windows are a different beast. Their placement is an integral part of thew usability of the application. For them I'd opt for an unobtrusive save of geometry: * Automatically remember window size and placement by dialogue type during a session. * Add a "save-window-positions" button in the preference area. When pressed, size and position of the dialogues in the current session are saved in the users preferences. This makes them the default at the next session. position should be relative to the main window. * Allow to save and load the configuration under individual names. Just like pcb does with color preferences. This would provide a way to deal gracefully in an environment where different monitor sizes and multiple monitors are prevalent. >> 3. Save it as a per-design configuration; Please don't. Imagine you want to cooperate on a project. You'd be constantly presented with the preferences of your colleague which may be the opposite of what you want/need. >> NOTE: I am not proposing any change to pcb or gschem or geda/gaf. Note: I see this hands-off-the-main-line approach as a problem which may aggravate with time. ---<)kaimartin(>--- -- Kai-Martin Knaak tel: +49-511-762-2895 Universität Hannover, Inst. für Quantenoptik fax: +49-511-762-2211 Welfengarten 1, 30167 Hannover http://www.iqo.uni-hannover.de GPG key: http://pgp.mit.edu:11371/pks/lookup?search=Knaak+kmk&op=get