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

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Severity: wishlist; Reported by: David Reitter <david.reitter@HIDDEN>; dated Sun, 27 Sep 2009 15:55:06 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.
Severity set to 'wishlist' from 'minor' Request was from Alan Third <alan@HIDDEN> to control <at> debbugs.gnu.org. Full text available.
Severity set to 'minor' from 'normal' Request was from Glenn Morris <rgm@HIDDEN> to control@HIDDEN. Full text available.
bug reassigned from package 'ns' to 'emacs,ns'. Request was from Glenn Morris <rgm@HIDDEN> to control@HIDDEN. Full text available.

Message received at 4566@HIDDEN:


Received: (at 4566) by emacsbugs.donarmstrong.com; 17 Oct 2009 12:41:47 +0000
From adrian.b.robert@HIDDEN Sat Oct 17 05:41:46 2009
X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02
	(2008-06-10) on rzlab.ucr.edu
X-Spam-Level: 
X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available.
	hammytokens:Tokens not available.
X-Spam-Status: No, score=0.1 required=4.0 tests=AWL,FOURLA autolearn=no
	version=3.2.5-bugs.debian.org_2005_01_02
Received: from mail-px0-f193.google.com (mail-px0-f193.google.com [209.85.216.193])
	by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n9HCfjQ0019192
	for <4566@HIDDEN>; Sat, 17 Oct 2009 05:41:46 -0700
Received: by pxi31 with SMTP id 31so2305286pxi.19
        for <4566@HIDDEN>; Sat, 17 Oct 2009 05:41:40 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=gamma;
        h=domainkey-signature:received:received:subject:mime-version
         :content-type:from:in-reply-to:date:cc:content-transfer-encoding
         :message-id:references:to:x-mailer;
        bh=qcRP1izdJa5/F5PkkQZAqAE0zfLzyvcA2cqbtLiX4zc=;
        b=feLjjEEuy/DXUhtvzI69q9eas1Ase+YojSTo54trLMk9V/OF/o3TZMXus2ehKuMkkt
         z1CyywI0BWd4iVFD2sTv6whPhPTePrpiJ3DbzRKhnNYKj72nLWew2KakfkRt/EfAWedh
         Hs9tCpRrlBNGHQd53P6NMp7uBx3ukufWtGbsc=
DomainKey-Signature: a=rsa-sha1; c=nofws;
        d=gmail.com; s=gamma;
        h=subject:mime-version:content-type:from:in-reply-to:date:cc
         :content-transfer-encoding:message-id:references:to:x-mailer;
        b=huYySgBB6W2n3rXNeKlBXONTNOiOOluHbhPHpBbYsv1+8txlIt+7jmiqcEht8PQXb0
         4HTG/s/qMksdtzQwN1OaqVx0xGrlv/hfetd+8VcdqmaVDfuyDiYqhSXgkbR/at8IMLTK
         AMjciWDMXtzGaAy71fPX2hKZCzpTeWB3WvqQU=
Received: by 10.141.22.21 with SMTP id z21mr1272362rvi.170.1255783300024;
        Sat, 17 Oct 2009 05:41:40 -0700 (PDT)
Received: from ?192.168.2.13? (2.sub-75-223-193.myvzw.com [75.223.193.2])
        by mx.google.com with ESMTPS id 22sm1073393pxi.6.2009.10.17.05.41.37
        (version=TLSv1/SSLv3 cipher=RC4-MD5);
        Sat, 17 Oct 2009 05:41:39 -0700 (PDT)
Subject: Re: 23, NS: frames re-appear when app switching
Mime-Version: 1.0 (Apple Message framework v1076)
Content-Type: text/plain; charset=us-ascii; format=flowed; delsp=yes
From: Adrian Robert <adrian.b.robert@HIDDEN>
In-Reply-To: <8E2F92F1-A801-408E-8009-C1CE5DCA4988@HIDDEN>
Date: Sat, 17 Oct 2009 08:41:34 -0400
Cc: 4566 <at> debbugs.gnu.org
Content-Transfer-Encoding: 7bit
Message-Id: <55E0F225-6D79-401F-A166-1B859D035E60@HIDDEN>
References: <867877FF-02A7-46D8-BA7E-B9862806B62D@HIDDEN> <8E2F92F1-A801-408E-8009-C1CE5DCA4988@HIDDEN>
To: David Reitter <david.reitter@HIDDEN>
X-Mailer: Apple Mail (2.1076)


On Oct 17, 2009, at 8:27 AM, David Reitter wrote:

> On Oct 17, 2009, at 8:23 AM, Adrian Robert wrote:
>>
>> They should probably stay invisible, but OTOH I'm not sure how much  
>> user's expectations will be upset by this as I can't think of  
>> another Mac app that lets users make windows "invisible".  On what  
>> basis are you saying it is "non-standard"?
>
> Every other app lets users delete all frames, but not so Emacs.   
> Therefore, hiding a frame (or the last frame) serves as a proxy for  
> deleting.  That's what makes the present behavior unexpected.

