← Back to team overview

touch-packages team mailing list archive

[Bug 1536794] Re: scope preview image on tap not identical to image displayed

 

We discovered a work around so this is probably invalid and I will mark
it o=so.

The image displayed on tap is apparently not updated in qml (even though
the file on disk has changed) because the source property (the url
pointing to the file) is unchanged. The work around is (in
perform_action) when downloading the high res file to create scope_data
and attach it to the activation response. Then in preview, check that
scope_data (from incoming metadata) and if it indicates the download
happened, modify the source of the art widget (set_attribute_value) by
appending a query parameter ("?downloaded"), which does not change the
path to the file. If that scope data is not set, then just
set_attribute_mapping to of "source" to "art" as done previously. This
works fine.

** Changed in: unity8 (Ubuntu)
       Status: In Progress => Invalid

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

Title:
  scope preview image on tap not identical to image displayed

Status in unity8 package in Ubuntu:
  Invalid

Bug description:
  My scope preview art widget displays a high res image. On tap it
  displays a low res thumb (the previous version of that file).

  @Albert: I sent you the dropbox photos 0.3 dev scope. To reproduce,
  tap a result with a thumb (not a generic icon). On preview, tap "Get
  High Resolution". It then replaces the thumb on disk with the
  downloaded high res image and the Preview redisplays showing the high
  res. Now tap the image, and it displays full screen but as the *low
  res* thumb.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/unity8/+bug/1536794/+subscriptions


References