From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dave Abrahams Newsgroups: gmane.emacs.bugs Subject: bug#10920: 24.0.93; Poor response to display size changes Date: Sat, 03 Mar 2012 10:48:15 -0500 Message-ID: References: <2E94F53F-B5BB-4D63-8AA6-7F326AF6610D@swipnet.se> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1330789805 28388 80.91.229.3 (3 Mar 2012 15:50:05 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 3 Mar 2012 15:50:05 +0000 (UTC) Cc: "10920@debbugs.gnu.org" <10920@debbugs.gnu.org> To: Jan =?UTF-8?Q?Dj=C3=A4rv?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Mar 03 16:50:02 2012 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1S3rDd-0002CQ-VV for geb-bug-gnu-emacs@m.gmane.org; Sat, 03 Mar 2012 16:50:02 +0100 Original-Received: from localhost ([::1]:40472 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S3rDd-0001NJ-9w for geb-bug-gnu-emacs@m.gmane.org; Sat, 03 Mar 2012 10:50:01 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:35391) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S3rDa-0001NE-VH for bug-gnu-emacs@gnu.org; Sat, 03 Mar 2012 10:50:00 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S3rDY-0005ZG-Pq for bug-gnu-emacs@gnu.org; Sat, 03 Mar 2012 10:49:58 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:53339) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S3rDY-0005ZC-Lw for bug-gnu-emacs@gnu.org; Sat, 03 Mar 2012 10:49:56 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1S3rDe-0000ay-AM for bug-gnu-emacs@gnu.org; Sat, 03 Mar 2012 10:50:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Dave Abrahams Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 03 Mar 2012 15:50:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 10920 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 10920-submit@debbugs.gnu.org id=B10920.13307897582223 (code B ref 10920); Sat, 03 Mar 2012 15:50:02 +0000 Original-Received: (at 10920) by debbugs.gnu.org; 3 Mar 2012 15:49:18 +0000 Original-Received: from localhost ([127.0.0.1]:60171 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1S3rCv-0000Zb-EB for submit@debbugs.gnu.org; Sat, 03 Mar 2012 10:49:17 -0500 Original-Received: from mail-vw0-f44.google.com ([209.85.212.44]:64500) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1S3rCZ-0000Ym-BN for 10920@debbugs.gnu.org; Sat, 03 Mar 2012 10:49:05 -0500 Original-Received: by vbbez10 with SMTP id ez10so2351951vbb.3 for <10920@debbugs.gnu.org>; Sat, 03 Mar 2012 07:48:18 -0800 (PST) Received-SPF: pass (google.com: domain of dave@boostpro.com designates 10.52.76.196 as permitted sender) client-ip=10.52.76.196; Authentication-Results: mr.google.com; spf=pass (google.com: domain of dave@boostpro.com designates 10.52.76.196 as permitted sender) smtp.mail=dave@boostpro.com Original-Received: from mr.google.com ([10.52.76.196]) by 10.52.76.196 with SMTP id m4mr23841299vdw.112.1330789698080 (num_hops = 1); Sat, 03 Mar 2012 07:48:18 -0800 (PST) Original-Received: by 10.52.76.196 with SMTP id m4mr20402406vdw.112.1330789698016; Sat, 03 Mar 2012 07:48:18 -0800 (PST) Original-Received: from pluto.luannocracy.com (207-172-223-249.c3-0.smr-ubr3.sbo-smr.ma.static.cable.rcn.com. [207.172.223.249]) by mx.google.com with ESMTPS id jr10sm14686583vdb.14.2012.03.03.07.48.16 (version=TLSv1/SSLv3 cipher=OTHER); Sat, 03 Mar 2012 07:48:16 -0800 (PST) Original-Received: by pluto.luannocracy.com (Postfix, from userid 501) id 732652AB5284; Sat, 3 Mar 2012 10:48:15 -0500 (EST) In-Reply-To: <2E94F53F-B5BB-4D63-8AA6-7F326AF6610D@swipnet.se> ("Jan =?UTF-8?Q?Dj=C3=A4rv?="'s message of "Sat, 3 Mar 2012 15:12:23 +0100") User-Agent: Gnus/5.130004 (Ma Gnus v0.4) Emacs/24.0.94 (darwin) X-Gm-Message-State: ALoCoQlo8aQjTL5vbOrS7xcp/cZDLhaxYpuDYvcOqhsxUeq+IvIv8OlUoMqbMfwhk7KGFdGrZlaZ X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.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-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:57460 Archived-At: on Sat Mar 03 2012, Jan Dj=C3=A4rv wrote: > Hello. > > 1 mar 2012 kl. 15:56 skrev Dave Abrahams : > >>=20 >> It seems to me: >>=20 >> * When the display size changes, any visible frames that aren't complete= ly >> visible should be moved/resised so they are > > This is not as easy as it seems. If you have Emacs spanning several > monitors and one of them changes it is not obvious what to do. One > could special case it for the single monitor case I guess. It may have not been easy 15-20 years ago, but today it is a solved problem. Many other applications have worked out ways to deal with such changes. Emacs could simply emulate one of those. >> * "maximized" should be remembered as part of the frame state, and when >> the display size changes, any previously-maximized frames should be >> re-maximized. > > As this is the work of the window manager in X11, the NS-port had no > code to go by. How is this handeled in W32 which doesn't have a window > manager either? What little I ever knew about W32 has mostly faded by now... and I'm pretty sure I never knew the answer to that question. >> * The same goes for "fullscreen" (which IIUC is only supported via a >> patch that lives outside emacs, but I mention it here for >> completeness). >>=20 > > The 10.7 style fullscreen does not have this problem, which is an > argument for just supporting that type of fullscreen in 24.2. Not really, IMO. On the mac there's a green button in the upper left of every application window that maximizes it. You have to respond to that button somehow and maximizing the frame is the right (and consistent) response. --=20 Dave Abrahams BoostPro Computing http://www.boostpro.com