Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-134009

warnings in offscreen plugin, inherited from QPlatformWindow

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P3: Somewhat important P3: Somewhat important
    • None
    • 6.10
    • QPA
    • None
    • 9279442fe (dev), aab6a4e9b (6.9)

      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.

        For Gerrit Dashboard: QTBUG-134009
        # Subject Branch Project Status CR V

            vestbo Tor Arne Vestbø
            srutledg Shawn Rutledge
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes