Resolution independence docs don't mention the @size suffix

Bug #1092051 reported by Albert Astals Cid on 2012-12-19
This bug affects 4 people
Affects Status Importance Assigned to Milestone
Ubuntu UI Toolkit
Fix Released
Florian Boucault
ubuntu-ui-toolkit (Ubuntu)

Bug Description

When reading /usr/share/qt-components-ubuntu/doc/html/resolution-independence.html there is no mention of @size suffix for image assets, Florian confirms it's needed

[11:41:43] <tsdgeos> Kaleo: well, the documentation inside the SDK mention what i said (at last in one place) but i remember some other @size stuff somewhere
[11:42:15] <Kaleo> tsdgeos: you need to suffix all assets with @18 for the phone
[11:42:25] <Kaleo> tsdgeos: for example, asset.png becomes asset@18.png
[11:42:34] <Kaleo> tsdgeos: and in the code just use source: "asset.png"
[11:42:41] <tsdgeos> i see
[11:42:45] <Kaleo> tsdgeos: that's all
[11:42:56] <tsdgeos> that's missing from the doc, no? can't find any @ in that google doc
[11:42:56] <Kaleo> (same for sci files)
[11:43:02] <Kaleo> tsdgeos: very possible
[11:43:07] <Kaleo> tsdgeos: let's file a bug

Related branches

Changed in tavastia:
status: New → Triaged
assignee: nobody → Zsombor Egri (zsombi)
Changed in tavastia:
importance: Undecided → High
information type: Proprietary → Public
no longer affects: ubuntu-ui-toolkit
affects: tavastia → ubuntu-ui-toolkit
David Planella (dpm) wrote :

I've seen this question coming up more and more times, so until this bug is fixed, this FAQ is now available in Ask Ubuntu:

David Planella (dpm) on 2013-03-09
summary: - Resolution independance docs don't mention the @size suffix
+ Resolution independence docs don't mention the @size suffix
Changed in ubuntu-ui-toolkit:
assignee: Zsombor Egri (zsombi) → Florian Boucault (fboucault)
Changed in ubuntu-ui-toolkit:
importance: High → Critical
Changed in ubuntu-ui-toolkit:
status: Triaged → In Progress
PS Jenkins bot (ps-jenkins) wrote :

Fix committed into lp:ubuntu-ui-toolkit at revision 436, scheduled for release in ubuntu-ui-toolkit, milestone Unknown

Changed in ubuntu-ui-toolkit:
status: In Progress → Fix Committed
Changed in ubuntu-ui-toolkit:
status: Fix Committed → Fix Released
Changed in ubuntu-ui-toolkit (Ubuntu):
status: New → Fix Committed
Launchpad Janitor (janitor) wrote :
Download full text (23.9 KiB)

This bug was fixed in the package ubuntu-ui-toolkit - 0.1.46daily13.06.05.1-0ubuntu1

ubuntu-ui-toolkit (0.1.46daily13.06.05.1-0ubuntu1) saucy; urgency=low

  [ Zoltán Balogh ]
  * update the example app for the latest UI Toolkit.
  * A simple app to check few locales.
  * Add qttools5-dev-tools to build dependencies to provide
    qhelpgenerator for creating QtC help files from documentation.
  * Build documentation and publish the qch file.
  * Offer symlinks for qmlscene via 'qmlrunner' package. See package
    description for usage instructions. (LP: #1155634). (LP: #1155634)

  [ Loïc Molinari ]
  * [UbuntuShape] Correctly stored the current material. (LP: #1132771)
  * [UbuntuShape] Ensured the texture is available in updatePaintNode().
    (LP: #1171437)

  [ Kaleo ]
  * QML_IMPORT_PATH is deprecated for QtQuick 2.0. Switch to
  * Added syntax description for CHANGES file in CHANGES.syntax.
  * UCScalingImageProvider: respect 'requestedSize' parameter. That
    ensures that the 'sourceSize' property of Image is respected even
    when the toolkit automatically scales the asset for the device. (LP:
  * Added documentation for bitmap suffixes in the resolution
    independence page. (LP: #1092051)
  * Revamped component showcase now called 'Ubuntu UI Toolkit Gallery'.
    Works on Ubuntu Touch. (LP: #1130603)
  * Benchmarks for time critical components.
  * Added ListItem.ValueSelector example. Fixed incorrect 'Multi value'
    label. (LP: #1172663)
  * Toolkit Gallery: added examples for Sheets.
  * Automatic rotation of applications depending on the device
    orientation. For applications that are using MainView, they opt-in
    by setting 'automaticOrientation' to true. New component
    OrientationHelper for applications that do not use MainView but
    still need an easy way to automatically rotate.
  * UbuntuShape: fix slight distortion of image when set. This
    distortion was quite disturbing when the content has text in it, as
    it is often the case in Popups and Popovers. (LP: #1170878)
  * Use standard animation ubuntu snap beat for popups fade in.
  * Removed unnecessary clipping from Tabs, Popover, Dialog and
  * All ListItems: set default contents right and left margins to 2 gu.
    ListItems Base, Standard and ValueSelector: deprecated private
    properties __leftIconMargin and __rightIconMargin IconVisual
    (private): removed properties leftIconMargin and rightIconMargin
    Standard: removed ugly progression highlight background when there
    is no split.
  * ListItems: constrain size of the icon by default. Deprecated private
    properties __iconWidth and __iconHeight.
  * Ubuntu UI Toolkit Gallery tweaks: - Made window wider and left
    column the width of the phone: 40gu. - Removed 'slider.' from Slider
    example's labels. - Renamed 'Switches' into 'Toggles'. Renamed
    'Progress Bars' into 'Progress and activity'. - Use resolution
    independence for navigation example screenshots.
  * Support source with quotes in .sci files. (LP: #1080719)
  * Reverted unjustified changes to ubuntu-ui-toolkit-gallery.desktop.
  * Popover: simplified com...

Changed in ubuntu-ui-toolkit (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers