unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Aaron Jensen <aaronjensen@gmail.com>
To: Alan Third <alan@idiocy.org>
Cc: 28512@debbugs.gnu.org
Subject: bug#28512: 26.0.60; undecorated frames on macOS 10.13 do not resize properly
Date: Mon, 16 Oct 2017 19:50:50 -0700	[thread overview]
Message-ID: <CAHyO48z7TRNB8Yx=vEoq2a01QdxZN5ZOFHhhjHXQr7A5OiNPWw@mail.gmail.com> (raw)
In-Reply-To: <20171016204631.GA44072@breton.holly.idiocy.org>

On October 16, 2017 at 1:46:36 PM, Alan Third
(alan@idiocy.org(mailto:alan@idiocy.org)) wrote:

> I don’t know for sure, but suspect the answer is that you can’t do
> that.

Ok, too bad.

> > > > 2. Would it be difficult to recreate the NSWindow housing the frame
> > > > when that frame parameter is changed?
> > >
> > > I’m not sure. I’ll have to go and have a look.
>
> Before I try coding this up, can you try a couple of things for me?
>
> It could be that changing individual bits of styleMask is the wrong
> way to do things, so can you please try the attached patch?

For some reason the patch didn’t apply, but I applied it manually. It
did not change the problem.

> If it doesn’t work can you change FRAME_UNDECORATED_FLAGS back to:
>
> #define FRAME_UNDECORATED_FLAGS NSWindowStyleMaskBorderless
>
> and see if you can resize the frame using lisp?

I can resize the frame with set-frame-size when using only borderless
and it does not break the mouse events. I can’t resize with the mouse
in this case, however and adding the resizable style back puts me
right back in the broken situation.

According to George Nachman (author of iTerm2):

> I'd say to file a radar but borderless windows are deprecated so I’d
> only expect them to get worse. I guess Apple would prefer that you
> use NSFullSizeContentViewWindowMask. Plus then you get a shadow and
> rounded corners.

Unfortunately, it behaves the same as borderless when there’s no title
(bug included). As far as I can tell, the only way to get a resizable
borderless window is to create it as such from the beginning :(

Aaron





  reply	other threads:[~2017-10-17  2:50 UTC|newest]

Thread overview: 37+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-09-19 15:10 bug#28512: 26.0.60; undecorated frames on macOS 10.13 do not resize properly Aaron Jensen
2017-09-19 15:35 ` Aaron Jensen
2017-09-19 21:34 ` Alan Third
2017-09-19 21:44   ` Aaron Jensen
2017-09-23 14:31     ` Aaron Jensen
2017-09-23 19:11       ` Alan Third
2017-09-23 21:35         ` Aaron Jensen
2017-09-24 11:27           ` Alan Third
2017-09-24 15:43             ` Aaron Jensen
2017-09-24 21:05               ` Alan Third
2017-09-25  0:39                 ` Aaron Jensen
2017-09-25 10:13                   ` Alan Third
2017-09-25 15:18                     ` Aaron Jensen
2017-09-25 16:33                       ` Alan Third
2017-09-25 17:02                         ` Aaron Jensen
2017-10-14 21:47                           ` Aaron Jensen
2017-10-16 10:01                             ` Alan Third
2017-10-16 12:49                               ` Aaron Jensen
2017-10-16 20:46                                 ` Alan Third
2017-10-17  2:50                                   ` Aaron Jensen [this message]
2017-10-17  8:58                                     ` Alan Third
2017-10-18 16:08                                       ` Aaron Jensen
2017-10-18 16:12                                         ` Aaron Jensen
2017-10-18 19:32                                           ` Alan Third
2017-10-18 19:50                                         ` Alan Third
2017-10-19  1:00                                           ` Aaron Jensen
2021-07-25 11:17                                           ` Alan Third
2021-07-25 17:06                                             ` Aaron Jensen
2021-12-22 20:52                                               ` Alan Third
2021-12-23 15:20                                                 ` Aaron Jensen
2021-12-23 16:09                                                   ` Alan Third
2021-12-23 18:19                                                     ` Aaron Jensen
2021-12-28 11:43                                                       ` Alan Third
2021-12-28 16:18                                                         ` Aaron Jensen
2022-01-04 10:58                                                           ` Alan Third
2017-10-17  8:59                                   ` martin rudalics
2017-10-17 16:06                                     ` Aaron Jensen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAHyO48z7TRNB8Yx=vEoq2a01QdxZN5ZOFHhhjHXQr7A5OiNPWw@mail.gmail.com' \
    --to=aaronjensen@gmail.com \
    --cc=28512@debbugs.gnu.org \
    --cc=alan@idiocy.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).