Change of orientation while JuceDemo OpenGL Teapot demo [Fixed]


#1

Hi

As before, I'm still developing on  and old Windows 7 machine Eclipse.

Can someone confirm the following happens for them:  Run the JuceDemo -> OpenGL [textured Teapot demo] on a Nexus 5 and old Nexus 7

Change the orentation of the device (turn it through 90 degreed) - The texture goes black... and a crash often occurs soon afterwareds.

 

Ta


#2

Hi,

I cannot observe this on my Nexus 9. However I do observe another bug. Whenever the screen orientation changes, the JUCE Demo jumps back to the "Welcome" page, regardless of what tab (the Teapot or anything else) it was previously showing. (Do you have that, too?)

I'll investigate.


#3

I can confirm this bug on Nexus 5X. I'll investigate...


#4

OK! Both issues (teapot being black on rotate and app restarting on rotate) should be fixed on the latest tip. You will need to re-build the Introjucer and re-introjuce your project to pick up the fix.


#5

No, not the Demo jumping back to the start one! I can't say I've ever noticed the jumping back issue. Ever! Hmm...

Repeatability: I'm glad (from a S/w quality POV) though that someone-else has seen (both) issues.


#6

Good show!

Will build/test tonight :)


#7

I've often wondered (but never bothered to find out) - IF I re-introduce a jucer project, MUST I re-import the project under Eclipse/Visual Studio, or can I continue to use the (already started) project?

 


#8

Under Android Studio you typically have to re-import the gradle file, or at least re-sync with gradle (if you changed some build options). I assume that in eclipse it's similar (although I stayed away from eclipse so far and I'd like to keep it that way ;-).

In Visual Studio typically I can re-introjuce with the solution open. VS will pick up that the project has changed and pop up a dialog box and I just simply click on the reload button.


#9

Yay! Well done, again, guys. Works as expected.

Thanks for the info, Timur