Enable OSX menubar

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

Enable OSX menubar

Maarten Mostert-2
Hi,

In Yosemite the following method in MacOSXSystemSupport seems broken.


primActivateMenuItem: tagNumber state: aBooleanOrNil
        "MacOS X only primitve!
        Set the state of the menubar item with tagNumber to aBooleanOrNil, that is on, off, or default.
        As soon as the menu item is enabled, menu events are generated by this item.
        Setting the menu item state to nil will restore the original state of the menu.
        Returns a boolean, telling you its activation state before the call."

        <primitive: 778>
        ^self primitiveFailed


Regards,

@+Maarten,
_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc
Reply | Threaded
Open this post in threaded view
|

Re: Enable OSX menubar

Steven Kelly
Seem to work for us. We use VW 7.7.1 with 7.9 VM and MEMacOSXCommandKey:
http://www.cincomsmalltalk.com/publicRepository/MEMacOSXCommandKey.html
http://forum.world.st/Command-key-processing-on-Mac-OS-X-td4644842.html

Share and enjoy,
Steve

> -----Original Message-----
> From: [hidden email] [mailto:[hidden email]] On
> Behalf Of Maarten Mostert
> Sent: Wednesday, December 3, 2014 9:55 AM
> To: VW NC
> Subject: [vwnc] Enable OSX menubar
>
> Hi,
>
> In Yosemite the following method in MacOSXSystemSupport seems broken.
>
>
> primActivateMenuItem: tagNumber state: aBooleanOrNil
> "MacOS X only primitve!
> Set the state of the menubar item with tagNumber to
> aBooleanOrNil, that is on, off, or default.
> As soon as the menu item is enabled, menu events are
> generated by this item.
> Setting the menu item state to nil will restore the original
> state of the menu.
> Returns a boolean, telling you its activation state before
> the call."
>
> <primitive: 778>
> ^self primitiveFailed
>
>
> Regards,
>
> @+Maarten,
> _______________________________________________
> vwnc mailing list
> [hidden email]
> http://lists.cs.uiuc.edu/mailman/listinfo/vwnc

_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc
Reply | Threaded
Open this post in threaded view
|

Re: Enable OSX menubar

bqueyras
In reply to this post by Maarten Mostert-2
The server has rejected your mail. This address does not exist any more



_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc
Reply | Threaded
Open this post in threaded view
|

Re: Enable OSX menubar

Maarten Mostert-2
In reply to this post by Steven Kelly
Thanks Steve, I’ll be checking this out.
I use 8.0 and cannot even Quit VW from its original .nib file.

Regards,

@+Maarten,

> On 03 Dec 2014, at 10:35, Steven Kelly <[hidden email]> wrote:
>
> Seem to work for us. We use VW 7.7.1 with 7.9 VM and MEMacOSXCommandKey:
> http://www.cincomsmalltalk.com/publicRepository/MEMacOSXCommandKey.html
> http://forum.world.st/Command-key-processing-on-Mac-OS-X-td4644842.html
>
> Share and enjoy,
> Steve
>
>> -----Original Message-----
>> From: [hidden email] [mailto:[hidden email]] On
>> Behalf Of Maarten Mostert
>> Sent: Wednesday, December 3, 2014 9:55 AM
>> To: VW NC
>> Subject: [vwnc] Enable OSX menubar
>>
>> Hi,
>>
>> In Yosemite the following method in MacOSXSystemSupport seems broken.
>>
>>
>> primActivateMenuItem: tagNumber state: aBooleanOrNil
>> "MacOS X only primitve!
>> Set the state of the menubar item with tagNumber to
>> aBooleanOrNil, that is on, off, or default.
>> As soon as the menu item is enabled, menu events are
>> generated by this item.
>> Setting the menu item state to nil will restore the original
>> state of the menu.
>> Returns a boolean, telling you its activation state before
>> the call."
>>
>> <primitive: 778>
>> ^self primitiveFailed
>>
>>
>> Regards,
>>
>> @+Maarten,
>> _______________________________________________
>> vwnc mailing list
>> [hidden email]
>> http://lists.cs.uiuc.edu/mailman/listinfo/vwnc
>
> _______________________________________________
> vwnc mailing list
> [hidden email]
> http://lists.cs.uiuc.edu/mailman/listinfo/vwnc


