From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jan =?UTF-8?Q?Dj=C3=A4rv?= Newsgroups: gmane.emacs.bugs Subject: bug#7013: 23.2; Emacs frame hangs when setting fullscreen parameter to the same current value Date: Sun, 12 Sep 2010 15:30:25 +0200 Message-ID: <4C8CD5F1.7020506@swipnet.se> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1284298943 19903 80.91.229.12 (12 Sep 2010 13:42:23 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 12 Sep 2010 13:42:23 +0000 (UTC) Cc: 7013@debbugs.gnu.org To: Dani Moncayo Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Sep 12 15:42:22 2010 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Oump1-0006pC-WE for geb-bug-gnu-emacs@m.gmane.org; Sun, 12 Sep 2010 15:42:20 +0200 Original-Received: from localhost ([127.0.0.1]:53348 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Oump0-0004VJ-Q7 for geb-bug-gnu-emacs@m.gmane.org; Sun, 12 Sep 2010 09:42:18 -0400 Original-Received: from [140.186.70.92] (port=60389 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Oumor-0004QP-Rl for bug-gnu-emacs@gnu.org; Sun, 12 Sep 2010 09:42:10 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Oumn9-0000eQ-RQ for bug-gnu-emacs@gnu.org; Sun, 12 Sep 2010 09:40:24 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:58928) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Oumn9-0000eL-Q0 for bug-gnu-emacs@gnu.org; Sun, 12 Sep 2010 09:40:23 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1OumcA-0008SD-BL; Sun, 12 Sep 2010 09:29:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Jan =?UTF-8?Q?Dj=C3=A4rv?= Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 12 Sep 2010 13:29:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 7013 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 7013-submit@debbugs.gnu.org id=B7013.128429810032489 (code B ref 7013); Sun, 12 Sep 2010 13:29:02 +0000 Original-Received: (at 7013) by debbugs.gnu.org; 12 Sep 2010 13:28:20 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OumbT-0008Ry-Mv for submit@debbugs.gnu.org; Sun, 12 Sep 2010 09:28:20 -0400 Original-Received: from smtprelay-h32.telenor.se ([213.150.131.5]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OumbS-0008Rt-8t for 7013@debbugs.gnu.org; Sun, 12 Sep 2010 09:28:18 -0400 Original-Received: from ipb1.telenor.se (ipb1.telenor.se [195.54.127.164]) by smtprelay-h32.telenor.se (Postfix) with ESMTP id 94317E8B8D for <7013@debbugs.gnu.org>; Sun, 12 Sep 2010 15:30:26 +0200 (CEST) X-SENDER-IP: [85.225.45.35] X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Aiw2ALZyjExV4S0jPGdsb2JhbACHa5lnDAEBAQE1LbwYhUAEjSQ X-IronPort-AV: E=Sophos;i="4.56,354,1280700000"; d="scan'208";a="129581534" Original-Received: from c-232de155.25-1-64736c10.cust.bredbandsbolaget.se (HELO coolsville.localdomain) ([85.225.45.35]) by ipb1.telenor.se with ESMTP; 12 Sep 2010 15:30:26 +0200 Original-Received: from [172.20.199.13] (zeplin [172.20.199.13]) by coolsville.localdomain (Postfix) with ESMTPSA id 83B8E7FA05A; Sun, 12 Sep 2010 15:30:25 +0200 (CEST) User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; sv-SE; rv:1.9.2.9) Gecko/20100825 Thunderbird/3.1.3 In-Reply-To: X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Sun, 12 Sep 2010 09:29:02 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) 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: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:40106 Archived-At: Dani Moncayo skrev 2010-09-11 18.37: > Hi there, > > My Emacs frame hangs after doing the following: > 1.- Start emacs with "emacs -Q" > 2.- Evaluate the Elisp sentence "(set-frame-parameter nil 'fullscreen > 'maximized)". (this first time the frame gets maximized, OK). > 3.- Repeat step (2). --> Now my emacs frame hangs! (C-x C-c still works) > > Repeating the maximize sentence didn't have too much sense at that > point, because the frame was already maximized, but hanging is not > like the best behaviour anyway. > > That same hanging occurs using other values for 'fullscreen (fullboth, > fullwith, fullheight). > > That's all. Thank you. This is really a bug in Gtk+ and/or your window manager. Sending many client messages to change the state seems to throw them off somehow. For example, the Lucid build has no problems. Sometimes you can make the window responsive again by iconifying it an restoring it. Also, if you have several frames, you can switch to another frame and that frame works as normal. Some events are not getting through to the maximized frame, because Gtk+ or the window manager is waiting for something. That said, I made a change so we don't do anything if the requested state is the same as the current. Also, I reduced the number of client messages. This is in the emacs-23 branch. It will propagate to the trunk. Jan D.