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

QtQuick Image not changed with ColorOverlay with Qt 5.10 on iOS

    XMLWordPrintable

Details

    • iOS/tvOS/watchOS

    Description

      With Qt 5.10 on iOS (device not simulator) we see icons using a ColorOverlay which had previously appeared as white showing as black. (see attached images).

       

      The original .png is actually black but we add a ColorOverlay (white) to change the appearance. This is not working on 5.10 iOS. The q,l code looks something like this:

      {{ Image {}}

      {{    id: thumbnailImage }}{{    }}

      {{    anchors.centerIn: }}{{    }}

      {{    parent width: 18 }}{{    }}

      {{    height: width }}{{    }}

      {{    source: thumbnailUrl }}{{    }}

      {{    clip: true }}

      }

        }}{{{{ ColorOverlay { }}{{    }}

      {{    anchors.fill: thumbnailImage }}{{    }}

      {{    source: thumbnailImage }}

      {{    color: "white" }}

      {{ }}}

      Attachments

        1. icon_5-10-ios.png
          icon_5-10-ios.png
          6 kB
        2. icon_5-9-ios.png
          icon_5-9-ios.png
          8 kB
        3. Screen Shot 2018-04-16 at 16.50.23.png
          Screen Shot 2018-04-16 at 16.50.23.png
          63 kB
        4. test_colorOverlay.zip
          704 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            vestbo Tor Arne Vestbø
            lsmallwood Luke Smallwood
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes