← Back to team overview

ubuntu-sdk-bugs team mailing list archive

[Bug 1550706] Re: Provide a QML API to use with images in qrc files

 

** Summary changed:

- Thumbnails not working with qrc
+ Provide a QML API to use with images in qrc files

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

** Changed in: canonical-developer-experience
   Importance: Undecided => Wishlist

** Changed in: canonical-developer-experience
       Status: New => Confirmed

** Changed in: canonical-developer-experience
     Assignee: (unassigned) => Zoltan Balogh (bzoltan)

** Changed in: ubuntu-ui-toolkit (Ubuntu)
   Importance: Undecided => Wishlist

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

** Changed in: ubuntu-ui-toolkit (Ubuntu)
     Assignee: (unassigned) => Zsombor Egri (zsombi)

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

Title:
  Provide a QML API to use with images in qrc files

Status in Client Developer Experience:
  Confirmed
Status in thumbnailer package in Ubuntu:
  Opinion
Status in ubuntu-ui-toolkit package in Ubuntu:
  Confirmed

Bug description:
  The thumbnailer works only if I load images from the file system, not
  from a resource file:

      Image {
          id: backgroundImage
          anchors.fill: parent
          sourceSize: Qt.size(parent.width, parent.height)
          source: "image://thumbnailer/qrc:///images/menu-background.jpg"
      }

  The default sdk template uses qrc as template.

To manage notifications about this bug go to:
https://bugs.launchpad.net/canonical-developer-experience/+bug/1550706/+subscriptions