unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#4513: Fwd: [Aquamacs-devel] Where are the menu sub-items in Aquamacs version 2.
       [not found] <4A9D2BEC.1080008@sentesoftware.co.uk>
@ 2009-09-22 18:57 ` David Reitter
  2009-09-22 18:59   ` bug#4513: " David Reitter
  0 siblings, 1 reply; 6+ messages in thread
From: David Reitter @ 2009-09-22 18:57 UTC (permalink / raw)
  To: Adrian Robert; +Cc: Jean-Philippe SCHILLE, 4513

[-- Attachment #1: Type: text/plain, Size: 2332 bytes --]

Further to this, here's another menu bug:

I see that the submenus (except for the application) menu are missing  
in 23.1 based builds made on 10.5 and run on 10.5.  That is, only the  
titles show, but not the menus.

The bug is not a recent regression in Emacs - even a build from back  
in April shows this.
See also the bug report we got from a user, who had similar trouble in  
10.5.  A reasonable hypothesis here is that it is a late point-release  
of 10.5 causing this.

The master branch built on 10.5 shows missing submenus (just titles)  
when run on 10.5.
When run on 10.6 it works fine and has no problems.

I have tried moving menu-bar.el loading around in loadup.el just in  
case this is an artifact of some dumping / pure-space problem.
I'm puzzled...


PS: As for the bug with the collapsed applications menu: even a 23.1  
build (with Yamamoto's Aug 28 patch applied), made on 10.6 (and 32  
bit) shows the problem.  I
I can't make the File menu appear by removing the define-key global- 
map [menu-bar] ... expression from ns-win in this case.



Begin forwarded message:

> From: Jean-Philippe SCHILLE <jp.schille@sentesoftware.co.uk>
> Date: September 1, 2009 10:13:00 AM EDT
> To: aquamacs-devel@aquamacs.org
> Subject: [Aquamacs-devel] Where are the menu sub-items in Aquamacs  
> version 2.
> Reply-To: Aquamacs Developers <aquamacs-devel@aquamacs.org>
>
> Hello,
>
> For the 2.0 branch versions, I cannot see any sub-items in the menu  
> bar.
> The Aquamacs item is fine as all expected sub-items (About,  
> Check,Services...) are visible but the menu items File Edit Options  
> Tools Window Help do not show any sub-item when I click on them.
>
> Everything is fine with Aquamacs Emacs 1.8 though.
>
> I am running OS X 10.5.8 and I am using the latest X11 version 2.4.0  
> from http://xquartz.macosforge.org/trac/wiki/Releases (I wonder if  
> this is the culprit?)
>
> Thanks in advance for your help and advice.
>
> Regards,
>
> Jean-Philippe Schillé
> Sente Software Ltd
> 40 Occam Road
> Guildford GU2 7YG
> United-Kingdom
> www.sentesoftware.co.uk
>
> _______________________________________________
> Aquamacs-devel mailing list
> Aquamacs-devel@aquamacs.org
> http://lists.aquamacs.org/mailman/listinfo.cgi/aquamacs-devel


