GNU bug report logs - #25851
25.2; GTK warning when starting Emacs when desktop file has more than one frame

Previous Next

Package: emacs;

Reported by: nljlistbox2 <at> gmail.com (N. Jackson)

Date: Thu, 23 Feb 2017 16:09:01 UTC

Severity: normal

Found in version 25.2

Done: nljlistbox2 <at> gmail.com (N. Jackson)

Bug is archived. No further changes may be made.

Full log


Message #167 received at 25851 <at> debbugs.gnu.org (full text, mbox):

From: martin rudalics <rudalics <at> gmx.at>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: nljlistbox2 <at> gmail.com, 25851 <at> debbugs.gnu.org
Subject: Re: bug#25851: 25.2; GTK warning when starting Emacs when desktop
 file has more than one frame
Date: Fri, 24 Mar 2017 10:02:30 +0100
> ISTR that there was a long discussion about this when Juanma
> implemented these features, so the current behavior is not just a
> random choice on his part.
>
> FWIW, I'm rather fond of the current behavior, since whenever I need
> to restart Emacs, it recreates the precise frame arrangement I had
> when I shut it down.

According to a comment in gtkwindow.c:

 * If you are saving and restoring your application's window
 * positions, you should know that it's impossible for applications to
 * do this without getting it somewhat wrong because applications do
 * not have sufficient knowledge of window manager state. The Correct
 * Mechanism is to support the session management protocol (see the
 * "GnomeClient" object in the GNOME libraries for example) and allow
 * the window manager to save your window sizes and positions.

Just to explain where my doubts come from.

martin




This bug report was last modified 7 years and 244 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.