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

Using QWhatsThis on certain X11 setups may result in X11 errors

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • P2: Important
    • Some future release
    • 4.2.2
    • Other
    • None

    Description

      Using QWhatsThis on certain X11 setups as explained below may result in X11 errors such as

      Major opcode of failed request: 62 (X_CopyArea)
      Serial number of failed request: 2534
      Current serial number in output stream: 2536

      This problem may happen when the root window has a depth of 24bit while the application uses a visual with a depth of 8bit. QWhatsThis will call QPixmap::grabWindow() on the root window, while the default depth of all QPixmaps will be the same as the application itself uses. This means that Qt ends up attempting to grab data from a window using a 24bit visual into a 8bit QPixmap.

      Attachments

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

        Activity

          People

            kjernase Trond Kjernåsen (Inactive)
            admin Administrator
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes