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

Qt breaks when a few dozen Qt apps are running

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Do
    • P3: Somewhat important
    • None
    • 5.10.0
    • QPA: X11/XCB
    • None

    Description

      UPDATE: It turned out that only KDE apps seem affected. "Pure" (i.e. non-KDE) Qt apps are not affected. It seems to be a KDE bug.

      Problem: When there are many application windows open, one eventually reaches a point where Qt applications begin to show empty windows and menus, making working with Qt apps impossible.

      It is the same as with old Windows, when the GDI ran out of resources. With Windows 4, Microsoft fixed this by granting every app a separate 64kb GDI resource pool instead of having all apps share the same 64Kb GDI pool.

      This particular session the problem showed up when there were open the following Qt applications: 21 Konsole, 1 K3b, 1 Dolphin, 4 Ark, 1 Kate, 7 Okular, 1 KWrite

      This bug is present in all Qt versions.

      How to reproduce: The bug will eventually show up when you open at least 20-50 Qt app windows.

      I suppose the Qt resource buffer is too small, making Qt break.

      Suggested solution: Increase resource buffer at least 4x the original size.

      Question: How can I set the buffer size?

      Attachments

        1. arrrf.png
          arrrf.png
          23 kB
        2. kstuff.png
          kstuff.png
          89 kB
        3. pages.png
          pages.png
          7 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            paeglis Gatis Paeglis
            snurg Stefan Blachmann
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes