pharo-users@lists.pharo.org

Any question about pharo is welcome

View all threads

How can I remove an item on the main Pharo menu left over by a Roassal installation?

V
vfclists
Fri, Jun 28, 2024 10:07 AM

After an attempt to install Roassal a persistent menu item has been to the
top level of the image's menu.

The menu label is Load full version and after searching the image it is
coming from a RSWorldMenu menu06LoadFullVersionOn method which triggers
the RSWorldMenu loadFullVersion event.

How do I remove this element from the main menu object which I suspect
might fix the problem?

--
Frank Church

After an attempt to install Roassal a persistent menu item has been to the top level of the image's menu. The menu label is `Load full version` and after searching the image it is coming from a `RSWorldMenu menu06LoadFullVersionOn` method which triggers the `RSWorldMenu loadFullVersion` event. How do I remove this element from the main menu object which I suspect might fix the problem? -- Frank Church
NB
Noury Bouraqadi
Fri, Jun 28, 2024 11:34 AM

Remove the <worldMenu> pragma form the method in charge of creating your menu.

Looking at senders of worldMenu lists all methods that create such menus.
Noury

On Jun 28 2024, at 12:07 pm, vfclists vfclists@gmail.com wrote:

After an attempt to install Roassal a persistent menu item has been to the top level of the image's menu.

The menu label is Load full version and after searching the image it is coming from a RSWorldMenu menu06LoadFullVersionOn method which triggers the RSWorldMenu loadFullVersion event.
How do I remove this element from the main menu object which I suspect might fix the problem?

Frank Church

Remove the <worldMenu> pragma form the method in charge of creating your menu. Looking at senders of worldMenu lists all methods that create such menus. Noury On Jun 28 2024, at 12:07 pm, vfclists <vfclists@gmail.com> wrote: > After an attempt to install Roassal a persistent menu item has been to the top level of the image's menu. > > The menu label is `Load full version` and after searching the image it is coming from a `RSWorldMenu menu06LoadFullVersionOn` method which triggers the `RSWorldMenu loadFullVersion` event. > How do I remove this element from the main menu object which I suspect might fix the problem? > -- > Frank Church > >
V
vfclists
Fri, Jun 28, 2024 2:49 PM

On Fri, 28 Jun 2024 at 12:34, Noury Bouraqadi bouraqadi@gmail.com wrote:

Remove the <worldMenu>  pragma form the method in charge of creating your
menu.

Looking at senders of worldMenu  lists all methods that create such menus.

Noury

On Jun 28 2024, at 12:07 pm, vfclists vfclists@gmail.com wrote:

After an attempt to install Roassal a persistent menu item has been to the
top level of the image's menu.

The menu label is Load full version and after searching the image it is
coming from a RSWorldMenu menu06LoadFullVersionOn method which triggers
the RSWorldMenu loadFullVersion event.

How do I remove this element from the main menu object which I suspect
might fix the problem?

--
Frank Church

Shouldn't there be some setting that causes the Roassal menu to be
triggered?

Isn't there some option to stop that menu from being called.

My assumption is that there is some variable or setting persisting between
sessions that was created by the Roassal code during installation or
execution and simply has to be unset.

Modifying library code is not something I'm keen on.

--
Frank Church

On Fri, 28 Jun 2024 at 12:34, Noury Bouraqadi <bouraqadi@gmail.com> wrote: > Remove the <worldMenu> pragma form the method in charge of creating your > menu. > > Looking at senders of worldMenu lists all methods that create such menus. > > Noury > > > On Jun 28 2024, at 12:07 pm, vfclists <vfclists@gmail.com> wrote: > > After an attempt to install Roassal a persistent menu item has been to the > top level of the image's menu. > > The menu label is `Load full version` and after searching the image it is > coming from a `RSWorldMenu menu06LoadFullVersionOn` method which triggers > the `RSWorldMenu loadFullVersion` event. > > How do I remove this element from the main menu object which I suspect > might fix the problem? > > -- > Frank Church > > Shouldn't there be some setting that causes the Roassal menu to be triggered? Isn't there some option to stop that menu from being called. My assumption is that there is some variable or setting persisting between sessions that was created by the Roassal code during installation or execution and simply has to be unset. Modifying library code is not something I'm keen on. -- Frank Church
RD
Renaud de Villemeur
Fri, Jun 28, 2024 6:00 PM

