GNU bug report logs - #28496
25.2; Crash when manipulating fullscreen frames on macOS

Previous Next

Package: emacs;

Reported by: Duncan Harvey <djh-emacs-bugs <at> syndrig.co.uk>

Date: Mon, 18 Sep 2017 15:13:03 UTC

Severity: normal

Tags: fixed

Found in version 25.2

Fixed in version 26.1

Done: Alan Third <alan <at> idiocy.org>

Bug is archived. No further changes may be made.

Full log


Message #17 received at 28496 <at> debbugs.gnu.org (full text, mbox):

From: Alan Third <alan <at> idiocy.org>
To: Duncan Harvey <djh-emacs-bugs <at> syndrig.co.uk>
Cc: 28496 <at> debbugs.gnu.org
Subject: Re: bug#28496: 25.2; Crash when manipulating fullscreen frames on
 macOS
Date: Sun, 1 Oct 2017 00:23:23 +0100
[Message part 1 (text/plain, inline)]
On Tue, Sep 19, 2017 at 04:49:16PM +0100, Duncan Harvey wrote:
> 
> On macOS Sierra, creating the new frame appears to create a macOS-style tab in the same 'space'.
> On El Capitan, creating the new frame creates a new Mac OS X 'space'.

Emacs 26 shouldn’t create a new tab any more.

> Animating the creation of a new space certainly appears to be
> relatively slow (when running under a VM, at least), which lends
> weight to your suspicion that it's timing related.

I can’t see any way around this in C. I can’t even find a way to
prevent native fullscreen from animating, so I’ve gone with just
causing toggle-frame-fullscreen to pause for 1 second on macOS.

I don’t think anyone will be too bothered by this as I don’t think you
can realistically do anything in Emacs while the animation is running
anyway.

BTW, running your script with native fullscreen disabled causes a
crash here, and this pause fixes that too. In theory non‐native
fullscreen should happen instantly, but there’s a pause in the C code
too to fix another issue, so whatever. (see bug#28443)

Patch attached.
-- 
Alan Third
[0001-Fix-fullscreen-crash-on-macOS-bug-28496.patch (text/plain, attachment)]

This bug report was last modified 7 years and 224 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.