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

When calling QPainter::begin() on a bitmap or image with 1-bit depth, the brush is set to color0 instead of NoBrush for no good reason.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • 4.5.0, 4.6.0
    • GUI: Painting
    • None

    Description

      QPainter::begin() explicitly sets the brush to color0 for bitmaps and images with 1-bit depth, which is not consistent with other paint devices.

      If we cannot change the behaviour for Qt 4.7, we should at least fix this for Qt 5.

      Attachments

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

        Activity

          People

            Unassigned Unassigned
            kkalland Kim Motoyoshi Kalland (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes