pharo
pharo copied to clipboard
Context menu in playground has two different ‘Do it’ items
In Pharo 13 build 262, the context menu in a playground (see screenshot below) has two items labelled ‘Do it’ and they behave differently: the first ‘Do it’ item evaluates the current selection without showing the result, while the ‘Do it’ item in the ‘Playground’ submenu selects and evaluates the entire contents of the playground and shows the result in an embedded inspector. The items should at least have different labels.
The items also have the same icon, which moreover is used for other items in the menu as well, namely ‘Do it and go’ and ‘Print it’. I would suggest to limit the use of the icon in the menu to the item corresponding to the toolbar button with the same icon: the ‘Do it’ item in the ‘Playground’ submenu. The other items should either not have an icon or have a different one. Note that the setting ‘Toolbar display mode’ can be set to only display the icons.
The ‘Do it and go’ menu item may appear to be a duplicate of the second ‘Do it’ item because it also shows the result in an embedded inspector but it differs in that it does not select the entire contents of the playground.
Somewhat related issues: issue #17188 because of my remark about the items in the ‘Browse’ submenu all having the same icon, and issue #17104 because of a similar remark in the first bullet point.
Screenshot: