Hi all,
I experimented a bit with the backward compatibility of MVC buttons and found out that menus were broken in them. The attached changeset fixes this. However, you cannot invoke a menu on a button that is nested into another
view. Please find the attached example.
I already found out that in PluggableButtonController >> #isControlWanted, sensor anyButtonPressed returns false when it should return true. Crazily, the bug does not occur when having a transcript open and logging things to it directly before the
sensor call.
As a side effect, if you enable both buttons in the debug code parallelly, regular clicks on the unnested button won't work at all. I have no idea why is this.
Any help and tips would be great! :-)
Best,
Christoph
Carpe Squeak!