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

Qt over VNC: Unsupported screen format, client region not rendered anymore

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • 5.4.1
    • 5.4.1
    • QPA: X11/XCB
    • None
    • Ubuntu 14.04, Qt 5.4.1 compiled from git with

      $ ./configure -prefix $PWD/qtbase -opensource -nomake tests
      $ make -j4
    • 8e0f56280ab6fd869faf1650edd454883f4d035f

    Description

      Commit I93ccd3c74bfbb0bd94b352476e5fe58a94119e1f (Solution for bug QTBUG-25998) introduced a regression when running Qt applications over VNC. The warning "Unsupported screen format: depth: 16, red_mask: 3f, blue_mask: f800" is shown and the client region of windows is not rendered anymore.

      If I add the previous

      switch (depth) {
      case 32: return QImage::Format_ARGB32_Premultiplied;
      case 24: return QImage::Format_RGB32;
      case 16: return QImage::Format_RGB16;

      to the end of the method as a fallback, rendering works again.

      Attachments

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

        Activity

          People

            allan.jensen Allan Sandfeld Jensen
            littletux Andreas Fester
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes