Activity log for bug #1381092

Date Who What changed Old value New value Message
2014-10-14 14:25:50 Kyle Nitzsche bug added bug
2014-10-14 14:26:57 Kyle Nitzsche attachment added correctLayout.png https://bugs.launchpad.net/ubuntu/+source/unity-scopes-api/+bug/1381092/+attachment/4235909/+files/correctLayout.png
2014-10-14 14:27:23 Kyle Nitzsche attachment added incorrectLayout.png https://bugs.launchpad.net/ubuntu/+source/unity-scopes-api/+bug/1381092/+attachment/4235910/+files/incorrectLayout.png
2014-10-14 14:28:52 Kyle Nitzsche bug task added savilerow
2014-10-14 14:28:59 Kyle Nitzsche savilerow: importance Undecided High
2014-10-14 14:29:42 Michał Sawicz affects unity-scopes-api (Ubuntu) unity8 (Ubuntu)
2014-10-14 15:44:31 Albert Astals Cid unity8 (Ubuntu): status New In Progress
2014-10-14 15:44:34 Albert Astals Cid unity8 (Ubuntu): assignee Albert Astals Cid (aacid)
2014-10-14 15:44:36 Albert Astals Cid unity8 (Ubuntu): importance Undecided High
2014-10-14 15:48:23 Albert Astals Cid branch linked lp:~aacid/unity8/grid_rows_cols
2014-10-14 20:04:51 Kyle Nitzsche summary Multiline attributes break (center flush) on return from preview Multiline attributes break (center flush) on return to visibility
2014-10-14 20:05:27 Kyle Nitzsche 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. 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(); 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();
2014-10-15 13:12:35 Albert Astals Cid branch linked lp:~aacid/unity8/grid_rows_cols_rtm
2014-10-15 20:37:26 Launchpad Janitor unity8 (Ubuntu RTM): status New Fix Released
2014-10-15 20:58:52 Michał Sawicz unity8 (Ubuntu RTM): assignee Albert Astals Cid (aacid)
2014-10-15 20:58:55 Michał Sawicz unity8 (Ubuntu RTM): importance Undecided High
2014-10-16 18:23:43 Kyle Nitzsche savilerow: status New Fix Released
2014-10-30 14:56:35 Launchpad Janitor branch linked lp:ubuntu/vivid-proposed/unity8
2014-10-30 18:11:31 Launchpad Janitor unity8 (Ubuntu): status In Progress Fix Released