I dunno, that sounds a bit like a hack.  Maybe the fix is to let emacs  
exist without a frame on this platform, but if that's too much of a  
break with OTHER platforms (and it might be, at least for  
implementation reasons), then perhaps it should just be lived with.  I  
don't like the idea of supporting invisible frames under NS _at all_.   
(In fact, whoever came up with that feature (which is not standard on  
ANY platform, while all support iconification or something similar) to  
begin with should be  questioned intensively by the police, but that's  
another issue.. ;-)




Acknowledgement sent to Adrian Robert <adrian.b.robert@HIDDEN>:
Extra info received and forwarded to list. Copy sent to owner@HIDDEN. Full text available.
Information forwarded to bug-submit-list@HIDDEN, owner@HIDDEN:
bug#4566; Package ns. Full text available.

Message received at 4566@HIDDEN:


Received: (at 4566) by emacsbugs.donarmstrong.com; 17 Oct 2009 12:27:13 +0000
From david.reitter@HIDDEN Sat Oct 17 05:27:13 2009
X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02
	(2008-06-10) on rzlab.ucr.edu
X-Spam-Level: 
X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available.
	hammytokens:Tokens not available.
X-Spam-Status: No, score=0.1 required=4.0 tests=FOURLA autolearn=no
	version=3.2.5-bugs.debian.org_2005_01_02
Received: from mail-yw0-f179.google.com (mail-yw0-f179.google.com [209.85.211.179])
	by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n9HCRB0M017140
	for <4566@HIDDEN>; Sat, 17 Oct 2009 05:27:12 -0700
Received: by ywh9 with SMTP id 9so2650173ywh.19
        for <4566@HIDDEN>; Sat, 17 Oct 2009 05:27:06 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=gamma;
        h=domainkey-signature:received:received:subject:mime-version
         :content-type:from:in-reply-to:date:cc:content-transfer-encoding
         :message-id:references:to:x-mailer;
        bh=OpE8ST5KXHbrTxAjm9nnUnQia7Kv6b83u9G3Aa+FObc=;
        b=EQ0fQAsdEsb+GFPir+TT43MMCar/SkENfn4q+RzTG3TuaD7ZB8cPZ21SlWT9/b5A8d
         qedr7b9CmVe4etoHUiolH8PPW/UDG8DmoA6/od7+ohkrzORNcq1wvC/yr8YW4Ir+uF7p
         1XaxIljCp2gyvz+pmuzkL3/uks4onMLUZ8o2A=
DomainKey-Signature: a=rsa-sha1; c=nofws;
        d=gmail.com; s=gamma;
        h=subject:mime-version:content-type:from:in-reply-to:date:cc
         :content-transfer-encoding:message-id:references:to:x-mailer;
        b=u9KYuA2PRFS0BQkWqwVpFW6w6j3u2N7RA9hnD+AQtYVAe48FNpqmSax//4j2/IbIWe
         mkeChfoi9su5NEl/ysAa8LVNvbtr6wBKa9tze+cPRe84PC5SJdVrJsphoiKTfZ2ocgqE
         FOA8iaJVXubTGgK7XVteKVVB4r353A4b6dhX0=
Received: by 10.90.166.2 with SMTP id o2mr2430366age.93.1255782426353;
        Sat, 17 Oct 2009 05:27:06 -0700 (PDT)
Received: from ?192.168.1.114? (cpe-69-203-157-60.si.res.rr.com [69.203.157.60])
        by mx.google.com with ESMTPS id 23sm1475880yxe.12.2009.10.17.05.27.04
        (version=TLSv1/SSLv3 cipher=RC4-MD5);
        Sat, 17 Oct 2009 05:27:05 -0700 (PDT)
Subject: Re: 23, NS: frames re-appear when app switching
Mime-Version: 1.0 (Apple Message framework v1076)
Content-Type: text/plain; charset=us-ascii; format=flowed; delsp=yes
From: David Reitter <david.reitter@HIDDEN>
In-Reply-To: <867877FF-02A7-46D8-BA7E-B9862806B62D@HIDDEN>
Date: Sat, 17 Oct 2009 08:27:03 -0400
Cc: 4566 <at> debbugs.gnu.org
Content-Transfer-Encoding: 7bit
Message-Id: <8E2F92F1-A801-408E-8009-C1CE5DCA4988@HIDDEN>
References: <867877FF-02A7-46D8-BA7E-B9862806B62D@HIDDEN>
To: Adrian Robert <adrian.b.robert@HIDDEN>
X-Mailer: Apple Mail (2.1076)

