Details
-
Bug
-
Resolution: Unresolved
-
P3: Somewhat important
-
None
-
6.10
-
None
-
9279442fe (dev), aab6a4e9b (6.9)
Description
Unnecessary-noise warnings can make tests fail, and aren't of much use to users either. So maybe these can be changed to qCDebugs or something.
For example QPlatformWindow::setKeyboardGrabEnabled() has qWarning("This plugin does not support grabbing the keyboard") and QQuickPopupWindowPrivate::setVisible() tries to grab the keyboard. (It even checks the return value to see if it succeeded or not!) So if a popup-related autotest is tested on the offscreen platform, this warning causes test failure for no good reason.
In that sense, warnings are almost as bad as exceptions.
Attachments
Gerrit Reviews
For Gerrit Dashboard: QTBUG-134009 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
626634,8 | Popup window: Don't try to grab keyboard or mouse on offscreen platform | dev | qt/qtdeclarative | Status: MERGED | +2 | 0 |
627944,2 | Popup window: Don't try to grab keyboard or mouse on offscreen platform | 6.9 | qt/qtdeclarative | Status: MERGED | +2 | 0 |