From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Alan Third Newsgroups: gmane.emacs.bugs Subject: bug#25818: 25.2; frame moved off display does not return (OS X) Date: Thu, 27 Apr 2017 21:05:23 +0100 Message-ID: <20170427200523.GA51359@breton.holly.idiocy.org> References: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: blaine.gmane.org 1493323575 20520 195.159.176.226 (27 Apr 2017 20:06:15 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 27 Apr 2017 20:06:15 +0000 (UTC) User-Agent: Mutt/1.7.2 (2016-11-26) Cc: 25818@debbugs.gnu.org, Anders Lindgren To: "Charles A. Roelli" Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Apr 27 22:06:09 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 1d3pg0-0005DQ-I5 for geb-bug-gnu-emacs@m.gmane.org; Thu, 27 Apr 2017 22:06:08 +0200 Original-Received: from localhost ([::1]:34021 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d3pg6-0002Ib-A9 for geb-bug-gnu-emacs@m.gmane.org; Thu, 27 Apr 2017 16:06:14 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:45813) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d3pg0-0002IV-Hv for bug-gnu-emacs@gnu.org; Thu, 27 Apr 2017 16:06:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d3pfv-0007oD-OO for bug-gnu-emacs@gnu.org; Thu, 27 Apr 2017 16:06:08 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:45069) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1d3pfv-0007nM-5p for bug-gnu-emacs@gnu.org; Thu, 27 Apr 2017 16:06:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1d3pfu-0003js-AP for bug-gnu-emacs@gnu.org; Thu, 27 Apr 2017 16:06:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Alan Third Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 27 Apr 2017 20:06:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 25818 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 25818-submit@debbugs.gnu.org id=B25818.149332353514339 (code B ref 25818); Thu, 27 Apr 2017 20:06:02 +0000 Original-Received: (at 25818) by debbugs.gnu.org; 27 Apr 2017 20:05:35 +0000 Original-Received: from localhost ([127.0.0.1]:43268 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d3pfT-0003jD-50 for submit@debbugs.gnu.org; Thu, 27 Apr 2017 16:05:35 -0400 Original-Received: from mail-wr0-f180.google.com ([209.85.128.180]:35387) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d3pfR-0003j1-E0 for 25818@debbugs.gnu.org; Thu, 27 Apr 2017 16:05:34 -0400 Original-Received: by mail-wr0-f180.google.com with SMTP id z52so23176430wrc.2 for <25818@debbugs.gnu.org>; Thu, 27 Apr 2017 13:05:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20161025; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=1f4kODHOH+YifoOJ61XSUusvqdsMT24Ye5ccQ5i60Po=; b=A6DtYt52y0THYjkl91MZ1bukiYB0EObFF9CSXUeYRVZT+SfENeMsUOI1RclA5wkc+g AaL8Iyz+EA1U8IZE3kQn+cBo+rUiPglpg3yV7BcnCrE7LndMESyye6SGtGhFlg0HEIT0 CpBcTplkCGYI66USFC3qpEJlMiuDxIFy0Ym7TyYdHTPv0yoQ9ecDfjyA++oLUhf4dC0x jtH4epelAhzvAHhkCJKXaMuSKPqrF4yuQtGZ2Pualc7gt519+t50NUekYNC5IdHIGC2I rQMBhnbhp+3qgZLk2gDLTfJF6+ilWC8ibvOYAf6FaO7JLahRJDgeHzaDYBd3kr1oYaxM S+kg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:date:from:to:cc:subject:message-id :references:mime-version:content-disposition :content-transfer-encoding:in-reply-to:user-agent; bh=1f4kODHOH+YifoOJ61XSUusvqdsMT24Ye5ccQ5i60Po=; b=Tfr16mplgv1OJnDrfhSjI24aoYy5Oq5zjmeP6M39q55WLGvmAS0wpFwNvAL5cIq+Uo KJa0MzhEJD3ncxil8eFtFsv5pznJG5ELjR7CQNHAWyyhwn1DseOJMMLpeyCCPd81o0Oe tEvH8hr4OysLwR+q+GbCWKYHNA0IieZZ9HysAxqtahf+X+RvESIo+gitZBoY8+xUjsLC 91r0aTyv2JMKFlBT9oIJMfVhRJpS07UJ0qENAUvxnODJX5ADDDgwbPc6IpyUWRb2GABL pbjo0qGsPWMWJR5J1hmKzzWzWMskSLZ8owwDPff9+L40wKPFcG3DroB2Z4lxq1d8bGlV TlTA== X-Gm-Message-State: AN3rC/4y6wryoUqoa8v3jcml/7thQMZacUAQbOeZ59NZp2Ez1t4iSpRA kdWazL+cA1R1KQ== X-Received: by 10.223.171.79 with SMTP id r15mr5387023wrc.149.1493323527726; Thu, 27 Apr 2017 13:05:27 -0700 (PDT) Original-Received: from breton.holly.idiocy.org (ip6-2001-08b0-03f8-8129-15a3-e624-d188-af62.holly.idiocy.org. [2001:8b0:3f8:8129:15a3:e624:d188:af62]) by smtp.gmail.com with ESMTPSA id q19sm118080wmd.1.2017.04.27.13.05.26 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 27 Apr 2017 13:05:26 -0700 (PDT) Content-Disposition: inline In-Reply-To: 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:132064 Archived-At: On Thu, Apr 27, 2017 at 09:14:05PM +0200, Charles A. Roelli wrote: > I fixed the patch so that child frames are never constrained (after some > testing, it seems that a child frame cannot get stuck off screen as long as > its parent is still visible). Looks good to me. It doesn’t actually apply here, so I did it manually. I suspect it just needs rebased onto a more recent commit or something. > and drag the parent frame down until its child is off screen. When the > parent is moved back up, the child should reappear with it. If you put the top of the child frame off the top of the screen, then click on it, it jumps back down so the titlebar is visible again. Is this intentional? > * src/nsterm.m (constrainFrameRect:toScreen:): Constrain non-child > frames in OS X, if they would otherwise go offscreen. I can’t find this in CONTRIBUTE, but you’re allowed to specify #ifdef’d code with something like: * src/nsterm.m (constrainFrameRect:toScreen:) [NS_IMPL_COCOA]: Constrain non-child frames if they would otherwise go offscreen. Thanks for working on this. :) -- Alan Third