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

xcb: Native window does not get paint event if another window on top of it is hidden unless there is a enter/leave event somewhere

    XMLWordPrintable

    Details

    • Platform/s:
      Linux/X11

      Description

      In attached example there is QFrame on top of a native window. When that frame is hidden, the native window does not seem to get paintEvent() call and thus the frame remains visible.

      However it gets repainted when ever mouse cursor leaves or enters the button that was used to toggle the visibility.

      To reproduce, run attached example and click on the toggle button. The black rectangle does not disappear until mouse is moved off of the QPushButton.

      There is also "QWidget::paintEngine: Should no longer be called" message printed and I don't know how to properly workaround this. This example is reduced from a bigger example which didn't output this message, but had exactly the same issue so it probably doesn't affect this at all.

        Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            Assignee:
            liaqi Liang Qi
            Reporter:
            poikelin Joni Poikelin
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:

                Gerrit Reviews

                There are no open Gerrit changes