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

EGLFS platform plugin showing black windows

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P2: Important P2: Important
    • 5.6.0 RC
    • 5.5.1, 5.6.0 Beta
    • QPA: EGLFS
    • None
    • Debian Wheezy on a Raspberry Pi 2
    • 5a48d1d164ba507469ee1a8a682a3c194d733890

      I'm afraid there's another regression on the EGLFS plugin that was not present in Qt 5.4.x.
      I have tested Qt 5.5.1 and 5.6.0 beta on a Raspberry Pi.
      It doesn't happen with the linuxfb plugin.

      After a number of times a QWindow, QDialog or QMenu is displayed, the EGLFS plugin renders them as a black rectangle.
      It looks like a memory leak, cause it doesn't happen for at least 10 times.
      Unfortunately there is no way to recover when this happens apart for restarting the application.

      At the moment the only way to show the issue is with the attached pictures (sorry for the bad quality)

      I have reproduced it with the 'standarddialogs' example in qtbase/examples/widgets/dialogs/standarddialogs.
      Click on QInputDialog::getMultiLineText() 50-60 times and it will render a black window.
      Attached a picture showing it after clicking 53 times.
      I believe this really is related to a wrong memory consumption as in my application it happens a lot sooner than 50 times.

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

            lagocs Laszlo Agocs
            mcallegari79 Massimo Callegari
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes