Public bug reported:

Currently the click package index has two fields for screenshots -
screenshot_url and screenshots_url [1]. They are set like:

  "screenshot_url": 
"https://myapps.developer.ubuntu.com/site_media/appmedia/2013/09/xkcd-1.png";,
  "screenshot_urls": [
    "https://myapps.developer.ubuntu.com/site_media/appmedia/2013/09/xkcd-1.png";
  ],

(I'm guessing that screenshot_url is an old field and just
screenshot_urls is what should be used in new code).

It's desirable when rendering these screenshots in a client (e.g. gnome-
software) to know their size in advance. Ideally information like this
would be available:

  "screenshots": [
    { "url": 
"https://myapps.developer.ubuntu.com/site_media/appmedia/2013/09/xkcd-1.png";, 
"width": 800, "height": 1280 }
  ],

This allows us to allocate an appropriate amount of space for each
screenshot then load them asynchronously.


[1] http://search.apps.ubuntu.com/docs/#package

** Affects: click-package-index
     Importance: Undecided
         Status: New

** Affects: gnome-software (Ubuntu)
     Importance: Medium
         Status: Triaged

** Also affects: gnome-software (Ubuntu)
   Importance: Undecided
       Status: New

** Changed in: gnome-software (Ubuntu)
       Status: New => Triaged

** Changed in: gnome-software (Ubuntu)
   Importance: Undecided => Medium

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to gnome-software in Ubuntu.
https://bugs.launchpad.net/bugs/1625852

Title:
  Providing image sizes with screenshots would allow better dynamic
  layout

Status in Click Package Index:
  New
Status in gnome-software package in Ubuntu:
  Triaged

Bug description:
  Currently the click package index has two fields for screenshots -
  screenshot_url and screenshots_url [1]. They are set like:

    "screenshot_url": 
"https://myapps.developer.ubuntu.com/site_media/appmedia/2013/09/xkcd-1.png";,
    "screenshot_urls": [
      
"https://myapps.developer.ubuntu.com/site_media/appmedia/2013/09/xkcd-1.png";
    ],

  (I'm guessing that screenshot_url is an old field and just
  screenshot_urls is what should be used in new code).

  It's desirable when rendering these screenshots in a client (e.g.
  gnome-software) to know their size in advance. Ideally information
  like this would be available:

    "screenshots": [
      { "url": 
"https://myapps.developer.ubuntu.com/site_media/appmedia/2013/09/xkcd-1.png";, 
"width": 800, "height": 1280 }
    ],

  This allows us to allocate an appropriate amount of space for each
  screenshot then load them asynchronously.

  
  [1] http://search.apps.ubuntu.com/docs/#package

To manage notifications about this bug go to:
https://bugs.launchpad.net/click-package-index/+bug/1625852/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to