Processing.py-Bugs icon indicating copy to clipboard operation
Processing.py-Bugs copied to clipboard

Help menu options disabled after program is run

Open AndyJudkis opened this issue 6 years ago • 5 comments

When first starting Processing in python mode, the help menu options work fine. After running any program (including an empty one), they are disabled. Toggling from Python to Java and then back to Python seems to re-enable them. Not the end of the world, but a bit of a nuisance when trying to show the reference to new users. Thanks! Andy

AndyJudkis avatar May 30 '19 14:05 AndyJudkis

Hi @AndyJudkis ! Can you give more details? Have you tried on the Java mode to see if it's a global IDE thing? Could you send OS details, Processing IDE version and Python Mode version?

cheers, Alexandre

villares avatar Aug 12 '19 17:08 villares

HI Alexandre, Just verified that it still exists with: Processing 3.5.3 Py mode 3 3056 OS X 10.14.6 I don't see it with the Java version It's simple to reproduce: switch to Python mode, and observe that the help menu works. Click the 'Run' triangle with any program - even an empty program. Check the help menu again, and now everything is disabled.

Hope this is helpful -- thanks for looking into it. cheers, Andy

AndyJudkis avatar Aug 14 '19 02:08 AndyJudkis

I've been poring over the source code of both Processing and Python Mode, and cannot for the life of me find any code that disables the Help menu. If anyone can find it, and point me to it, I'd be much obliged.

jdf avatar Aug 24 '19 21:08 jdf

Even weirder: when I instrument the Help menu, its menu items, and its Actions to crash when disabled, they never crash. And yet they are definitely being disabled by some process. I'm mystified.

jdf avatar Aug 24 '19 21:08 jdf

If I name the menu "Helps" rather than "Help", the problem does not happen. The OS X operating system is disabling all Help menu items in response to who knows what trigger. The Java handles to those menu items have no idea that they're disabled, and cannot do anything about it.

jdf avatar Aug 25 '19 02:08 jdf