Activity log for bug #1467886

Date Who What changed Old value New value Message
2015-06-23 10:30:19 XiaoGuo, Liu bug added bug
2015-06-23 10:30:19 XiaoGuo, Liu attachment added Unity Scope Tool_787.png https://bugs.launchpad.net/bugs/1467886/+attachment/4419294/+files/Unity%20Scope%20Tool_787.png
2015-06-23 10:34:01 XiaoGuo, Liu description https://developer.ubuntu.com/api/scopes/cpp/sdk-15.04/previewwidgets/ I tried to used the example code shown in the above link: PreviewWidget expandable("exp", "expandable"); expandable.add_attribute_value("title", Variant("This is an expandable widget")); expandable.add_attribute_value("collapsed-widgets", Variant(0)); PreviewWidget w1("w1", "text"); w1.add_attribute_value("title", Variant("Subwidget 1")); w1.add_attribute_value("text", Variant("A text")); PreviewWidget w2("w2", "text"); w2.add_attribute_value("title", Variant("Subwidget 2")); w2.add_attribute_value("text", Variant("A text")); expandable.add_widget(w1); expandable.add_widget(w2); regardless of what number is defined in "collapsed-widgets", it always shows all of the widgets there. Thanks & best regards, XiaoGuo https://developer.ubuntu.com/api/scopes/cpp/sdk-15.04/previewwidgets/ I tried to used the example code shown in the above link: PreviewWidget expandable("exp", "expandable"); expandable.add_attribute_value("title", Variant("This is an expandable widget")); expandable.add_attribute_value("collapsed-widgets", Variant(0)); PreviewWidget w1("w1", "text"); w1.add_attribute_value("title", Variant("Subwidget 1")); w1.add_attribute_value("text", Variant("A text")); PreviewWidget w2("w2", "text"); w2.add_attribute_value("title", Variant("Subwidget 2")); w2.add_attribute_value("text", Variant("A text")); expandable.add_widget(w1); expandable.add_widget(w2); regardless of whatever number is defined in "collapsed-widgets", it always shows all of the widgets there. Thanks & best regards, XiaoGuo
2015-06-23 11:23:53 Launchpad Janitor unity-scopes-api (Ubuntu): status New Confirmed
2015-09-07 22:44:31 Michi Henning bug task added unity-scopes-shell (Ubuntu)
2016-01-15 09:05:49 Paweł Stołowski bug task added unity8 (Ubuntu)
2016-01-15 09:05:56 Paweł Stołowski unity-scopes-shell (Ubuntu): status New Invalid
2016-06-14 15:37:24 Paweł Stołowski unity-scopes-api (Ubuntu): importance Undecided Medium
2016-06-14 15:37:28 Paweł Stołowski unity-scopes-api (Ubuntu): assignee Pawel Stolowski (stolowski)
2016-06-14 15:37:40 Paweł Stołowski unity8 (Ubuntu): status New Invalid
2016-06-14 15:56:22 Paweł Stołowski branch linked lp:~stolowski/unity-scopes-api/fix-expandable-widget-doc
2016-06-14 15:59:08 Paweł Stołowski unity-scopes-api (Ubuntu): status Confirmed In Progress