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#28512: 26.0.60; undecorated frames on macOS 10.13 do not resize properly Date: Wed, 18 Oct 2017 20:50:34 +0100 Message-ID: <20171018195034.GB8705@breton.holly.idiocy.org> References: <20170925163301.GB45550@breton.holly.idiocy.org> <20171016100119.GA41757@breton.holly.idiocy.org> <20171016204631.GA44072@breton.holly.idiocy.org> <20171017085859.GA633@breton.holly.idiocy.org> 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 1508356269 5745 195.159.176.226 (18 Oct 2017 19:51:09 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 18 Oct 2017 19:51:09 +0000 (UTC) User-Agent: Mutt/1.9.0 (2017-09-02) Cc: 28512@debbugs.gnu.org To: Aaron Jensen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Oct 18 21:51:05 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 1e4uMq-0000m1-Rx for geb-bug-gnu-emacs@m.gmane.org; Wed, 18 Oct 2017 21:51:05 +0200 Original-Received: from localhost ([::1]:46171 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e4uMy-00041H-EE for geb-bug-gnu-emacs@m.gmane.org; Wed, 18 Oct 2017 15:51:12 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:34900) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e4uMs-00040M-OR for bug-gnu-emacs@gnu.org; Wed, 18 Oct 2017 15:51:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e4uMp-00030B-Ku for bug-gnu-emacs@gnu.org; Wed, 18 Oct 2017 15:51:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:39959) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1e4uMp-0002zx-FK for bug-gnu-emacs@gnu.org; Wed, 18 Oct 2017 15:51:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1e4uMn-0004i6-Qr for bug-gnu-emacs@gnu.org; Wed, 18 Oct 2017 15:51:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Alan Third Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 18 Oct 2017 19:51:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 28512 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 28512-submit@debbugs.gnu.org id=B28512.150835624918084 (code B ref 28512); Wed, 18 Oct 2017 19:51:01 +0000 Original-Received: (at 28512) by debbugs.gnu.org; 18 Oct 2017 19:50:49 +0000 Original-Received: from localhost ([127.0.0.1]:48640 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e4uMX-0004hY-Di for submit@debbugs.gnu.org; Wed, 18 Oct 2017 15:50:49 -0400 Original-Received: from mail-wr0-f178.google.com ([209.85.128.178]:51381) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e4uMV-0004hL-Mq for 28512@debbugs.gnu.org; Wed, 18 Oct 2017 15:50:44 -0400 Original-Received: by mail-wr0-f178.google.com with SMTP id j14so6178715wre.8 for <28512@debbugs.gnu.org>; Wed, 18 Oct 2017 12:50:43 -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=0RpkUgIKM3WGDaSVztDdKoObn4gV0UzhEALU79FPCNQ=; b=Up5nnERGDo9Q7UTJ0tyxTIapgSGjxP9TMYfggSk0xoyoOF3OUM1vEyMcGn6xTkKaqS o8NQyeagiymZ0uuRkxo05c0uNzTRWNC46CuTtrgz9q95K664wX76gVA+aMLp8R00Ic4T ipfXXvEsV8/55ImStoLWsWCzMaCG85uQvdz4ZZjrEzHYl4FsB1V2n/JyuY2Div6RfuF6 aMk9KkUyNTN0xqwxeiqM8hlqfk+tRzKpuJaY0Z/XDKbrnImiuKr7pkp+3vs8fq7EBge8 145fuW9UIUrXcIF8i0kLGF43c0IlAoCHFMK+TORBNTXwfv1sGXHlZ/9Y57xkfc5yzLg2 /rQg== 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=0RpkUgIKM3WGDaSVztDdKoObn4gV0UzhEALU79FPCNQ=; b=rLM33OSMDEkiYOvWIpIFLgNoS/La2WCjP9/3V5M0wYJcYjtJjbg+3wo855stru96kt COcmn4gz9ZLd7AkEeX7mVG5RjwQe3GuV0UQ0bgZsu4jgu5441h+Ho6hRPpE5mBM6NSTP i7/aHXX3Rfvz4MdOiaPiL1/Z7p3lZ3YrO+BXvV0hH0OYCJUYi8UyYT+ziudKLM6cid4u tu75TEzEy33aTM2yr4sEghzPD9PTmg+wRpK1/35T+nTvfOZywggFnWgKtm+FczU8nwTS Xjw9x6A7Sc00wPrB8NS+b/6aRC0r6IIvezXiKlQ10ou/n6mSgHELivlaqXLn/SrLRf56 Mmzg== X-Gm-Message-State: AMCzsaWPb+BDwap/W7CiJGD0XkCyc0Fq1yX+tPDd8E5E+lYb/2KuLeaH /+Ta5h9RpOYYYzb3LgNlUgY= X-Google-Smtp-Source: ABhQp+Sn2xVbOKF9IzurBy0S79ugtkgnNTzxCuWHl+BRsKzR0KY6xZERlNzfjT8lI4ETlHYBvW27xQ== X-Received: by 10.223.171.92 with SMTP id r28mr8283010wrc.62.1508356237916; Wed, 18 Oct 2017 12:50:37 -0700 (PDT) Original-Received: from breton.holly.idiocy.org (ip6-2001-08b0-03f8-8129-e8c0-7337-fd5d-f719.holly.idiocy.org. [2001:8b0:3f8:8129:e8c0:7337:fd5d:f719]) by smtp.gmail.com with ESMTPSA id y29sm9827439wrd.3.2017.10.18.12.50.36 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 18 Oct 2017 12:50:36 -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:138691 Archived-At: On Wed, Oct 18, 2017 at 09:08:52AM -0700, Aaron Jensen wrote: > On October 17, 2017 at 1:59:03 AM, Alan Third > (alan@idiocy.org(mailto:alan@idiocy.org)) wrote: > > > When you create an undecorated frame you’ll just have to also set the > > frame parameter drag-internal-border to t. Resizing is a bit flickery, > > but it should work as it’s being done through emacs lisp. > > I didn’t know about this. That said, it’s not ideal. I don’t think I’d > actually use it because it prevents other applications (like > divvy/hammerspoon/etc) from resizing the frame. I do this w/ keyboard > shortcuts all the time and losing that is a non-starter. It also > doesn’t seem to allow diagonal resizing, which isn’t a huge deal, but > is unfortunate. Hmm, I take it these are not part of Emacs? The diagonal resizing should work, we just don’t have diagonal arrows because the ones macOS uses are undocumented. > If you’re up for coding it, I’d definitely be happy to test out the > recreate-the-frame option. I’d rather not, to be honest. The below option seems better where it’s supported, especially if borderless windows are deprecated. > > There are other things you can do, like making the title invisible and > > turning off the buttons. I’ve not done much experimenting with it > > since it doesn’t work on older macOS versions. It might be worth my > > while putting in the effort, though. > > He linked me to this article, which may help: > http://robin.github.io/cocoa/mac/2016/03/28/title-bar-and-toolbar-showcase/ I’ve seen this, and actually gave NSWindowStyleMaskFullSizeContentView a go, but I get a pile of errors and input breaks. I think it’s maybe something to do with layers, which I’ve yet to read up on. -- Alan Third