← Back to team overview

touch-packages team mailing list archive

[Bug 1325772] Re: Wrong icon size selected for image://theme/ uris

 

Yup.

** Branch linked: lp:~larsu/ubuntu-ui-toolkit/custom-icon-lookup2

** Changed in: ubuntu-ui-toolkit (Ubuntu)
       Status: Confirmed => Fix Released

-- 
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/1325772

Title:
  Wrong icon size selected for image://theme/ uris

Status in “ubuntu-ui-toolkit” package in Ubuntu:
  Fix Released

Bug description:
  Given the code:

  import QtQuick 2.0
  import Ubuntu.Components 0.1

  Item {
    width: 300
    height: 580

    Column {
      anchors.centerIn: parent
      spacing: 20

      Image {
        width: 240
        height: 240
        source: "file:///usr/share/icons/ubuntu-mobile/apps/240/webbrowser-app.png"
      }

      Image {
        width: 240
        height: 240
        source: "image://theme/webbrowser-app"
        sourceSize { width: 240; height: 240 }
      }
    }
  }

  
  You can see that the second Image selects a lower resolution source, even though explicit sourceSize was given. Stracing the run shows the 144 version is selected instead.

  ProblemType: Bug
  DistroRelease: Ubuntu 14.10
  Package: qtdeclarative5-ubuntu-ui-toolkit-plugin 0.1.46+14.10.20140527-0ubuntu1
  Uname: Linux 3.4.0-5-mako armv7l
  ApportVersion: 2.14.3-0ubuntu1
  Architecture: armhf
  Date: Tue Jun  3 01:32:50 2014
  InstallationDate: Installed on 2014-06-02 (0 days ago)
  InstallationMedia: Ubuntu Utopic Unicorn (development branch) - armhf (20140602.1)
  SourcePackage: ubuntu-ui-toolkit
  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/1325772/+subscriptions