← Back to team overview

touch-packages team mailing list archive

[Bug 1381092] Re: Multiline attributes break (center flush) on return to visibility

 

This bug was fixed in the package unity8 - 8.00+14.10.20141015.4~rtm-
0ubuntu1

---------------
unity8 (8.00+14.10.20141015.4~rtm-0ubuntu1) 14.09; urgency=low

  [ Michał Sawicz ]
  * remove qml ownership confusion for caching unitymenumodels (LP:
    #1368856)

  [ josharenson ]
  * Fix lp:1370240 by making stages interactive when a snap decision is
    dismissed. (LP: #1370240)

  [ Nick Dedekind ]
  * remove qml ownership confusion for caching unitymenumodels (LP:
    #1368856)
  * Implementation of expandable panel design (LP: #1368856)

  [ Albert Astals ]
  * CardAttributes: Specify column and row since the gridlayout gets
    confused sometimes (LP: #1381092)
  * Reset VerticalJournal until the cardTool settles (LP: #1381255)

  [ Mirco Müller ]
  * Added synchronous/confirmation notification support to unity8. (LP:
    #1232633)

  [ Michael Zanetti ]
  * drop all visual indication of "pinning" (LP: #1381054)
  * Fix lp:1370240 by making stages interactive when a snap decision is
    dismissed. (LP: #1370240)

  [ Antti Kaijanmäki ]
  * Unlock all modems on boot. (LP: #1333121)
 -- Ubuntu daily release <ps-jenkins@xxxxxxxxxxxxxxxxxxx>   Wed, 15 Oct 2014 16:44:20 +0000

** Changed in: unity8 (Ubuntu RTM)
       Status: New => Fix Released

-- 
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/1381092

Title:
  Multiline attributes break (center flush) on return to visibility

Status in The Savilerow project:
  New
Status in “unity8” package in Ubuntu:
  In Progress
Status in “unity8” package in Ubuntu RTM:
  Fix Released

Bug description:
  We have a scope that uses attributes to provide three lines of text.

  The result layout is correct until a user clicks a result and
  navigates to a preview and then returns. (or simply scrolls down such
  that the result goes out of view and then scrolls back up bringing it
  into view). After this, the second and third lines are not left flush.

  I'll attach screenshots.

  JSON renderer:

  {
      "schema-version": 1,
      "template": {
          "category-layout": "grid",
          "card-size": "small",
          "card-layout": "horizontal"
      },
      "components": {
          "title": "title",
          "subtitle": "subtitle",
          "mascot": "art",
          "attributes": {
              "field": "attributes",
              "max-count": 6
          }
      }
  }

  Query code:

      VariantBuilder builder;
      builder.add_tuple({
          {"value", Variant(strong(week_no).toStdString())}
      });
      builder.add_tuple({
          {"value", Variant("")}
      });
      builder.add_tuple({
          {"value", Variant(strong(QString("%1: %2").arg(sunrise).arg(sunrise_time)).toStdString())}
      });
      builder.add_tuple({
          {"value", Variant("")}
      });

      builder.add_tuple({
          {"value", Variant(strong(QString("%1: %2").arg(sunset).arg(sunset_time)).toStdString())}
      });
      builder.add_tuple({
          {"value", Variant("")}
      });
      date_res["attributes"] = builder.end();

To manage notifications about this bug go to:
https://bugs.launchpad.net/savilerow/+bug/1381092/+subscriptions


References