Same bug with 13.10, fresh install.
#include <QApplication>
#include <QPushButton>
#include <QGraphicsScene>
#include <QGraphicsProxyWidget>
#include <QGraphicsView>
int main(int argc, char **argv)
{
QApplication app(argc, argv);
//app.setAttribute(Qt::AA_DontCreateNativeWidgetSiblings);
QPushButton *pushButton = new QPushButton("Quit App.");
QGraphicsScene scene;
QGraphicsProxyWidget *proxy = scene.addWidget(pushButton);
QGraphicsView view(&scene);
// if the view is not defined as the parent it opens in another windows
// this is qt5 behaviour only
pushButton->setParent(&view);
QObject::connect(pushButton, SIGNAL(clicked()),
&app, SLOT(quit()));
view.show();
return app.exec();
}
** Attachment added: "Qt5.0.2_garbage_windows_example.ogv"
https://bugs.launchpad.net/ubuntu/+source/qtbase-opensource-src/+bug/1243239/+attachment/3903563/+files/Qt5.0.2_garbage_windows_example.ogv
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1243239
Title:
Hidden windows of Qt 5 applications are visible
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/qtbase-opensource-src/+bug/1243239/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs