Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.3.0, 5.3.1, 5.3.2, 5.4.0
-
ANGLE, Qt5.3.1, VS2008, Windows 8.1, Intel GMA (DX11)
-
85620bd788d351018e9fa0b0f567b19a773be52b
Description
On some Windows machines, suspending the computer or going to the login screen (by hitting Ctrl-Alt-Del) "breaks" QtQuick. Windows appear blank and the situation is only recoverable by restarting the application.
Reproduction: We are using a laptop (DELL Latitude E7240 w/ Intel GMA) that requires a password to log in. It is configured to go to sleep when the laptop lid is closed, even if it is plugged in. Closing the lid thus triggers the laptop to go to the login screen on wake. We are using Qt 5.4.0 with MSVC2013 on Windows 8.1.
1. Using QtCreator, create a simple project based on "Qt Quick Application" (with three buttons).
2. Launch the program with a debugger.
3. Ensure the buttons are visible in a window, that the window can be resized and that the buttons continues to render properly.
4. Trigger sleep (in our case, we close the laptop lid).
5. Wake the computer from sleep, you should be asked to log in again.
6. Log in to the user account where the application was running.
Note: It may take several attempts before this reproduces on our end, but it usually happens after 2-3 tries. Just going to the "switch user" menu seems to make it more difficult to reproduce.
In Qt 5.3.2, the contents the of window appear to be random or blank and error messages are printed (the application keeps running):
(Qt:Warning) bool __thiscall QWindowsEGLContext::makeCurrent(class QPlatformSurface *): eglMakeCurrent() failed, eglError: 0x300e, this: 0x89590d0
In Qt 5.4 (OpenGL/Dynamic), the window becomes blank, but interacting with it or resizing it causes the application to crash.
In Qt 5.4 (ANGLE), the application crashes.
Attachments
Issue Links
- is duplicated by
-
QTBUG-43188 Sequential Animation on Rotation will cause QQuickWidget (and entire application!) to go black after computer sleep.
- Closed
- relates to
-
QTBUG-29223 QtQuick 2.0 view crash after Windows security dialog (Ctrl+Alt+Del)
- Closed
-
QTBUG-41031 no text rendering on qml elements
- Closed
-
QTBUG-42240 Windows/Intel HD3000 : Crash when starting opengl application
- Closed