Public bug reported:

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)

** Affects: ubuntu-ui-toolkit (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: apport-bug armhf utopic

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1325772

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

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

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to