← Back to team overview

touch-packages team mailing list archive

[Bug 1355046] Re: Colourized icon with invalid source is black

 

** No longer affects: ubuntu-ui-toolkit

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to ubuntu-ui-toolkit in
Ubuntu.
https://bugs.launchpad.net/bugs/1355046

Title:
  Colourized icon with invalid source is black

Status in “ubuntu-ui-toolkit” package in Ubuntu:
  Confirmed

Bug description:
  Given the code:

  import QtQuick 2.2
  import Ubuntu.Components 1.1

  Item {
      width: 50
      height: 50

      Icon {
          id: icon
          width: 20
          height: 20
          source: "invalid"
          color: "red"

          anchors.centerIn: parent
      }
  }

  The Icon is black, because the shader has no source to operate on. It
  should probably cough up completely transparent pixels instead?

  ProblemType: Bug
  DistroRelease: Ubuntu 14.10
  Package: qtdeclarative5-ubuntu-ui-toolkit-plugin 1.1.1181+14.10.20140806-0ubuntu1
  ProcVersionSignature: Ubuntu 3.16.0-6.11-generic 3.16.0-rc7
  Uname: Linux 3.16.0-6-generic x86_64
  NonfreeKernelModules: wl nvidia
  ApportVersion: 2.14.5-0ubuntu4
  Architecture: amd64
  CurrentDesktop: Unity
  Date: Mon Aug 11 09:47:22 2014
  SourcePackage: ubuntu-ui-toolkit
  SystemImageInfo: Error: [Errno 2] Nie ma takiego pliku ani katalogu: 'system-image-cli'
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-ui-toolkit/+bug/1355046/+subscriptions


References