[-- Attachment #2: smime.p7s --]
[-- Type: application/pkcs7-signature, Size: 2193 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#4513: [Aquamacs-devel] Where are the menu sub-items in Aquamacs version 2.
  2009-09-22 18:57 ` bug#4513: Fwd: [Aquamacs-devel] Where are the menu sub-items in Aquamacs version 2 David Reitter
@ 2009-09-22 18:59   ` David Reitter
  2009-09-22 20:55     ` David Reitter
  0 siblings, 1 reply; 6+ messages in thread
From: David Reitter @ 2009-09-22 18:59 UTC (permalink / raw)
  To: David Reitter; +Cc: Jean-Philippe SCHILLE, Adrian Robert, 4513

[-- Attachment #1: Type: text/plain, Size: 2517 bytes --]

Erratum: s/master branch/23.1 branch/

On Sep 22, 2009, at 2:57 PM, David Reitter wrote:

> Further to this, here's another menu bug:
>
> I see that the submenus (except for the application) menu are  
> missing in 23.1 based builds made on 10.5 and run on 10.5.  That is,  
> only the titles show, but not the menus.
>
> The bug is not a recent regression in Emacs - even a build from back  
> in April shows this.
> See also the bug report we got from a user, who had similar trouble  
> in 10.5.  A reasonable hypothesis here is that it is a late point- 
> release of 10.5 causing this.
>
> The master branch built on 10.5 shows missing submenus (just titles)  
> when run on 10.5.
> When run on 10.6 it works fine and has no problems.
>
> I have tried moving menu-bar.el loading around in loadup.el just in  
> case this is an artifact of some dumping / pure-space problem.
> I'm puzzled...
>
>
> PS: As for the bug with the collapsed applications menu: even a 23.1  
> build (with Yamamoto's Aug 28 patch applied), made on 10.6 (and 32  
> bit) shows the problem.  I
> I can't make the File menu appear by removing the define-key global- 
> map [menu-bar] ... expression from ns-win in this case.
>
>
>
> Begin forwarded message:
>
>> From: Jean-Philippe SCHILLE <jp.schille@sentesoftware.co.uk>
>> Date: September 1, 2009 10:13:00 AM EDT
>> To: aquamacs-devel@aquamacs.org
>> Subject: [Aquamacs-devel] Where are the menu sub-items in Aquamacs  
>> version 2.
>> Reply-To: Aquamacs Developers <aquamacs-devel@aquamacs.org>
>>
>> Hello,
>>
>> For the 2.0 branch versions, I cannot see any sub-items in the menu  
>> bar.
>> The Aquamacs item is fine as all expected sub-items (About,  
>> Check,Services...) are visible but the menu items File Edit Options  
>> Tools Window Help do not show any sub-item when I click on them.
>>
>> Everything is fine with Aquamacs Emacs 1.8 though.
>>
>> I am running OS X 10.5.8 and I am using the latest X11 version  
>> 2.4.0 from http://xquartz.macosforge.org/trac/wiki/Releases (I  
>> wonder if this is the culprit?)
>>
>> Thanks in advance for your help and advice.
>>
>> Regards,
>>
>> Jean-Philippe Schillé
>> Sente Software Ltd
>> 40 Occam Road
>> Guildford GU2 7YG
>> United-Kingdom
>> www.sentesoftware.co.uk
>>
>> _______________________________________________
>> Aquamacs-devel mailing list
>> Aquamacs-devel@aquamacs.org
>> http://lists.aquamacs.org/mailman/listinfo.cgi/aquamacs-devel
>


[-- Attachment #2: smime.p7s --]
[-- Type: application/pkcs7-signature, Size: 2193 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#4513: [Aquamacs-devel] Where are the menu sub-items in Aquamacs version 2.
  2009-09-22 18:59   ` bug#4513: " David Reitter
@ 2009-09-22 20:55     ` David Reitter
  2009-09-22 21:24       ` David Reitter
  0 siblings, 1 reply; 6+ messages in thread
From: David Reitter @ 2009-09-22 20:55 UTC (permalink / raw)
  To: Adrian Robert; +Cc: 4513

[-- Attachment #1: Type: text/plain, Size: 3061 bytes --]

Further to this:

When building the master branch [based Aquamacs] on 10.5, it will run  
without menu problems on 10.6.
The application menu is present and all menus are visible.

When run on 10.5.8, submenus are missing.

Inspecting this with the Accessibility Inspector, I see that  
AXChildren of the submenu is size 11 for the applications menu,  but 1  
for the File / Edit etc. menus.


On Sep 22, 2009, at 2:59 PM, David Reitter wrote:

> Erratum: s/master branch/23.1 branch/
>
> On Sep 22, 2009, at 2:57 PM, David Reitter wrote:
>
>> Further to this, here's another menu bug:
>>
>> I see that the submenus (except for the application) menu are  
>> missing in 23.1 based builds made on 10.5 and run on 10.5.  That  
>> is, only the titles show, but not the menus.
>>
>> The bug is not a recent regression in Emacs - even a build from  
>> back in April shows this.
>> See also the bug report we got from a user, who had similar trouble  
>> in 10.5.  A reasonable hypothesis here is that it is a late point- 
>> release of 10.5 causing this.
>>
>> The master branch built on 10.5 shows missing submenus (just  
>> titles) when run on 10.5.
>> When run on 10.6 it works fine and has no problems.
>>
>> I have tried moving menu-bar.el loading around in loadup.el just in  
>> case this is an artifact of some dumping / pure-space problem.
>> I'm puzzled...
>>
>>
>> PS: As for the bug with the collapsed applications menu: even a  
>> 23.1 build (with Yamamoto's Aug 28 patch applied), made on 10.6  
>> (and 32 bit) shows the problem.  I
>> I can't make the File menu appear by removing the define-key global- 
>> map [menu-bar] ... expression from ns-win in this case.
>>
>>
>>
>> Begin forwarded message:
>>
>>> From: Jean-Philippe SCHILLE <jp.schille@sentesoftware.co.uk>
>>> Date: September 1, 2009 10:13:00 AM EDT
>>> To: aquamacs-devel@aquamacs.org
>>> Subject: [Aquamacs-devel] Where are the menu sub-items in Aquamacs  
>>> version 2.
>>> Reply-To: Aquamacs Developers <aquamacs-devel@aquamacs.org>
>>>
>>> Hello,
>>>
>>> For the 2.0 branch versions, I cannot see any sub-items in the  
>>> menu bar.
>>> The Aquamacs item is fine as all expected sub-items (About,  
>>> Check,Services...) are visible but the menu items File Edit  
>>> Options Tools Window Help do not show any sub-item when I click on  
>>> them.
>>>
>>> Everything is fine with Aquamacs Emacs 1.8 though.
>>>
>>> I am running OS X 10.5.8 and I am using the latest X11 version  
>>> 2.4.0 from http://xquartz.macosforge.org/trac/wiki/Releases (I  
>>> wonder if this is the culprit?)
>>>
>>> Thanks in advance for your help and advice.
>>>
>>> Regards,
>>>
>>> Jean-Philippe Schillé
>>> Sente Software Ltd
>>> 40 Occam Road
>>> Guildford GU2 7YG
>>> United-Kingdom
>>> www.sentesoftware.co.uk
>>>
>>> _______________________________________________
>>> Aquamacs-devel mailing list
>>> Aquamacs-devel@aquamacs.org
>>> http://lists.aquamacs.org/mailman/listinfo.cgi/aquamacs-devel
>>
>


[-- Attachment #2: smime.p7s --]
[-- Type: application/pkcs7-signature, Size: 2193 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#4513: [Aquamacs-devel] Where are the menu sub-items in Aquamacs version 2.
  2009-09-22 20:55     ` David Reitter
@ 2009-09-22 21:24       ` David Reitter
       [not found]         ` <78963EF6-992A-49BE-A729-39485A2238EE@gmail.com>
  0 siblings, 1 reply; 6+ messages in thread
From: David Reitter @ 2009-09-22 21:24 UTC (permalink / raw)
  To: 4513; +Cc: Adrian Robert

[-- Attachment #1: Type: text/plain, Size: 3494 bytes --]

And one more bit of information:  the missing menu issue only occurs  
when I run Emacs in VNC (Apple's VNC).  When I run it locally, 10.5.8  
poses no problems.

So let's split this issue from 4513, which is about the mangle  
applications menu when compiling on 10.6


On Sep 22, 2009, at 4:55 PM, David Reitter wrote:

> Further to this:
>
> When building the master branch [based Aquamacs] on 10.5, it will  
> run without menu problems on 10.6.
> The application menu is present and all menus are visible.
>
> When run on 10.5.8, submenus are missing.
>
> Inspecting this with the Accessibility Inspector, I see that  
> AXChildren of the submenu is size 11 for the applications menu,  but  
> 1 for the File / Edit etc. menus.
>
>
> On Sep 22, 2009, at 2:59 PM, David Reitter wrote:
>
>> Erratum: s/master branch/23.1 branch/
>>
>> On Sep 22, 2009, at 2:57 PM, David Reitter wrote:
>>
>>> Further to this, here's another menu bug:
>>>
>>> I see that the submenus (except for the application) menu are  
>>> missing in 23.1 based builds made on 10.5 and run on 10.5.  That  
>>> is, only the titles show, but not the menus.
>>>
>>> The bug is not a recent regression in Emacs - even a build from  
>>> back in April shows this.
>>> See also the bug report we got from a user, who had similar  
>>> trouble in 10.5.  A reasonable hypothesis here is that it is a  
>>> late point-release of 10.5 causing this.
>>>
>>> The master branch built on 10.5 shows missing submenus (just  
>>> titles) when run on 10.5.
>>> When run on 10.6 it works fine and has no problems.
>>>
>>> I have tried moving menu-bar.el loading around in loadup.el just  
>>> in case this is an artifact of some dumping / pure-space problem.
>>> I'm puzzled...
>>>
>>>
>>> PS: As for the bug with the collapsed applications menu: even a  
>>> 23.1 build (with Yamamoto's Aug 28 patch applied), made on 10.6  
>>> (and 32 bit) shows the problem.  I
>>> I can't make the File menu appear by removing the define-key  
>>> global-map [menu-bar] ... expression from ns-win in this case.
>>>
>>>
>>>
>>> Begin forwarded message:
>>>
>>>> From: Jean-Philippe SCHILLE <jp.schille@sentesoftware.co.uk>
>>>> Date: September 1, 2009 10:13:00 AM EDT
>>>> To: aquamacs-devel@aquamacs.org
>>>> Subject: [Aquamacs-devel] Where are the menu sub-items in  
>>>> Aquamacs version 2.
>>>> Reply-To: Aquamacs Developers <aquamacs-devel@aquamacs.org>
>>>>
>>>> Hello,
>>>>
>>>> For the 2.0 branch versions, I cannot see any sub-items in the  
>>>> menu bar.
>>>> The Aquamacs item is fine as all expected sub-items (About,  
>>>> Check,Services...) are visible but the menu items File Edit  
>>>> Options Tools Window Help do not show any sub-item when I click  
>>>> on them.
>>>>
>>>> Everything is fine with Aquamacs Emacs 1.8 though.
>>>>
>>>> I am running OS X 10.5.8 and I am using the latest X11 version  
>>>> 2.4.0 from http://xquartz.macosforge.org/trac/wiki/Releases (I  
>>>> wonder if this is the culprit?)
>>>>
>>>> Thanks in advance for your help and advice.
>>>>
>>>> Regards,
>>>>
>>>> Jean-Philippe Schillé
>>>> Sente Software Ltd
>>>> 40 Occam Road
>>>> Guildford GU2 7YG
>>>> United-Kingdom
>>>> www.sentesoftware.co.uk
>>>>
>>>> _______________________________________________
>>>> Aquamacs-devel mailing list
>>>> Aquamacs-devel@aquamacs.org
>>>> http://lists.aquamacs.org/mailman/listinfo.cgi/aquamacs-devel
>>>
>>
>


[-- Attachment #2: smime.p7s --]
[-- Type: application/pkcs7-signature, Size: 2193 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#4513: [Aquamacs-devel] Where are the menu sub-items in Aquamacs version 2.
       [not found]         ` <78963EF6-992A-49BE-A729-39485A2238EE@gmail.com>
@ 2009-09-22 23:05           ` David Reitter
  2009-09-23  6:30             ` CHENG Gao
  0 siblings, 1 reply; 6+ messages in thread
From: David Reitter @ 2009-09-22 23:05 UTC (permalink / raw)
  To: Adrian Robert; +Cc: 4513


[-- Attachment #1.1: Type: text/plain, Size: 416 bytes --]

On Sep 22, 2009, at 6:35 PM, Adrian Robert wrote:
>> So let's split this issue from 4513, which is about the mangle  
>> applications menu when compiling on 10.6
>
> Or absent File menu you mean.  It seems strange that only File and  
> not all others are affected...

I think it just grabs the first menu available and sticks it into the  
application menu.  Hence "mangled".  Attaching screenshot to illustrate.



[-- Attachment #1.2: PastedGraphic-3.png --]
[-- Type: image/png, Size: 18250 bytes --]

[-- Attachment #1.3: Type: text/plain, Size: 987 bytes --]




> Regarding the event loop crashes, I looked at the code a bit and I  
> can't see where anything is wrong with the timer handling.  Emacs  
> should be running with one thread, so add scheduling and  
> invalidation should be correct.  Can you remember if a common factor  
> in the crashes is the use of one or more popup dialogs during the  
> run prior to the crash?  The only thing I can think of here is that  
> there could be some funny business with the modal and nonmodal run  
> loops.  Otherwise, you could try uncommenting the assertion in  
> ns_select().


Note that all of the crashes occurred with 23.1, but I don't think  
you've changed / fixed anything in that area since then -?

As a common factor I can only say that I wasn't doing anything on the  
Emacs side.  I actually remember working with other apps and maybe  
switching back to an Emacs window.

I've added an assert() (in the Aquamacs master branch).  Maybe we'll  
get some bug reports this way.

- D

[-- Attachment #2: smime.p7s --]
[-- Type: application/pkcs7-signature, Size: 2193 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#4513: [Aquamacs-devel] Where are the menu sub-items in Aquamacs version 2.
  2009-09-22 23:05           ` David Reitter
@ 2009-09-23  6:30             ` CHENG Gao
  0 siblings, 0 replies; 6+ messages in thread
From: CHENG Gao @ 2009-09-23  6:30 UTC (permalink / raw)
  To: bug-gnu-emacs

*On Tue, 22 Sep 2009 19:05:44 -0400
* Also sprach David Reitter <david.reitter@gmail.com>:

> On Sep 22, 2009, at 6:35 PM, Adrian Robert wrote:
>>> So let's split this issue from 4513, which is about the mangle
>>> applications menu when compiling on 10.6
>>
>> Or absent File menu you mean.  It seems strange that only File and
>> not all others are affected...
>
> I think it just grabs the first menu available and sticks it into the
> application menu.  Hence "mangled".  Attaching screenshot to
> illustrate.

As I know it's 10.6 SDK specific problem. The first menu is treated
magically. I saw some workarounds to overcome this  in cocoa-dev mailing
list. I found it[1] via googling.

Footnotes: 
[1]  http://osdir.com/ml/cocoa-dev/2009-09/msg00347.html








^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2009-09-23  6:30 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <4A9D2BEC.1080008@sentesoftware.co.uk>
2009-09-22 18:57 ` bug#4513: Fwd: [Aquamacs-devel] Where are the menu sub-items in Aquamacs version 2 David Reitter
2009-09-22 18:59   ` bug#4513: " David Reitter
2009-09-22 20:55     ` David Reitter
2009-09-22 21:24       ` David Reitter
     [not found]         ` <78963EF6-992A-49BE-A729-39485A2238EE@gmail.com>
2009-09-22 23:05           ` David Reitter
2009-09-23  6:30             ` CHENG Gao

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).