pharo
pharo copied to clipboard
Browsing implementors/senders from source code editors doesn't browse expected selector
Bug description
In the screen recording, I want to browse implementors of #readParametersFromContext:, but Pharo instead looks for #prepareNewCommand:readParametersFromContext: (which doesn't exist)
It works when explicitly selecting the selector, but it shouldn't be needed
To Reproduce
- Create CmdMenuGroup1, subclass of CmdMenuGroup
- On class side, define
sourceCodeMenuActivation
<classAnnotation>
^ SycSourceCodeMenuActivation
byItemOf: ClyQueryMenuGroup
for: ClySourceCodeContext
- Right click in a source code editor > debug
Version information:
- OS: Windows/Linux
- Version: Pharo-11.0.0+build.95.sha.554b538cd430662e26bd8ae330e02a5743283451 (64 Bit) (and pharo 10)
Interestingly it works if I used they shortcuts (cmd m). And after that it even works via the menu.
Maybe the error leads to some initialisation not done correctly for the menu?
Investigated and fixed. PR pending