From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: YAMAMOTO Mitsuharu Newsgroups: gmane.emacs.devel,gmane.emacs.pretest.bugs Subject: Re: Carbon: resizing a frame on wrong "space" Date: Fri, 29 Feb 2008 09:15:16 +0900 Organization: Faculty of Science, Chiba University Message-ID: References: <2282B3B4-D844-4E26-BB94-9F79EEA2E847@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII X-Trace: ger.gmane.org 1204244815 16564 80.91.229.12 (29 Feb 2008 00:26:55 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 29 Feb 2008 00:26:55 +0000 (UTC) To: emacs-pretest-bug@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Feb 29 01:27:21 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1JUt5r-0004mv-GI for ged-emacs-devel@m.gmane.org; Fri, 29 Feb 2008 01:27:19 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JUt5K-0005ar-MM for ged-emacs-devel@m.gmane.org; Thu, 28 Feb 2008 19:26:46 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JUt5E-0005Yb-I5 for emacs-devel@gnu.org; Thu, 28 Feb 2008 19:26:40 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JUt5B-0005Wk-Mo for emacs-devel@gnu.org; Thu, 28 Feb 2008 19:26:39 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JUt5A-0005WG-NE for emacs-devel@gnu.org; Thu, 28 Feb 2008 19:26:36 -0500 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JUt5A-00005Q-7l for emacs-devel@gnu.org; Thu, 28 Feb 2008 19:26:36 -0500 Original-Received: from mail.gnu.org ([199.232.76.166] helo=mx10.gnu.org) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1JUt59-0000Fa-MV for emacs-pretest-bug@gnu.org; Thu, 28 Feb 2008 19:26:35 -0500 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1JUsuH-00060n-N9 for emacs-pretest-bug@gnu.org; Thu, 28 Feb 2008 19:15:24 -0500 Original-Received: from ntp.math.s.chiba-u.ac.jp ([133.82.132.2] helo=mathmail.math.s.chiba-u.ac.jp) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JUsuH-0005zq-5I for emacs-pretest-bug@gnu.org; Thu, 28 Feb 2008 19:15:21 -0500 Original-Received: from church.math.s.chiba-u.ac.jp (church [133.82.132.36]) by mathmail.math.s.chiba-u.ac.jp (Postfix) with ESMTP id A49932C44 for ; Fri, 29 Feb 2008 09:15:16 +0900 (JST) In-Reply-To: User-Agent: Wanderlust/2.14.0 (Africa) SEMI/1.14.6 (Maruoka) FLIM/1.14.8 (=?ISO-8859-4?Q?Shij=F2?=) APEL/10.6 Emacs/23.0.50 (sparc-sun-solaris2.8) MULE/5.0 (SAKAKI) X-detected-kernel: by monty-python.gnu.org: NetBSD 3.0 (DF) X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:90800 gmane.emacs.pretest.bugs:21339 Archived-At: >>>>> On Thu, 28 Feb 2008 21:26:12 +0100, Harald Maier said: >>> When using the new "spaces" feature in Leopard, Emacs shows a bug when >>> attempting to resize a frame. >> >>> To reproduce: >> >>> - configure "spaces" in 10.5 so that there are two vertically placed >>> spaces. >>> - emacs -Q (Recent Carbon port build from 22 branch CVS) >>> - move the frame to the other space (e.g. by dragging it to the >>> [lower] edge of the screen) >>> - resize it (with the mouse) >> >>> What happens for me is that the frame is moved to the original space >>> on which it was created while I'm resizing it. Then, it is moved back >>> down. >> >> I couldn't reproduce it with Mac OS X 10.5.2/PPC. Does anyone else >> see this behavior? > Yes, I see this behavior too. It's really annoying. I could also reproduce it but needed an additional step "resize the frame once before moving the frame to the other Space". AFAIK, Spaces are not visible from the application side, and there's no API for them. I strongly suspect the problem is due to a bug of Carbon `ResizeWindow' in displaying a "frame" (not in the Emacs terminology) for resizing. I'll report it to Apple. FYI, it does not happen with the Carbon+AppKit port. YAMAMOTO Mitsuharu mituharu@math.s.chiba-u.ac.jp