ScreenChangedOrientation problem

19 views
Skip to first unread message

Mattias Kratz

unread,
Aug 29, 2015, 9:00:53 AM8/29/15
to App Inventor Open Source Development


When using ScreenChangedOrientation i get an error.

Image 1: AI2 "construction".

Image 2: Result after startup. (one error due to "fill parent", when used "automatic" it get right 90% of width)
Image 3: Result after one 90 degree flip. Empty screen.
Image 4: Result after another 90 degree flip. Empty screen.

Know "work around" by me is. Config a Clock-delay and run the procedure again after 100-1000 ms then it shows the arrangement again.

Any clues?








Taifun

unread,
Aug 29, 2015, 10:34:00 AM8/29/15
to App Inventor Open Source Development
please ask for help in the programming forum. This one is for developers working with the sources of App Inventor. Thanks! 
Programming forum: https://groups.google.com/forum/#!forum/mitappinventortest 

Taifun


Trying to push the limits of App Inventor! Snippets and Tutorials from Pura Vida Apps by  Taifun.         

Mattias Kratz

unread,
Aug 29, 2015, 3:59:44 PM8/29/15
to App Inventor Open Source Development
I dont think this is a programming issue, i think its a bug with the "ScreenChangedOrientation" or something related after the latest update. Thats why i posted it here.

I have a large app that dont behave good after the last update, thats why i made this example.
My app does not look the same every time i start the same app. The width of "textboxes" within a VerticalArrangement and/or HorizontalArrangment are different every time i start the app. Sometimes it looks "good" (some textboxes width is still incorrect) and sometimes its total chaos with all of the textboxes and the Vertical and HoorizontalArrangment. I have not changes made in the code. I just Close the app and restart it.

This behavior was not in the last version. It has something to do with the last update.

It feels like that if I delay some code it works(worked with my "big" app), but if i put it directly in the "ScreenChangedOrientation" it does not work properly.

Taifun

unread,
Aug 29, 2015, 4:19:51 PM8/29/15
to App Inventor Open Source Development
you also should report bugs in the programming forum...
as already said, this forum is for developers working with the sources of App Inventor. Thanks! 

Mattias Kratz

unread,
Sep 4, 2015, 7:41:37 AM9/4/15
to App Inventor Open Source Development
I´ve been told that this post is in the wrong place. I cant move it myself. Can a admin please help me an move this to the right place (https://groups.google.com/forum/#!categories/mitappinventortest/specific-programming-issue).

Jos Flores

unread,
Sep 4, 2015, 9:07:49 AM9/4/15
to app-inventor-open-source-dev
Hi Mattias, don't worry about moving this post. Feel free to post in the programming forum if you haven't done so yet.


cheers,
José


--
You received this message because you are subscribed to the Google Groups "App Inventor Open Source Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to app-inventor-open-so...@googlegroups.com.
To post to this group, send email to app-inventor-o...@googlegroups.com.
Visit this group at http://groups.google.com/group/app-inventor-open-source-dev.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages