orientationChanged Appears to be Broken in 10.0.0 DP7

If you find an issue in LiveCode but are having difficulty pinning down a reliable recipe or want to sanity-check your findings with others, this is the place.

Please have one thread per issue, and try to summarize the issue concisely in the thread title so others can find related issues here.

Moderator: Klaus

Post Reply
LG73
Posts: 37
Joined: Fri Jun 05, 2009 8:25 am
Contact:

orientationChanged Appears to be Broken in 10.0.0 DP7

Post by LG73 » Mon Dec 18, 2023 10:12 pm

I have a pair of mobile apps I've been developing in the 10.0.0 DP series. DP7 fixed a bug I previously reported where Android background audio could not play a live HE-AACv1 ICY type stream. When I built the standalones for both iOS and Android with DP7, none of the code I had in orientationChanged had any effect. The devices remained on the portrait orientation card.

I was able to work around this issue by moving all my orientation related code to resizeStack. This works great on Android and mostly works on iOS. On my iPhone the app occasionally gets stuck on either the portrait or landscape card and I need to rotate the device between orientations to clean it up. On my Pixel 7 it just works.

If anyone else can verify this is a repeatable bug in 10.0.0 DP7 I'm happy to submit a formal bug report.

Thank you!
Cheers,

Phil
LG73 - Vancouver's Hit Music Mix!
http://www.LG73.ca/

Post Reply