From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Adrian Robert Newsgroups: gmane.emacs.bugs Subject: bug#2987: hang in nextstep version Date: Sun, 31 May 2009 21:52:16 +0700 Message-ID: <8D2B274B-A97F-4F18-88F9-D2CBEA4ABFD4@gmail.com> Reply-To: Adrian Robert , 2987@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v753.1) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1243781897 6175 80.91.229.12 (31 May 2009 14:58:17 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 31 May 2009 14:58:17 +0000 (UTC) Cc: Peter Sturdza , David Reitter To: 2987@emacsbugs.donarmstrong.com Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun May 31 16:58:07 2009 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.50) id 1MAmU8-0003s6-Km for geb-bug-gnu-emacs@m.gmane.org; Sun, 31 May 2009 16:58:04 +0200 Original-Received: from localhost ([127.0.0.1]:40195 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MAmU8-0002F9-8H for geb-bug-gnu-emacs@m.gmane.org; Sun, 31 May 2009 10:58:04 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MAmTX-0001td-F3 for bug-gnu-emacs@gnu.org; Sun, 31 May 2009 10:57:27 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MAmTS-0001rV-AX for bug-gnu-emacs@gnu.org; Sun, 31 May 2009 10:57:26 -0400 Original-Received: from [199.232.76.173] (port=59338 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MAmTR-0001r0-J9 for bug-gnu-emacs@gnu.org; Sun, 31 May 2009 10:57:21 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:36015) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MAmTQ-0007oG-Lz for bug-gnu-emacs@gnu.org; Sun, 31 May 2009 10:57:21 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n4VEvHWu019455; Sun, 31 May 2009 07:57:19 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id n4VEt8KI018749; Sun, 31 May 2009 07:55:08 -0700 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Adrian Robert Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs , owner@emacsbugs.donarmstrong.com Resent-Date: Sun, 31 May 2009 14:55:08 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: followup 2987 X-Emacs-PR-Package: emacs,ns X-Emacs-PR-Keywords: Original-Received: via spool by 2987-submit@emacsbugs.donarmstrong.com id=B2987.124378153618379 (code B ref 2987); Sun, 31 May 2009 14:55:08 +0000 Original-Received: (at 2987) by emacsbugs.donarmstrong.com; 31 May 2009 14:52:16 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from mail-pz0-f118.google.com (mail-pz0-f118.google.com [209.85.222.118]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n4VEqCFu018368 for <2987@emacsbugs.donarmstrong.com>; Sun, 31 May 2009 07:52:13 -0700 Original-Received: by pzk16 with SMTP id 16so2065871pzk.19 for <2987@emacsbugs.donarmstrong.com>; Sun, 31 May 2009 07:52:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:mime-version:content-type :message-id:cc:content-transfer-encoding:from:subject:date:to :x-mailer; bh=QEGhX9KQIvJa83BymbNwWv+u6XdpqcrijE6q3bDEuD4=; b=Gci5mkhWKlQhy7Y5n3nkaKrd4muSW0Al17sNVvKlpYIYy9SiqJX/LsBVj0ZL0UGlTk jvTcZp51qasX1OGWxlRavhHccPldosZjHdUALqs45bAZgo5OqJQd3WReuJxN+pwUILwt WtFMFeh3jV0Bx6incOEUyt9+0Hr+xgxpSga44= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:content-type:message-id:cc:content-transfer-encoding :from:subject:date:to:x-mailer; b=L5Pb809VWajddOVHZ1pBYrvdUwuyII+3LSuTseCj9ZoVgx8GQFX5HbUULfjMDkKdu4 fMNpA/5PsKFcqnswkTm4H1Y2vO8JeSb3587jJTHeXqxYWEz3QwnjR1F2BPMKM2bI2Qzq kKSM4e3af1CyB2edlMao10HUwiZw320TC+k6g= Original-Received: by 10.140.200.14 with SMTP id x14mr4681312rvf.55.1243781526814; Sun, 31 May 2009 07:52:06 -0700 (PDT) Original-Received: from ?110.49.0.112? ([110.49.0.112]) by mx.google.com with ESMTPS id m31sm4691037wag.66.2009.05.31.07.52.02 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sun, 31 May 2009 07:52:06 -0700 (PDT) X-Mailer: Apple Mail (2.753.1) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Resent-Date: Sun, 31 May 2009 10:57:26 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list 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:28367 Archived-At: http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=2987 The problem is that when the resize handle is clicked (nsterm.m: - sendEvent line 4068) the ordinary event handling is shortcircuited somewhat. The result is that -makeKeyAndOrderFront: is not called for the window before going into the resizing loop. If you click on the resize handle of any other OS X app, it will become the focused window before resizing starts. If a way to do the -makeKeyAndOrderFront: when it is needed, without also breaking the resize-handling behavior we now do, that should fix the bug.