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

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

      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.

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

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

              Created:
              Updated:

                There are no open Gerrit changes