all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Alan Third <alan@idiocy.org>
To: Aaron Jensen <aaronjensen@gmail.com>
Cc: 28872@debbugs.gnu.org
Subject: bug#28872: 26.0.90; non-native-fullscreen does not play well with ns-transparent-titlebar on macOS
Date: Wed, 25 Oct 2017 14:38:20 +0100	[thread overview]
Message-ID: <20171025133820.GA54299@breton.holly.idiocy.org> (raw)
In-Reply-To: <CAHyO48y5jy7L7E+BZTtTAtd5eGcUb-W54FQXhfEh444WPx4j3A@mail.gmail.com>

On Fri, Oct 20, 2017 at 07:35:35AM -0400, Aaron Jensen wrote:
> On October 19, 2017 at 4:17:13 AM, Alan Third
> (alan@idiocy.org(mailto:alan@idiocy.org)) wrote:
> 
> > Non‐native fullscreen uses another NSWindow (like we were discussing
> > for undecorated frames), so when it switches back out of fullscreen it
> > changes back to the original NSWindow.
> 
> Oh, why is that? I believe that is the time that iTerm2 does not
> create a new window. It sets borderless and resizes to full screen. If
> that were done instead, would it help with the toolbar issue?

Yeah, we could probably do it without creating a new NSWindow for
macOS and I think it would be better behaved, but GNUstep doesn’t
allow you to change the styleMask at all so it still needs to do the
new NSWindow thing.

In order to use lisp to do the fullscreen thing we’d need to keep
track of various ‘windowed’ frame parameters, ie. undecorated, width,
height, origin, maybe others. I assume it would be OK to stick them
into the frame-parameters alist under a special key, so we know where
they are when we want to switch back.

Anyway, I’ve pushed a fix for this particular issue. It does produce
another odd bug, though:

Set non‐native fullscreen, turn off the toolbar, switch to fullscreen
then back to windowed, re‐enable the toolbar and watch a gap appear
between the top of the Emacs window and the toolbar.

It’s weird, but harder to cause than the current bad behaviour.
-- 
Alan Third





  parent reply	other threads:[~2017-10-25 13:38 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-10-17  3:00 bug#28872: 26.0.90; non-native-fullscreen does not play well with ns-transparent-titlebar on macOS Aaron Jensen
2017-10-17 14:25 ` Alan Third
2017-10-19  1:08   ` Aaron Jensen
2017-10-19 11:17     ` Alan Third
     [not found]       ` <CAHyO48y5jy7L7E+BZTtTAtd5eGcUb-W54FQXhfEh444WPx4j3A@mail.gmail.com>
2017-10-25 13:38         ` Alan Third [this message]
2017-10-25 15:15           ` Aaron Jensen
2017-10-28 13:19             ` Alan Third
2017-10-28 17:15               ` Aaron Jensen
2017-10-28 17:17                 ` Aaron Jensen
2017-11-05 18:59               ` Alan Third
2017-10-26  7:56           ` martin rudalics
2017-10-28 13:11             ` Alan Third
2017-10-31  8:40               ` martin rudalics

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

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

  git send-email \
    --in-reply-to=20171025133820.GA54299@breton.holly.idiocy.org \
    --to=alan@idiocy.org \
    --cc=28872@debbugs.gnu.org \
    --cc=aaronjensen@gmail.com \
    /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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.