Stopping and starting the app causes a screen distortion

54 views
Skip to first unread message

Carlos Verdier

unread,
May 27, 2019, 9:37:00 AM5/27/19
to CodenameOne Discussions
Hi

I know it sounds weird, but this is what I'm experiencing with my apps. 

Up until now I didn't have the chance to test my apps with a updated decide, as I only had an old iPad Mini with 32 bits architecture.

Everything is fine with this iPad, but not with the new one I just bought. Now when I stop any of my apps and reopen again the screen goes wrong, but if I close and reopen once more, then it renders fine again.

I'm enclosed two videos so you can see the issue.

This is an iPad Mini with iOS 9.3.5:


This is an iPad 2018 with iOS 12.3:


Any idea? Need more info?

Thanks

Shai Almog

unread,
May 28, 2019, 12:13:43 AM5/28/19
to CodenameOne Discussions
Hi,
what build hints do you use?
Is this an old build or a recent build?
Does it use screenshot splash screen?

Carlos Verdier

unread,
May 28, 2019, 4:27:34 AM5/28/19
to CodenameOne Discussions
These are my build hints:

#
#Mon May 27 15:16:05 CEST 2019
codename1.arg.android.debug=false
codename1.arg.ios.NSCameraUsageDescription=Some functionality of the application requires your camera
package=generated
codename1.arg.vserv.scaleMode=false
codename1.arg.j2me.nativeThemeConst=0
codename1.arg.ios.NSCalendarsUsageDescription=We use the device calendar to allow users add a reminder to their preferred events
codename1.arg.ios.project_type=ios
codename1.vendor=CodenameOne
codename1.ios.provision=
userClass=src/userclasses/StateMachine.java
codename1.version=5.79
codename1.arg.javascript.googlemaps.key=*********
codename1.displayName=Viajar con Hijos
codename1.arg.ios.pods.sources=,https\://github.com/CocoaPods/Specs.git
codename1.ios.appid=A63W6TA5FN.es.viajarconhijos.vchmag
codename1.arg.ios.bundleVersion=1.0
userClassAbs=/Users/carlos/NetBeansProjects/Viajar con Hijos/src/userclasses/StateMachine.java
codename1.rim.signtoolCsk=
codename1.arg.ios.locationUsageDescription=Location is needed to discover events related to app content in user's city
codename1.arg.ios.application_exits=false
codename1.ios.certificatePassword=
codename1.description=
codename1.arg.ios.objC=true
codename1.arg.rim.obfuscation=false
baseClass=src/generated/StateMachineBase.java
codename1.arg.vserv.transition=300000
codename1.ios.debug.certificatePassword=*****
codename1.arg.zooz.sandbox=false
codename1.arg.android.playService.maps=true
codename1.arg.gcm.sender_id=******
codename1.arg.ios.prerendered_icon=false
codename1.arg.win.ver=8
codename1.arg.android.xapplication=<meta-data android\:name\="com.google.android.maps.v2.API_KEY" android\:value\="*****************"/>
codename1.ios.release.provision=/Users/carlos/Desktop/DEV4775/Users/imac/Trabajo_Carlos/Documents/Codename/Viajar Con Hijos/Compilacion/ViajarDistribution.mobileprovision
codename1.arg.ios.plistInject=<key>UIStatusBarHidden</key><true/><key>UIViewControllerBasedStatusBarAppearance</key> <false/><key>NSAppTransportSecurity</key><dict><key>NSAllowsArbitraryLoads</key><true/><key>NSAllowsArbitraryLoadsInWebContent</key><true/></dict>
codename1.rim.certificatePassword=
codename1.arg.java.version=8
codename1.ios.debug.certificate=/Users/carlos/Desktop/DEV4775/Users/imac/Trabajo_Carlos/Documents/Codename/CERTIFICADOS_APPLE/CertificadoDevelopment.p12
codename1.arg.ios.testFlight=false
codename1.ios.release.certificatePassword=******
mainForm=Cargando
codename1.arg.ios.themeMode=modern
codename1.secondaryTitle=Viajar con Hijos
codename1.arg.javascript.stopOnErrors=false
codename1.arg.ios.statusbar_hidden=false
codename1.packageName=es.viajarconhijos.vchmag
codename1.arg.android.release=true
codename1.android.keystoreAlias=vchmag
codename1.ios.debug.provision=/Users/carlos/Desktop/DEV4775/Users/imac/Trabajo_Carlos/Documents/Codename/Viajar Con Hijos/Compilacion/ViajarDevelop.mobileprovision
codename1.arg.ios.pods=,GoogleMaps
codename1.arg.ios.add_libs=SystemConfiguration.framework;EventKit.framework
codename1.arg.ios.includePush=true
codename1.arg.android.xpermissions=<uses-permission android\:name\="android.permission.ACCESS_NETWORK_STATE"/> <uses-permission android\:name\="android.permission.READ_CALENDAR"/> <uses-permission android\:name\="android.permission.WRITE_CALENDAR"/> <uses-permission android\:name\="com.google.android.providers.gsf.permission.READ_GSERVICES"/> <uses-feature         android\:glEsVersion\="0x00020000"         android\:required\="true"/><uses-permission android\:name\="android.permission.ACCESS_NETWORK_STATE"/> <uses-permission android\:name\="com.google.android.providers.gsf.permission.READ_GSERVICES"/><uses-feature         android\:glEsVersion\="0x00020000"         android\:required\="true"/>
codename1.arg.ios.pods.platform=,7.0
codename1.icon=icon.png
codename1.rim.signtoolDb=
releaseVersion=4.0
codename1.languageLevel=5
codename1.android.keystorePassword=*******
codename1.arg.android.gradle=true
codename1.arg.android.allowBackup=false
codename1.arg.android.playService.location=true
codename1.arg.ios.dsym=false
codename1.mainName=Hijos
codename1.ios.release.certificate=/Users/carlos/Desktop/DEV4775/Users/imac/Trabajo_Carlos/Documents/Codename/CERTIFICADOS_APPLE/CertificadoDistribucion.p12
codename1.arg.android.licenseKey=**********************
codename1.android.keystore=/Users/carlos/Desktop/DEV4775/Users/imac/Trabajo_Carlos/Documents/MAGPLUS/Viajar/Android/vchmag/my-release-key.keystore.file
gm\#=
codename1.arg.ios.afterFinishLaunching=[GMSServices provideAPIKey\:@"****************"];
gplcodename1.android.keystoreAlias=******
guiResource=theme.res
codename1.arg.ios.interface_orientation=UIInterfaceOrientationPortrait\:UIInterfaceOrientationPortraitUpsideDown\:UIInterfaceOrientationLandscapeLeft\:UIInterfaceOrientationLandscapeRight
codename1.arg.ios.NSPhotoLibraryUsageDescription=Some functionality of the application requires access to your photo library
codename1.j2me.nativeTheme=nbproject/nativej2me.res
codename1.arg.ios.glAppDelegateHeader=\n\#import "GoogleMaps/GoogleMaps.h"
codename1.arg.ios.useWKWebView=true
codename1.ios.certificate=

