PDE defaults to Android mode on restart despite last mode being Java
Description
When opening Processing, the PDE defaults to Android mode even though the last mode used was Java.
Expected Behavior
The PDE should default to the last mode used, which in this case is Java mode.
Current Behavior
When Processing is closed and started again, the PDE defaults to Android mode even though the last mode used was Java.
Steps to Reproduce
Not entirely sure how to reproduce the issue but this would be a reasonable approximation of how I got into this situation:
- Install Android mode
- Close and restart Processing
- Switch to Android mode
- Close and restart Processing
- Switch to Java mode
- Close and restart Processing
- Observe that Processing opens in Android mode
Your Environment
- Processing version: 4.1.2
- Operating System and OS version: Windows 10
- Other information: Android mode 4.5.0b4
Possible Causes / Solutions
This may be related to this other issue when updating the Android mode.
Hm, can't reproduce this on either Windows or macOS.
Thanks for looking into it! Shall we table this until we have a solution for https://github.com/processing/processing4/issues/647 then?
Sure; hopefully just a weird artifact. Or maybe fixed in the source with all the other changes in the pipeline.