On Oct 17, 2009, at 8:23 AM, Adrian Robert wrote:
>
> They should probably stay invisible, but OTOH I'm not sure how much  
> user's expectations will be upset by this as I can't think of  
> another Mac app that lets users make windows "invisible".  On what  
> basis are you saying it is "non-standard"?

Every other app lets users delete all frames, but not so Emacs.   
Therefore, hiding a frame (or the last frame) serves as a proxy for  
deleting.  That's what makes the present behavior unexpected.

- D



Acknowledgement sent to David Reitter <david.reitter@HIDDEN>:
Extra info received and forwarded to list. Copy sent to owner@HIDDEN. Full text available.
Information forwarded to bug-submit-list@HIDDEN, owner@HIDDEN:
bug#4566; Package ns. Full text available.

Message received at 4566@HIDDEN:


Received: (at 4566) by emacsbugs.donarmstrong.com; 17 Oct 2009 12:23:33 +0000
From adrian.b.robert@HIDDEN Sat Oct 17 05:23:33 2009
X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02
	(2008-06-10) on rzlab.ucr.edu
X-Spam-Level: 
X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available.
	hammytokens:Tokens not available.
X-Spam-Status: No, score=0.1 required=4.0 tests=AWL,FOURLA autolearn=no
	version=3.2.5-bugs.debian.org_2005_01_02
Received: from mail-yx0-f190.google.com (mail-yx0-f190.google.com [209.85.210.190])
	by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n9HCNVoN016489
	for <4566@HIDDEN>; Sat, 17 Oct 2009 05:23:32 -0700
Received: by yxe28 with SMTP id 28so2549646yxe.19
        for <4566@HIDDEN>; Sat, 17 Oct 2009 05:23:26 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=gamma;
        h=domainkey-signature:received:received:from:content-type
         :content-transfer-encoding:subject:date:message-id:cc:to
         :mime-version:x-mailer;
        bh=c+FvID9z/uhd5JbjTAG/ff91njUr/skbEOvuvf03/HY=;
        b=ZOQsI0OsGQH9QAoOOjAbvoKT1iJSAOBK0obrssn80qnEXF+wz5rF4+1QRXwJ+8xZp/
         VlWKPQNSuilr63+Hk3Su7DoWT5k/NT48jlvYoAcTE/BIFbLx8MNf3a19IawUcpJ0Ewac
         IaJwDbYtGo+64cIDiDEbbIuxyHxmCz7AF3QUs=
DomainKey-Signature: a=rsa-sha1; c=nofws;
        d=gmail.com; s=gamma;
        h=from:content-type:content-transfer-encoding:subject:date:message-id
         :cc:to:mime-version:x-mailer;
        b=lv/dtxrMyQROKdKIzwur8o2tyAjNpQ3/3knkKvEN4OazrVM4lJlOqK7KFOTPfeeIua
         V8+pTGusB5LHoRGbP6/ce+EpOGOYTuJ/9dVUXafeIdc3QDiM5QxHkBOXY9Pz18I5ObWv
         fco9EwQpx1S+hFMz8fZcmnpVjJzlXEHvFqEW4=
Received: by 10.90.159.16 with SMTP id h16mr2472520age.24.1255782206049;
        Sat, 17 Oct 2009 05:23:26 -0700 (PDT)
Received: from ?192.168.2.13? (2.sub-75-223-193.myvzw.com [75.223.193.2])
        by mx.google.com with ESMTPS id 23sm1473675yxe.12.2009.10.17.05.23.24
        (version=TLSv1/SSLv3 cipher=RC4-MD5);
        Sat, 17 Oct 2009 05:23:25 -0700 (PDT)
From: Adrian Robert <adrian.b.robert@HIDDEN>
Content-Type: text/plain; charset=us-ascii; format=flowed; delsp=yes
Content-Transfer-Encoding: 7bit
Subject: Re: 23, NS: frames re-appear when app switching
Date: Sat, 17 Oct 2009 08:23:23 -0400
Message-Id: <867877FF-02A7-46D8-BA7E-B9862806B62D@HIDDEN>
Cc: David Reitter <david.reitter@HIDDEN>
To: 4566 <at> debbugs.gnu.org
Mime-Version: 1.0 (Apple Message framework v1076)
X-Mailer: Apple Mail (2.1076)

set severity 'minor'
stop


http://debbugs.gnu.org/cgi/bugreport.cgi?bug=4566

They should probably stay invisible, but OTOH I'm not sure how much  
user's expectations will be upset by this as I can't think of another  
Mac app that lets users make windows "invisible".  On what basis are  
you saying it is "non-standard"?




Acknowledgement sent to Adrian Robert <adrian.b.robert@HIDDEN>:
Extra info received and forwarded to list. Copy sent to owner@HIDDEN. Full text available.
Information forwarded to bug-submit-list@HIDDEN, owner@HIDDEN:
bug#4566; Package ns. Full text available.

