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: Fri, 6 Mar 2015 18:19:23 +0100 Message-ID: <54F9E19B.8040304@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> <54F80E26.1070608@gmx.at> <54F885F7.80803@swipnet.se> <54F89D48.1000902@gmx.at> <9C8ADD7C-C99B-4C5E-9835-AD446CC57747@swipnet.se> <54F9718B.8070409@gmx.at> <54F98714.10603@eurac.edu> <2C962D9B-843A-44B2-9FFB-1CF60F30D962@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 1425662430 10689 80.91.229.3 (6 Mar 2015 17:20:30 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 6 Mar 2015 17:20:30 +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 Fri Mar 06 18:20:20 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 1YTvv1-000496-Gq for geb-bug-gnu-emacs@m.gmane.org; Fri, 06 Mar 2015 18:20:11 +0100 Original-Received: from localhost ([::1]:59475 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YTvv0-0004DN-RK for geb-bug-gnu-emacs@m.gmane.org; Fri, 06 Mar 2015 12:20:10 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:34539) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YTvuv-000499-VO for bug-gnu-emacs@gnu.org; Fri, 06 Mar 2015 12:20:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YTvus-00030g-Qt for bug-gnu-emacs@gnu.org; Fri, 06 Mar 2015 12:20:05 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:39177) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YTvus-00030Q-NC for bug-gnu-emacs@gnu.org; Fri, 06 Mar 2015 12:20:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1YTvus-0004o3-6u for bug-gnu-emacs@gnu.org; Fri, 06 Mar 2015 12:20: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: Fri, 06 Mar 2015 17:20: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.142566237418434 (code B ref 19990); Fri, 06 Mar 2015 17:20:02 +0000 Original-Received: (at 19990) by debbugs.gnu.org; 6 Mar 2015 17:19:34 +0000 Original-Received: from localhost ([127.0.0.1]:37745 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YTvuQ-0004nG-4g for submit@debbugs.gnu.org; Fri, 06 Mar 2015 12:19:34 -0500 Original-Received: from mail2.unibz.it ([46.18.24.80]:57419) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YTvuM-0004mz-GA for 19990@debbugs.gnu.org; Fri, 06 Mar 2015 12:19:31 -0500 Original-Received: from SDCEMB11.unibz.it (10.7.29.61) by mail2.unibz.it (46.18.24.80) with Microsoft SMTP Server (TLS) id 14.3.210.2; Fri, 6 Mar 2015 18:19:20 +0100 Original-Received: from [10.60.220.17] (46.18.24.216) by SDCEMB11.unibz.it (10.7.29.61) with Microsoft SMTP Server (TLS) id 15.0.995.29; Fri, 6 Mar 2015 18:19:23 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Icedove/31.5.0 In-Reply-To: <2C962D9B-843A-44B2-9FFB-1CF60F30D962@swipnet.se> X-ClientProxiedBy: SDCEMB13.unibz.it (10.7.29.63) To SDCEMB11.unibz.it (10.7.29.61) 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:100177 Archived-At: On 03/06/2015 06:05 PM, Jan D. wrote: >> Since we receive the first ConfigureNotify event with the unhinted >> width/height, we *can* detect that the size hints have been ignored. >> Couldn't we disable them at that point? > > At what point would we re-enable them? ... >> hints, but *without* having Gtk+ do it's mess? This would mean that we >> would need to set the hints back on when the resize request has been >> fully settled. Tricky. Setting them back-on on a further repaint/focus >> in/out event is either too late or not enough. Re-enabling them once at the first repaint (out of the resize handler) *might* work, depending on how Gtk keeps its state. If the WM is ignoring hits, we would be disabling/re-enabling Gtk hints at each event when "live" resizing, though. I would need to try or read Gtk sources to be sure. Maybe Gtk has some synthetic events that we could use. If not, leaving them disabled would still be a better option.