_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc
Reply | Threaded
Open this post in threaded view
|

Re: Enable OSX menubar

Steven Kelly
Looking at ars.txt, 7.10 says it has addressed the main issues I reported and
made these workaround packages for:

MEMacOSXCommandKey:
66045 GUI: OS X command+key combinations not reaching VI
66321 VM: OS X command+key combinations not reaching VI
66322 VM: Keydown events from the VM should include the unmodified (and
unshifted) character as the 'alternative' value on OS X and Windows

MEMacOSXLucidaGrande:
66574 OS X system font Lucida Grande has incorrect character widths.

MEMacOSXFont:
66221 Add string measuring primitives
66639 Add methods to use the new Font Display/Measure primitives
- I don't see ARs for my fixes for font matching, so they may still be valid

I don't see anything obvious in ars.txt for 7.10.1 or 8.0 with respect to
MEMacOSXCommandKey, but MEMacOSXLucidaGrande and MEMacOSXFont are probably
rendered even less necessary/valid by 8.0's fuller implementation of Skinning
and Text2.

Steve

> -----Original Message-----
> From: [hidden email] [mailto:[hidden email]] On
> Behalf Of Maarten Mostert
> Sent: Wednesday, December 3, 2014 12:01 PM
> To: VW NC
> Subject: Re: [vwnc] Enable OSX menubar
>
> Thanks Steve, I’ll be checking this out.
> I use 8.0 and cannot even Quit VW from its original .nib file.
>
> Regards,
>
> @+Maarten,
>
> > On 03 Dec 2014, at 10:35, Steven Kelly <[hidden email]> wrote:
> >
> > Seem to work for us. We use VW 7.7.1 with 7.9 VM and
> MEMacOSXCommandKey:
> >
> http://www.cincomsmalltalk.com/publicRepository/MEMacOSXCommandKey.html
> > http://forum.world.st/Command-key-processing-on-Mac-OS-X-
> td4644842.html
> >
> > Share and enjoy,
> > Steve
> >
> >> -----Original Message-----
> >> From: [hidden email] [mailto:[hidden email]] On
> >> Behalf Of Maarten Mostert
> >> Sent: Wednesday, December 3, 2014 9:55 AM
> >> To: VW NC
> >> Subject: [vwnc] Enable OSX menubar
> >>
> >> Hi,
> >>
> >> In Yosemite the following method in MacOSXSystemSupport seems broken.
> >>
> >>
> >> primActivateMenuItem: tagNumber state: aBooleanOrNil
> >> "MacOS X only primitve!
> >> Set the state of the menubar item with tagNumber to
> >> aBooleanOrNil, that is on, off, or default.
> >> As soon as the menu item is enabled, menu events are
> >> generated by this item.
> >> Setting the menu item state to nil will restore the original
> >> state of the menu.
> >> Returns a boolean, telling you its activation state before
> >> the call."
> >>
> >> <primitive: 778>
> >> ^self primitiveFailed
> >>
> >>
> >> Regards,
> >>
> >> @+Maarten,
> >> _______________________________________________
> >> vwnc mailing list
> >> [hidden email]
> >> http://lists.cs.uiuc.edu/mailman/listinfo/vwnc
> >
> > _______________________________________________
> > vwnc mailing list
> > [hidden email]
> > http://lists.cs.uiuc.edu/mailman/listinfo/vwnc
>
>
> _______________________________________________
> vwnc mailing list
> [hidden email]
> http://lists.cs.uiuc.edu/mailman/listinfo/vwnc

_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc