From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: charles@aurox.ch (Charles A. Roelli) Newsgroups: gmane.emacs.bugs Subject: bug#25057: Ediff 2.81.5 of July 4, 2013; control panel frame location and focus broken Date: Sat, 18 Feb 2017 18:06:26 +0100 Message-ID: References: <83d1hexixj.fsf@gnu.org> <29aef70f-9bb5-fe2a-b8f8-f60e3dcf0c1c@cs.stonybrook.edu> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1487437637 30342 195.159.176.226 (18 Feb 2017 17:07:17 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 18 Feb 2017 17:07:17 +0000 (UTC) Cc: 25057@debbugs.gnu.org To: aaron peterson Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Feb 18 18:07:12 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cf8TV-00073X-Jv for geb-bug-gnu-emacs@m.gmane.org; Sat, 18 Feb 2017 18:07:09 +0100 Original-Received: from localhost ([::1]:59264 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cf8Tb-0001lS-B3 for geb-bug-gnu-emacs@m.gmane.org; Sat, 18 Feb 2017 12:07:15 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59662) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cf8TS-0001kM-RB for bug-gnu-emacs@gnu.org; Sat, 18 Feb 2017 12:07:07 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cf8TO-0004rZ-Rf for bug-gnu-emacs@gnu.org; Sat, 18 Feb 2017 12:07:06 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:47030) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cf8TO-0004rV-PK for bug-gnu-emacs@gnu.org; Sat, 18 Feb 2017 12:07:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1cf8TO-0001Nd-JX for bug-gnu-emacs@gnu.org; Sat, 18 Feb 2017 12:07:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: charles@aurox.ch (Charles A. Roelli) Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 18 Feb 2017 17:07:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 25057 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 25057-submit@debbugs.gnu.org id=B25057.14874376005277 (code B ref 25057); Sat, 18 Feb 2017 17:07:02 +0000 Original-Received: (at 25057) by debbugs.gnu.org; 18 Feb 2017 17:06:40 +0000 Original-Received: from localhost ([127.0.0.1]:45229 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cf8T1-0001N2-Pu for submit@debbugs.gnu.org; Sat, 18 Feb 2017 12:06:39 -0500 Original-Received: from sinyavsky.aurox.ch ([37.35.109.145]:45877) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cf8T0-0001Mo-CK for 25057@debbugs.gnu.org; Sat, 18 Feb 2017 12:06:38 -0500 Original-Received: from sinyavsky.aurox.ch (sinyavsky.aurox.ch [127.0.0.1]) by sinyavsky.aurox.ch (Postfix) with ESMTP id 19EA52236D for <25057@debbugs.gnu.org>; Sat, 18 Feb 2017 17:03:33 +0000 (UTC) Authentication-Results: sinyavsky.aurox.ch (amavisd-new); dkim=pass (1024-bit key) reason="pass (just generated, assumed good)" header.d=aurox.ch DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=aurox.ch; h= content-type:content-type:mime-version:message-id:in-reply-to :date:date:references:subject:subject:to:from:from; s=dkim; t= 1487437411; x=1488301412; bh=55cNWMTMNcOJHEPqVPse0l9/Qd/5MjSocYP mdsVIoc0=; b=vNWRLu/H5+WCAnmwWVa5SRE1RGP8Rf8EZyYyv5S5T7ijb1h1uWG h+c2FTuQyVLR6DkY+iULgweY8ihjHDdx+dohC4wZvJxP0b6wtNvhRWctdpq0Geil 34H+bT21pbZRutVqh6a2OrXwbb5HST89dcr0T5E1UJYLjCW5lw40WPNw= X-Virus-Scanned: Debian amavisd-new at test.virtualizor.com Original-Received: from sinyavsky.aurox.ch ([127.0.0.1]) by sinyavsky.aurox.ch (sinyavsky.aurox.ch [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id Y2UtcpeuSZWh for <25057@debbugs.gnu.org>; Sat, 18 Feb 2017 17:03:31 +0000 (UTC) Original-Received: from gray (54.4.4.85.dynamic.wline.res.cust.swisscom.ch [85.4.4.54]) by sinyavsky.aurox.ch (Postfix) with ESMTPSA id 024902233E; Sat, 18 Feb 2017 17:03:28 +0000 (UTC) In-Reply-To: (aaron peterson's message of "Tue, 29 Nov 2016 15:08:41 -0800") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.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" Xref: news.gmane.org gmane.emacs.bugs:129513 Archived-At: Ediff normally initializes its control frame to a location just outside the viewable area of the monitor, then it brings the frame back into the viewable area shortly afterwards. With Emacs on OS X, though, it seems that a frame that left the viewable area cannot return. The following code slowly moves a frame across the width of the monitor until it's a little past the viewable edge, then brings it back. (let ((display-width (display-pixel-width)) (dx 200) (frame-x 1)) (setq frame-test (make-frame `((top . 1) (left . ,frame-x)))) (sleep-for 0.5) ;; 1. Move it until it's off-screen. (while (< frame-x display-width) (setq frame-x (+ frame-x dx)) (modify-frame-parameters frame-test `((left . ,frame-x))) (sleep-for 0.5)) (sleep-for 1) ;; 2. Bring it back. (while (> frame-x dx) (setq frame-x (- frame-x dx)) (modify-frame-parameters frame-test `((left . ,frame-x))) (sleep-for 0.5)) (sleep-for 1) (delete-frame frame-test)) On GNU/Linux, the frame comes back as expected. But on OS X 10.6 the frame does not return to the viewable area (step 2). Maybe there is a bug in the frame handling code for the NS port.