Message received at submit@HIDDEN:


Received: (at submit) by emacsbugs.donarmstrong.com; 27 Sep 2009 15:50:53 +0000
From david.reitter@HIDDEN Sun Sep 27 08:50:52 2009
X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02
	(2008-06-10) on rzlab.ucr.edu
X-Spam-Level: 
X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available.
	hammytokens:Tokens not available.
X-Spam-Status: No, score=-3.4 required=4.0 tests=AWL,HAS_PACKAGE autolearn=ham
	version=3.2.5-bugs.debian.org_2005_01_02
Received: from lists.gnu.org (lists.gnu.org [199.232.76.165])
	by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n8RFop2P024704
	for <submit@HIDDEN>; Sun, 27 Sep 2009 08:50:52 -0700
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1Mrw1T-0006gX-46
	for bug-gnu-emacs@HIDDEN; Sun, 27 Sep 2009 11:50:51 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1Mrw1N-0006e4-M1
	for bug-gnu-emacs@HIDDEN; Sun, 27 Sep 2009 11:50:50 -0400
Received: from [199.232.76.173] (port=59795 helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43)
	id 1Mrw1N-0006dc-7J
	for bug-gnu-emacs@HIDDEN; Sun, 27 Sep 2009 11:50:45 -0400
Received: from mail-qy0-f196.google.com ([209.85.221.196]:34804)
	by monty-python.gnu.org with esmtp (Exim 4.60)
	(envelope-from <david.reitter@HIDDEN>)
	id 1Mrw1M-0007og-Ps
	for bug-gnu-emacs@HIDDEN; Sun, 27 Sep 2009 11:50:44 -0400
Received: by qyk34 with SMTP id 34so2968334qyk.14
        for <bug-gnu-emacs@HIDDEN>; Sun, 27 Sep 2009 08:50:43 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=gamma;
        h=domainkey-signature:received:received:from:content-type
         :content-transfer-encoding:subject:date:message-id:to:mime-version
         :x-mailer;
        bh=Tk22iahVTXP2smk+1uPdIzF8wtjjCsVndY5N8MQx7R4=;
        b=YdWlyCJh2oq7ZZlkDfK0vInP8eZGcP4O/rjHQku8TicxdlX3y7OK/sv3kE7cSVnOmV
         ND+O/W56gQYfIFq65VmaWLq6COIWhYfU3MJhffu4AO0LeSBxujbzZ0glzkyr38G2onpk
         php+LhwR7obMa5/8Ok6WCoDpt6DtUdWjmtFOg=
DomainKey-Signature: a=rsa-sha1; c=nofws;
        d=gmail.com; s=gamma;
        h=from:content-type:content-transfer-encoding:subject:date:message-id
         :to:mime-version:x-mailer;
        b=cZXIQpHBhwW6hSpKlYOroj2P/gcnGr02Q7XWzCh3cAe40QNLQfCrfrd8CXQIL8l4z3
         yGJUc8jMlKjBaFnTtQ3rARbcrV6H3ZI8Ma7iQ/vcWOQ3AOVDp85k+wS+i9yaWYMn9++j
         u/pcrSr3CNZ2shH0icUNfbTBjVhkPxBfGpAC8=
Received: by 10.224.56.208 with SMTP id z16mr1936660qag.144.1254066643671;
        Sun, 27 Sep 2009 08:50:43 -0700 (PDT)
Received: from scarlett.local (pool-71-182-160-43.pitbpa.east.verizon.net [71.182.160.43])
        by mx.google.com with ESMTPS id 5sm5628062qwg.13.2009.09.27.08.50.41
        (version=TLSv1/SSLv3 cipher=RC4-MD5);
        Sun, 27 Sep 2009 08:50:42 -0700 (PDT)
From: David Reitter <david.reitter@HIDDEN>
Content-Type: text/plain; charset=us-ascii; format=flowed; delsp=yes
Content-Transfer-Encoding: 7bit
Subject: 23, NS: frames re-appear when app switching
Date: Sun, 27 Sep 2009 11:50:40 -0400
Message-Id: <84E3245F-C845-4397-B790-4442243E4098@HIDDEN>
To: Bug-Gnu-Emacs <bug-gnu-emacs@HIDDEN>
Mime-Version: 1.0 (Apple Message framework v1076)
X-Mailer: Apple Mail (2.1076)
X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2)

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.





Acknowledgement sent to David Reitter <david.reitter@HIDDEN>:
New bug report received and forwarded. Copy sent to owner@HIDDEN. Full text available.
Report forwarded to bug-submit-list@HIDDEN, owner@HIDDEN:
bug#4566; Package ns. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Mon, 25 Sep 2017 16:15:02 UTC

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