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

Window vs. Rectangle color inconsistency

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • 6.3.1
    • Quick: SceneGraph
    • None
    • All

    Description

      Both the Window QML type, as well as the Rectangle type have a property color. However, a Window expects premultiplied alpha, whereas Rectangle expects straight alpha. This is inconsistent, confusing and not documented.

      In the attached QML code, the inner window color is "#80008000" and the rectangle color is "#8000FF00" (different green channel). Still they appear the same.

      Ideally this could be harmonized or at least documented.

      Attachments

        Activity

          People

            janichol Andy Nichols
            bweimer Bernd Weimer
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: