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

QColorMap::instance( QApplication::desktop()->screenNumber( someWidget ) ) can crash on X11.

    XMLWordPrintable

Details

    Description

      When X11 is used with Xinerama, and a widget is on a second screen, QApplication::desktop()->screenNumber called on that widget returns 1.
      However, calling QColorMap::instance(1) will crash, as it only knows about old-style X screens, and not Xinerama screens.

      I would expect the concept of 'screen' to be consistent between various Qt methods; or at least any inconsistencies to be document.

      Attachments

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

        Activity

          People

            Unassigned Unassigned
            sadeagle Maks Orlovich
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes