From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Yuri D'Elia Newsgroups: gmane.emacs.bugs Subject: bug#19990: 24.4; Bad resizing interaction when WM ignores size hints Date: Wed, 4 Mar 2015 20:30:57 +0100 Message-ID: <54F75D71.1080402@eurac.edu> References: <54F59D19.5000808@eurac.edu> <54F5F3C9.9070008@gmx.at> <54F6003E.7040900@eurac.edu> <54F752C8.7050009@gmx.at> <54F754A4.5050507@eurac.edu> <8D5FE96A-F0AE-4908-8AEF-DFDBAB504983@swipnet.se> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1425497535 31563 80.91.229.3 (4 Mar 2015 19:32:15 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 4 Mar 2015 19:32:15 +0000 (UTC) Cc: 19990@debbugs.gnu.org To: Jan D. Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Mar 04 20:32:14 2015 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 1YTF1h-0002SD-43 for geb-bug-gnu-emacs@m.gmane.org; Wed, 04 Mar 2015 20:32:13 +0100 Original-Received: from localhost ([::1]:46509 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YTF1g-0004mm-K8 for geb-bug-gnu-emacs@m.gmane.org; Wed, 04 Mar 2015 14:32:12 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:42312) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YTF1b-0004lE-SI for bug-gnu-emacs@gnu.org; Wed, 04 Mar 2015 14:32:08 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YTF1W-0008I2-Nh for bug-gnu-emacs@gnu.org; Wed, 04 Mar 2015 14:32:07 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:36719) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YTF1W-0008Hy-LF for bug-gnu-emacs@gnu.org; Wed, 04 Mar 2015 14:32:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1YTF1W-0004aU-CQ for bug-gnu-emacs@gnu.org; Wed, 04 Mar 2015 14:32:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Yuri D'Elia Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 04 Mar 2015 19:32:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 19990 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 19990-submit@debbugs.gnu.org id=B19990.142549746817568 (code B ref 19990); Wed, 04 Mar 2015 19:32:02 +0000 Original-Received: (at 19990) by debbugs.gnu.org; 4 Mar 2015 19:31:08 +0000 Original-Received: from localhost ([127.0.0.1]:35287 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YTF0d-0004ZI-Mr for submit@debbugs.gnu.org; Wed, 04 Mar 2015 14:31:07 -0500 Original-Received: from mail2.unibz.it ([46.18.24.80]:49871) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YTF0b-0004Yo-A5 for 19990@debbugs.gnu.org; Wed, 04 Mar 2015 14:31:06 -0500 Original-Received: from SDCEMB14.unibz.it (10.7.29.64) by mail2.unibz.it (46.18.24.80) with Microsoft SMTP Server (TLS) id 14.3.210.2; Wed, 4 Mar 2015 20:30:02 +0100 Original-Received: from [10.60.220.17] (46.18.24.216) by SDCEMB14.unibz.it (10.7.29.64) with Microsoft SMTP Server (TLS) id 15.0.995.29; Wed, 4 Mar 2015 20:30:58 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Icedove/31.5.0 In-Reply-To: <8D5FE96A-F0AE-4908-8AEF-DFDBAB504983@swipnet.se> X-ClientProxiedBy: SDCEMB12.unibz.it (10.7.29.62) To SDCEMB14.unibz.it (10.7.29.64) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.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:100072 Archived-At: On 03/04/2015 08:22 PM, Jan D. wrote: > Hi. > >> 4 mar 2015 kl. 19:53 skrev Yuri D'Elia : >> >> On 03/04/2015 07:45 PM, martin rudalics wrote: >>> In x_wm_set_size_hint we disable size hints for fullscreen and >>> maximized frames. Is it that what you mean with "as done in >>> xg_frame_set_char_size"? >> >> Yes. The second/third event I saw while debugging are not coming >> from the window manager. I suspect it's GTK trying to reconfigure >> the window according to the size hints (and failing). > > Gtk+ does have code that tries to resize a window if it did not get > the size it requested. Also, it does try to satisfy the size hints > itself, which is wrong. Hints are for the window manager to respect > or ignore as it wishes. It is nothing wrong with ignoring hints. > They are, after all, just that, hints. This is an example why it > doesn't work to do what Gtk+ does. This is a major Gtk+ bug IMHO. As I suspected, I recall having the same issue on my programs since Gtk1.3, and I never exactly understood why Gtk behaved like that. > I'm afraid it is out of Emacs control. Since the gtk interface has some issues, is there anything really worth in it compared to lucid? I switched to the gtk port only when debian make it default, getting the impression that lucid was receiving less love. Maybe rendering through gdk is faster? Pure curiosity.