This is a long-standing project. Maybe some hints are not needed anymore, not sure...

This is a recent build.

And it doesn't use any splash screen.

Shai Almog

unread,
May 28, 2019, 11:02:33 PM5/28/19
to CodenameOne Discussions
Can you please file an issue? We'll look into this.

Carlos Verdier

unread,
May 29, 2019, 10:22:11 AM5/29/19
to CodenameOne Discussions
Ok, done.

Thank you

Dave Dyer

unread,
May 29, 2019, 1:05:35 PM5/29/19
to CodenameOne Discussions
Perhaps this is related; In my latest builds, the app is better integrated with IOS somewhat baffling two-process mode.
I previously was able to get some apps to "overlay" and share the screen with mine, but now I am also able to get
the "bonded" mode where the two apps are side-by-side with a slide-able bar between them.   This "paired" mode
sometimes gets the size wrong when I pause and restart the app using the button. 

I haven't made any changes, this just appeared in my current builds.  The entire "paired" behavior (and misbehavior) is new.

below, got the size split incorrect


Dave Dyer

unread,
May 29, 2019, 4:43:24 PM5/29/19
to CodenameOne Discussions

Also, inexplicably, this bonded pair behavior is only available in debug builds, not in app store builds.

Reply all
Reply to author
Forward
0 new messages