The <worldMenu> pragma is automatically scanned by Pharo World, and identified item are then picked and displayed. This makes it easy to add custom menu item while loading external project. The downside is that unless you want to disable completely this mechanism, you need to remove this simple pragma from Roassal library to get thie menu entry removed (or remove Roassal from your image).

This won't have any impact on Roassal code or code in your image. It'll simply remove this method from the list for <worldMenu> item. 

Renaud

28 juin 2024, 10 h 49 de vfclists@gmail.com:

On Fri, 28 Jun 2024 at 12:34, Noury Bouraqadi <> bouraqadi@gmail.com> > wrote:

Remove the >> <worldMenu>>>   pragma form the method in charge of creating your menu.

Looking at senders of >> worldMenu>>   lists all methods that create such menus.

Noury
 

On Jun 28 2024, at 12:07 pm, vfclists <>> vfclists@gmail.com>> > wrote:

After an attempt to install Roassal a persistent menu item has been to the top level of the image's menu.

The menu label is Load full version and after searching the image it is coming from a RSWorldMenu menu06LoadFullVersionOn method which triggers the RSWorldMenu loadFullVersion event.

How do I remove this element from the main menu object which I suspect might fix the problem?

--
Frank Church

Shouldn't there be some setting that causes the Roassal menu to be triggered?

Isn't there some option to stop that menu from being called.

My assumption is that there is some variable or setting persisting between sessions that was created by the Roassal code during installation or execution and simply has to be unset.

Modifying library code is not something I'm keen on.

--
Frank Church

The <worldMenu> pragma is automatically scanned by Pharo World, and identified item are then picked and displayed. This makes it easy to add custom menu item while loading external project. The downside is that unless you want to disable completely this mechanism, you need to remove this simple pragma from Roassal library to get thie menu entry removed (or remove Roassal from your image). This won't have any impact on Roassal code or code in your image. It'll simply remove this method from the list for <worldMenu> item.  Renaud 28 juin 2024, 10 h 49 de vfclists@gmail.com: > > > On Fri, 28 Jun 2024 at 12:34, Noury Bouraqadi <> bouraqadi@gmail.com> > wrote: > >> Remove the >> <worldMenu>>>   pragma form the method in charge of creating your menu. >> >> Looking at senders of >> worldMenu>>   lists all methods that create such menus. >> >> Noury >>   >> >> On Jun 28 2024, at 12:07 pm, vfclists <>> vfclists@gmail.com>> > wrote: >> >>> After an attempt to install Roassal a persistent menu item has been to the top level of the image's menu. >>> >>> The menu label is `Load full version` and after searching the image it is coming from a `RSWorldMenu menu06LoadFullVersionOn` method which triggers the `RSWorldMenu loadFullVersion` event. >>> >>> How do I remove this element from the main menu object which I suspect might fix the problem? >>> >>> -- >>> Frank Church >>> > Shouldn't there be some setting that causes the Roassal menu to be triggered? > > Isn't there some option to stop that menu from being called. > > My assumption is that there is some variable or setting persisting between sessions that was created by the Roassal code during installation or execution and simply has to be unset. > > Modifying library code is not something I'm keen on. > > -- > Frank Church >
V
vfclists
Fri, Jun 28, 2024 7:00 PM

On Fri, 28 Jun 2024 at 19:00, Renaud de Villemeur via Pharo-users <
pharo-users@lists.pharo.org> wrote:

The <worldMenu> pragma is automatically scanned by Pharo World, and
identified item are then picked and displayed. This makes it easy to add
custom menu item while loading external project. The downside is that
unless you want to disable completely this mechanism, you need to remove
this simple pragma from Roassal library to get thie menu entry removed (or
remove Roassal from your image).

This won't have any impact on Roassal code or code in your image. It'll
simply remove this method from the list for <worldMenu> item.

Renaud

28 juin 2024, 10 h 49 de vfclists@gmail.com:

On Fri, 28 Jun 2024 at 12:34, Noury Bouraqadi bouraqadi@gmail.com wrote:

Remove the <worldMenu>  pragma form the method in charge of creating your
menu.

Looking at senders of worldMenu  lists all methods that create such menus.

Noury

On Jun 28 2024, at 12:07 pm, vfclists vfclists@gmail.com wrote:

After an attempt to install Roassal a persistent menu item has been to the
top level of the image's menu.

The menu label is Load full version and after searching the image it is
coming from a RSWorldMenu menu06LoadFullVersionOn method which triggers
the RSWorldMenu loadFullVersion event.

How do I remove this element from the main menu object which I suspect
might fix the problem?

--
Frank Church

Shouldn't there be some setting that causes the Roassal menu to be
triggered?

Isn't there some option to stop that menu from being called.

My assumption is that there is some variable or setting persisting between
sessions that was created by the Roassal code during installation or
execution and simply has to be unset.

Modifying library code is not something I'm keen on.

--
Frank Church

I have seen another example when its execution is made conditional by
having a flat adde to the menu code -
https://stackoverflow.com/questions/43021482/how-can-i-edit-the-worldmenu-in-pharo
.

From what I understand pragmas are somewhat related to compiled methods.
Could it be that the menu is out of date but needs recompilation to remove
this?

I can't see the logic of this menu item still being present if the
necessary libraries have been loaded. Roassal seems to be working fine.

Do all Roassal users experience this menu item?

--
Frank Church

=======================
http://devblog.brahmancreations.com

On Fri, 28 Jun 2024 at 19:00, Renaud de Villemeur via Pharo-users < pharo-users@lists.pharo.org> wrote: > The <worldMenu> pragma is automatically scanned by Pharo World, and > identified item are then picked and displayed. This makes it easy to add > custom menu item while loading external project. The downside is that > unless you want to disable completely this mechanism, you need to remove > this simple pragma from Roassal library to get thie menu entry removed (or > remove Roassal from your image). > > This won't have any impact on Roassal code or code in your image. It'll > simply remove this method from the list for <worldMenu> item. > > Renaud > > > > 28 juin 2024, 10 h 49 de vfclists@gmail.com: > > > > On Fri, 28 Jun 2024 at 12:34, Noury Bouraqadi <bouraqadi@gmail.com> wrote: > > Remove the <worldMenu> pragma form the method in charge of creating your > menu. > > Looking at senders of worldMenu lists all methods that create such menus. > > Noury > > > On Jun 28 2024, at 12:07 pm, vfclists <vfclists@gmail.com> wrote: > > After an attempt to install Roassal a persistent menu item has been to the > top level of the image's menu. > > The menu label is `Load full version` and after searching the image it is > coming from a `RSWorldMenu menu06LoadFullVersionOn` method which triggers > the `RSWorldMenu loadFullVersion` event. > > How do I remove this element from the main menu object which I suspect > might fix the problem? > > -- > Frank Church > > Shouldn't there be some setting that causes the Roassal menu to be > triggered? > > Isn't there some option to stop that menu from being called. > > My assumption is that there is some variable or setting persisting between > sessions that was created by the Roassal code during installation or > execution and simply has to be unset. > > Modifying library code is not something I'm keen on. > > -- > Frank Church > > > I have seen another example when its execution is made conditional by having a flat adde to the menu code - https://stackoverflow.com/questions/43021482/how-can-i-edit-the-worldmenu-in-pharo . From what I understand pragmas are somewhat related to compiled methods. Could it be that the menu is out of date but needs recompilation to remove this? I can't see the logic of this menu item still being present if the necessary libraries have been loaded. Roassal seems to be working fine. Do all Roassal users experience this menu item? -- Frank Church ======================= http://devblog.brahmancreations.com