Details
-
Bug
-
Resolution: Done
-
P4: Low
-
5.1.0 RC1
-
None
-
Running on Windows 7. Installation is from qt-windows-opensource-5.1.0-rc2-mingw48_opengl-x86-offline
-
49a55be9730bb30f36ba0e031717cc1f709ddd20
Description
The version is 5.1.0 RC2, but that can't be selected from the Affects Version/s drop down list!
This short test program uses the openglwindow.h in examples/gui/openglwindow/openglwindow.h:
#include <QtGui>
#include "openglwindow.h"
#include <QPainter>
#include <iostream>
class OpenGLFail : public OpenGLWindow
{
public:
OpenGLFail();
protected:
void render(QPainter *p);
};
OpenGLFail::OpenGLFail()
{
setTitle("OpenGL Test");
resize(500, 800);
}
void OpenGLFail::render(QPainter *p)
{
std::cout << "width(): " << width()
<< " height(): " << height() << endl;
std::cout.flush();
}
int main(int argc, char *argv[])
{
QGuiApplication app(argc, argv);
OpenGLFail test_window;
test_window.show();
app.exec();
}
As can be seen in the Application Output screen in QtCreator, the width and height do not display as the test window is reduced in size. This test program works fine in Qt 5.0.2
Attachments
Issue Links
- resulted in
-
QTBUG-51038 Windows: Missing expose event when window size is reduced
- Closed
For Gerrit Dashboard: QTBUG-32121 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
103932,3 | Windows: avoid generating exposes on plain moves | 5.4 | qt/qtbase | Status: MERGED | +2 | 0 |