MacMenubarPlugin does not work on Cog?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

MacMenubarPlugin does not work on Cog?

Mariano Martinez Peck
 
Hi. I am testing a Pharo image from here: https://pharo-ic.lille.inria.fr/hudson/job/Pharo%201.2/lastSuccessfulBuild/artifact/Pharo-1.2.zip

and the Mac host menu doesn't appear at all. I checked with

SmalltalkImage current listLoadedModules
SmalltalkImage current listBuiltinModules

and MacMenubarPlugin is included. However, evaluating "HostSystemMenusMacOSX new "   will throw a 'primDeleteMenu: failed'

Why the image doesn't throw any error???  Look in

HostSystemMenus >> startUp: resuming
    resuming ifFalse: [^self].
    self clearDefault.
    [self setDefaultMenuProxyClass] ifError: [].

So....indeed, setDefaultMenuProxyClass is throwing an error...but we are puting it under the carpet.

Anyway, does someone know why this is not working in Cog?  because In the standard VM in works perfect.

Cheers

Mariano
Reply | Threaded
Open this post in threaded view
|

Re: MacMenubarPlugin does not work on Cog?

EstebanLM
 
no, it does not work :)
it will work with Cocoa Cog, but not plain Cog... and it will be present in next Cocoa Cog build (not yet), not in 5.8b12.

El 21/01/2011, a las 6:42a.m., Mariano Martinez Peck escribió:

Hi. I am testing a Pharo image from here: https://pharo-ic.lille.inria.fr/hudson/job/Pharo%201.2/lastSuccessfulBuild/artifact/Pharo-1.2.zip

and the Mac host menu doesn't appear at all. I checked with

SmalltalkImage current listLoadedModules
SmalltalkImage current listBuiltinModules

and MacMenubarPlugin is included. However, evaluating "HostSystemMenusMacOSX new "   will throw a 'primDeleteMenu: failed'

Why the image doesn't throw any error???  Look in

HostSystemMenus >> startUp: resuming
    resuming ifFalse: [^self].
    self clearDefault.
    [self setDefaultMenuProxyClass] ifError: [].

So....indeed, setDefaultMenuProxyClass is throwing an error...but we are puting it under the carpet.

Anyway, does someone know why this is not working in Cog?  because In the standard VM in works perfect.

Cheers

Mariano

Reply | Threaded
Open this post in threaded view
|

Re: MacMenubarPlugin does not work on Cog?

Mariano Martinez Peck
 


On Fri, Jan 21, 2011 at 1:42 PM, Esteban Lorenzano <[hidden email]> wrote:
 
no, it does not work :)
it will work with Cocoa Cog, but not plain Cog... and it will be present in next Cocoa Cog build (not yet), not in 5.8b12.


Ok, so, let me know so that we know what to do with issue: http://code.google.com/p/pharo/issues/detail?id=3465
 
El 21/01/2011, a las 6:42a.m., Mariano Martinez Peck escribió:

Hi. I am testing a Pharo image from here: https://pharo-ic.lille.inria.fr/hudson/job/Pharo%201.2/lastSuccessfulBuild/artifact/Pharo-1.2.zip

and the Mac host menu doesn't appear at all. I checked with

SmalltalkImage current listLoadedModules
SmalltalkImage current listBuiltinModules

and MacMenubarPlugin is included. However, evaluating "HostSystemMenusMacOSX new "   will throw a 'primDeleteMenu: failed'

Why the image doesn't throw any error???  Look in

HostSystemMenus >> startUp: resuming
    resuming ifFalse: [^self].
    self clearDefault.
    [self setDefaultMenuProxyClass] ifError: [].

So....indeed, setDefaultMenuProxyClass is throwing an error...but we are puting it under the carpet.

Anyway, does someone know why this is not working in Cog?  because In the standard VM in works perfect.

Cheers

Mariano