Open Mees0x4E opened 5 years ago
@hetSmiecht Very interesting, I am able to replicate this behavior. I'm not sure if I'll be able to fix this now, but I'll definitely look into it when I get the chance.
For me, if I have the phone orientation locked (to portrait but that shouldn't matter), I don't experience this bug because APDE doesn't re-open in a different orientation. (If you want your sketch to run in landscape, you can set that from "locked orientation" in sketch properties.) This isn't ideal, but it might help you right now until I fix the bug.
Print() and println() don't print anything to the console if you change your orientation. How to recreate it: 1. Create any program that uses print() or println(). For example:
void draw() { println(frameCount); }
2. Compile and run it (doesn't matter whether you use 'app' or 'preview'). It should automatically open your program. 3. Double tap the home button to see the list of recent apps 4. Rotate your phone, so it's in the other orientation then APDE was in step 2 (if it was in portrait mode, change it to landscape, and vice versa), and wait untill your screen rotates. 5. Open APDE from the list of recent apps.
What I expected: In the console I'll see some information about the building process, and what I wanted my sketch to print.
What happened: I only see some information about the building process in the console, and sometimes the first part of what I wanted to print.