Details
-
Bug
-
Resolution: Unresolved
-
P3: Somewhat important
-
None
-
5.2.0, 5.5.1
-
iOS (both simulator and device). Was running iOS 7.0.3, but doesn't seem to matter whether which version or whether it's iPhone or iPad. Works OK on Mac desktop and other platforms
Description
When displaying a QSplashScreen on iOS it will not display unless a QMessageBox or similar dialog gets a chance to run – regardless of how many times show, processEvents, repaint, flush, sendPostedEvents, etc, are called.
See attached NoSplash example. As it's presented in the zip, you won't see the splash screen. Uncomment the QMessageBox call and then it will display once the MessageBox has been dismissed.
But it works correctly on a Mac desktop build. And I believe it's working OK on Android, Linux, and Windows as well, though those three platforms I haven't had a chance to test 5.2.0, only 5.2.0-RC1.
I'm suspicious it might be a window geometry issue where somehow the extents of the screen doesn't get computed until after the dialog is displayed. But that's just a conjecture.
I did try every combination imaginable of calling the splash's show and repaint functions, and the application's processEvents, flush, and sendPostedEvents functions and they seemed to have no effect.