processing4 icon indicating copy to clipboard operation
processing4 copied to clipboard

PDE defaults to Android mode on restart despite last mode being Java

Open SableRaf opened this issue 2 years ago • 3 comments

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:

  1. Install Android mode
  2. Close and restart Processing
  3. Switch to Android mode
  4. Close and restart Processing
  5. Switch to Java mode
  6. Close and restart Processing
  7. 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.

SableRaf avatar Jan 23 '23 18:01 SableRaf

Hm, can't reproduce this on either Windows or macOS.

benfry avatar Jan 23 '23 23:01 benfry

Thanks for looking into it! Shall we table this until we have a solution for https://github.com/processing/processing4/issues/647 then?

SableRaf avatar Jan 24 '23 11:01 SableRaf

Sure; hopefully just a weird artifact. Or maybe fixed in the source with all the other changes in the pipeline.

benfry avatar Jan 24 '23 13:01 benfry