GNU bug report logs - #4566
23, NS: frames re-appear when app switching

Previous Next

Package: emacs;

Reported by: David Reitter <david.reitter <at> gmail.com>

Date: Sun, 27 Sep 2009 15:55:06 UTC

Severity: wishlist

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


Message #5 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):

From: David Reitter <david.reitter <at> gmail.com>
To: Bug-Gnu-Emacs <bug-gnu-emacs <at> gnu.org>
Subject: 23, NS: frames re-appear when app switching
Date: Sun, 27 Sep 2009 11:50:40 -0400
package: ns

When starting up the NS port (trunk, on OS X 10.6.1), and then hiding  
the frame:

(make-frame-invisible nil t)

and then switching away and back to Emacs (Command-Tab, Command-Tab),   
the frame magically re-appears.
It shouldn't do that (it's non-standard).

What seems to happen is that the frame is raised (in front of desktop  
level) by the system before windowDidBecomeKey: is received.

I tried keeping the frame hidden in this case, for example via a call  
to x_make_frame_invisible (emacsframe) in windowDidBecomeKey:, but the  
result was that the menus become non-responsive (menuDown: isn't  
called at all!) until some frame is made visible.

A fix or a pointer to what could be wrong with the menu issue would  
probably help me produce a fix.





This bug report was last modified 3 years and 251 days ago.

Previous Next


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