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

QColormap::instance(x).depth() returns always the colordepth of the primary screen on Windows

    XMLWordPrintable

Details

    • Bug
    • Resolution: Out of scope
    • P3: Somewhat important
    • Some future release
    • 4.5.1
    • Core: Other
    • None

    Description

      The following prints twice 32 when run on a dual screen setup, with the primary screen (x = 0) set to 32bpp, and the second screen (x = 1) to 16bpp:

      qDebug() << QColormap::instance(0).depth();
      qDebug() << QColormap::instance(1).depth();

      With the primary screen set to 16bpp and the secondary set to 32bpp it prints twice 16.

      Attachments

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

        Activity

          People

            Unassigned Unassigned
            vhilshei Volker Hilsheimer
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes