From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#23144: shrinking windows with gtk 3.20 Date: Sat, 02 Apr 2016 20:32:46 +0300 Message-ID: <83y48vrk5d.fsf@gnu.org> References: <56FF0C5B.1020201@cs.ucla.edu> <83r3eosdde.fsf@gnu.org> <8360w0rp10.fsf@gnu.org> <56FFEDF8.5030704@gmx.at> <834mbkrn4o.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1459618473 6400 80.91.229.3 (2 Apr 2016 17:34:33 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 2 Apr 2016 17:34:33 +0000 (UTC) Cc: eggert@cs.ucla.edu, 23144@debbugs.gnu.org To: Matthias Clasen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Apr 02 19:34:24 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1amPRH-0004Qx-Mn for geb-bug-gnu-emacs@m.gmane.org; Sat, 02 Apr 2016 19:34:23 +0200 Original-Received: from localhost ([::1]:50414 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1amPRH-0000ML-0u for geb-bug-gnu-emacs@m.gmane.org; Sat, 02 Apr 2016 13:34:23 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:35355) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1amPRD-0000M2-Mm for bug-gnu-emacs@gnu.org; Sat, 02 Apr 2016 13:34:20 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1amPRA-0001dk-GB for bug-gnu-emacs@gnu.org; Sat, 02 Apr 2016 13:34:19 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:51940) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1amPRA-0001dg-DQ for bug-gnu-emacs@gnu.org; Sat, 02 Apr 2016 13:34:16 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1amPQw-0004p2-CZ for bug-gnu-emacs@gnu.org; Sat, 02 Apr 2016 13:34:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 02 Apr 2016 17:34:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 23144 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 23144-submit@debbugs.gnu.org id=B23144.145961841118498 (code B ref 23144); Sat, 02 Apr 2016 17:34:02 +0000 Original-Received: (at 23144) by debbugs.gnu.org; 2 Apr 2016 17:33:31 +0000 Original-Received: from localhost ([127.0.0.1]:49067 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1amPQR-0004oI-9P for submit@debbugs.gnu.org; Sat, 02 Apr 2016 13:33:31 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:44272) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1amPQQ-0004o6-Gg for 23144@debbugs.gnu.org; Sat, 02 Apr 2016 13:33:30 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1amPQK-0000gH-Jq for 23144@debbugs.gnu.org; Sat, 02 Apr 2016 13:33:25 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:41904) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1amPQE-0000Si-0i; Sat, 02 Apr 2016 13:33:18 -0400 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:1485 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1amPQD-0000VW-3w; Sat, 02 Apr 2016 13:33:17 -0400 In-reply-to: (message from Matthias Clasen on Sat, 2 Apr 2016 13:27:25 -0400) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:115881 Archived-At: > Date: Sat, 2 Apr 2016 13:27:25 -0400 > From: Matthias Clasen > Cc: martin rudalics , 23144@debbugs.gnu.org, > Paul Eggert > > > Do we understand the effect of this? It effectively makes the > > xg_frame_resized call a no-op, but I very much doubt that this call > > was added there with no good reason. Does the history of this > > addition, including any related discussions, teach us something about > > the reason? > > Yes, this is what I would have suggested as alternative patch for > emacs 25. It only disregards the return value of > gdk_window_get_geometry if it is still the initial value of 1,1 - > thats clearly not a useful size for an emacs window... Ignoring the 1x1 dimensions is a no-brainer. What bothers me is something else entirely: that call to xg_frame_resized was most probably added there for a reason; if xg_frame_resized no longer works with GTK 3.22 and later as it did before, the question is what, if anything, else do we lose with the new behavior? Could you perhaps describe what that call does in older versions of GTK, and why it worked before, but not anymore? Thanks.