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

Qt reports same color depth on virtual-desktop systems even if screens have different depth

    XMLWordPrintable

Details

    • Bug
    • Resolution: Out of scope
    • P2: Important
    • Some future release
    • 4.1.0
    • Core: Other
    • None

    Description

      On a dual-head Windows system, configure the first screen to 32bpp and the second screen to 16bpp. The following code prints 32 both times:

      qDebug() << app.desktop()>screen(0)>depth();
      qDebug() << app.desktop()>screen(1)>depth();

      Both times GetDeviceCaps(BITSPIXEL) is called with the global device context (i.e. qt_win_display_dc), and hence returns the same value.

      Attachments

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

        Activity

          People

            bhughes Bradley T. Hughes (closed Nokia Identity) (Inactive)
            vhilshei Volker Hilsheimer
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes