Details
-
Bug
-
Resolution: Duplicate
-
Not Evaluated
-
None
-
5.0.1
-
Windows XP, Qt5.0.1, not built from git so I'm using ANGLE
Description
I'm using ParticleSystem. I'm on Windows XP. Lock the desktop(Win+L), then unlock the desktop, then the following error will be repeatedly printed to the Output (at a very fast speed):
QOpenGLContext::swapBuffers() called without corresponding makeCurrent()
QEGLPlatformContext::swapBuffers(): eglError: 12302, this: 0x21daa40bool __thiscall QWindowsEGLContext::makeCurrent(class QPlatformSurface *): eglMakeCurrent() failed, eglError: 0x300e, this: 0x21daa40
Meanwhile the window area belongs to my program will not refresh. It remains the background of the desktop
Here is my code: (In fact, ALL the particle examples have the same problem)
- I've also tested on Windows 7, it works well. *
import QtQuick 2.0 import QtQuick.Particles 2.0 Rectangle { width: 1000 height: 800 color: "grey" ParticleSystem{ id: particles } ImageParticle{ anchors.fill: parent system: particles source: "pics/particle.png" colorVariation: 0.6 } Emitter{ anchors.fill: parent system: particles emitRate: 5 lifeSpan: 2000 size: 5 sizeVariation: 2 acceleration: AngleDirection { angle: 90; angleVariation: 360; magnitude: 20; } velocity: AngleDirection { angle: -90; angleVariation: 360; magnitude: 10; } } }
And is it related to https://bugreports.qt-project.org/browse/QTBUG-30158 ?
Attachments
Issue Links
- relates to
-
QTBUG-29223 QtQuick 2.0 view crash after Windows security dialog (Ctrl+Alt+Del)
- Closed
-
QTBUG-30158 ParticleSystem greatlty consumes CPU when window is covered by other window
- Closed