From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.bugs Subject: bug#25818: 25.2; frame moved off display does not return (OS X) Date: Wed, 1 Mar 2017 08:10:35 -0800 (PST) Message-ID: <87a50d91-a1c6-4079-a7f1-054131f05fc6@default> References: <58AEA232.4000708@gmx.at> <58B30634.1090904@gmx.at> <58B3DDBA.6060003@gmx.at> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1488384740 15190 195.159.176.226 (1 Mar 2017 16:12:20 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 1 Mar 2017 16:12:20 +0000 (UTC) Cc: 25818@debbugs.gnu.org, "Charles A. Roelli" To: Anders Lindgren Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Mar 01 17:12:16 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 1cj6rJ-00033R-Dk for geb-bug-gnu-emacs@m.gmane.org; Wed, 01 Mar 2017 17:12:09 +0100 Original-Received: from localhost ([::1]:47402 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cj6rP-0002cZ-H2 for geb-bug-gnu-emacs@m.gmane.org; Wed, 01 Mar 2017 11:12:15 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:45045) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cj6qI-0001ow-AX for bug-gnu-emacs@gnu.org; Wed, 01 Mar 2017 11:11:07 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cj6qE-0002vk-Uu for bug-gnu-emacs@gnu.org; Wed, 01 Mar 2017 11:11:06 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:36384) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cj6qE-0002vb-Pq for bug-gnu-emacs@gnu.org; Wed, 01 Mar 2017 11:11:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1cj6qE-0003Og-J6 for bug-gnu-emacs@gnu.org; Wed, 01 Mar 2017 11:11:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Drew Adams Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 01 Mar 2017 16:11: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.148838464913039 (code B ref 25818); Wed, 01 Mar 2017 16:11:02 +0000 Original-Received: (at 25818) by debbugs.gnu.org; 1 Mar 2017 16:10:49 +0000 Original-Received: from localhost ([127.0.0.1]:34583 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cj6q0-0003OE-SE for submit@debbugs.gnu.org; Wed, 01 Mar 2017 11:10:49 -0500 Original-Received: from aserp1040.oracle.com ([141.146.126.69]:41442) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cj6pz-0003O1-L6 for 25818@debbugs.gnu.org; Wed, 01 Mar 2017 11:10:48 -0500 Original-Received: from userv0022.oracle.com (userv0022.oracle.com [156.151.31.74]) by aserp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id v21GAbZJ029875 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 1 Mar 2017 16:10:38 GMT Original-Received: from userv0122.oracle.com (userv0122.oracle.com [156.151.31.75]) by userv0022.oracle.com (8.14.4/8.14.4) with ESMTP id v21GAbDa031412 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 1 Mar 2017 16:10:37 GMT Original-Received: from abhmp0007.oracle.com (abhmp0007.oracle.com [141.146.116.13]) by userv0122.oracle.com (8.14.4/8.14.4) with ESMTP id v21GAa85032222; Wed, 1 Mar 2017 16:10:37 GMT In-Reply-To: X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9.1 (1003210) [OL 12.0.6753.5000 (x86)] X-Source-IP: userv0022.oracle.com [156.151.31.74] 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:129987 Archived-At: > I can see the point of your argument. After all, this is how Emacs > work today, and most people have been fine with it. >=20 > However, I don't feel 100% comfortable with the current situation. >=20 > The main issue is people with laptops connected to an extern monitor. > When the external monitor is disconnected, Emacs might land off screen. > I would imagine that most people would prefer that Emacs would be > moved and resized to fit in the screen of the laptop (as I imagine, > most macOS application behave). > Secondly, I miss an easy accessible method to move off-screen frames > into the visible parts of the display. On macOS, the menu is always > accessible even if the window isn't, so the obvious place would be > a menu item like "Collect Frame" (I noticed that "C-x 5 c" is unbound) > -- it could be placed after "Delete Frame" in the "File" menu. I think I agree with everything you wrote. Users & Emacs-Lisp code should be able to position a frame partially or fully off-screen. But users should have simple ways to bring a given frame or all frames that are completely off screen on screen. And I agree with Martin's observation that such things should be available from Emacs, but when a window mgr does something we don't want wrt positioning users (and Emacs code) should be able to try to compensate in some way (change the position to something that is acceptable by the window mgr). And our doc should make clear to users that Emacs doesn't get the last word, so that some behavior they see may be imposed by the window mgr, i.e., beyond Emacs's control.