Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
5.2.0
-
None
-
Windows 7 / MSVC 2010 / Qt 5.2.0
-
74fc4229856d6598c66638851c4229814589e887 ( Qt::NoDropShadowWindowHint initially, dev, 22.1.2014, 5.3)
Description
In following code:
QWidget *w = new QWidget;
w->setWindowFlags(Qt::WindowDoesNotAcceptFocus | Qt::FramelessWindowHint);
w->setAttribute(Qt::WA_ShowWithoutActivating);
w->show();
The window still steals focus when clicked. I am unable to implement my popups (They worked nice in 4.8)
Also I have very big problems with Qt::FramelessWindowHint and Qt::WA_TranslucentBackground, most commonly windows not showing at all unless I call these BEFORE ui->SetupUi. It looks like EnsurePolished() breaks them.
Qt::Popup | Qt::NoDropShadowWindowHint should also be respected on Win32.
How can I implement popup-like top-level frameless window that does not steal focus from its owner top-level window without using Win32/SetClassLong on it?
Attachments
Issue Links
- relates to
-
QTBUG-33520 REG: Minimizing/restoring widget when flag FramelessWindowHint and attr. AA_NativeWindows is set does not restore widget.
- Closed