[Bug 1467886] Re: expandable widget cannot collapse widgets to the number defined by "collapsed-widgets"
** Branch linked: lp:~stolowski/unity-scopes-api/fix-expandable-widget- doc ** Changed in: unity-scopes-api (Ubuntu) Status: Confirmed => In Progress -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1467886 Title: expandable widget cannot collapse widgets to the number defined by "collapsed-widgets" To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/unity-scopes-api/+bug/1467886/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1467886] Re: expandable widget cannot collapse widgets to the number defined by "collapsed-widgets"
** Changed in: unity-scopes-api (Ubuntu) Importance: Undecided => Medium ** Changed in: unity-scopes-api (Ubuntu) Assignee: (unassigned) => Pawel Stolowski (stolowski) ** Changed in: unity8 (Ubuntu) Status: New => Invalid -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1467886 Title: expandable widget cannot collapse widgets to the number defined by "collapsed-widgets" To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/unity-scopes-api/+bug/1467886/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1467886] Re: expandable widget cannot collapse widgets to the number defined by "collapsed-widgets"
I think the problem is that the documentation doesn't match what the code does. The internal documentation we have in the code says This widget shows a list of widgets defined in widgetData["widgets"] Those widgets can be collapsed or uncollapsed. When uncollapsed all the widgets are shown, when collapsed only the first widgetData["collapsed-widgets"] are shown. It has a title that comes in via widgetData["title"]. This widget expands all child widgets when initialized by specifying widgetData["expanded"] == true. It's in unexpanded mode by default. There's nothing about 0 being a magic number and also collapsed-widgets is the number of widgets that will still be shown when the widget is collapsed. I think it's best to update the documentation to match the code since there's a few scopes using the widget already. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1467886 Title: expandable widget cannot collapse widgets to the number defined by "collapsed-widgets" To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/unity-scopes-api/+bug/1467886/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1467886] Re: expandable widget cannot collapse widgets to the number defined by "collapsed-widgets"
** Also affects: unity8 (Ubuntu) Importance: Undecided Status: New ** Changed in: unity-scopes-shell (Ubuntu) Status: New => Invalid -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1467886 Title: expandable widget cannot collapse widgets to the number defined by "collapsed-widgets" To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/unity-scopes-api/+bug/1467886/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1467886] Re: expandable widget cannot collapse widgets to the number defined by "collapsed-widgets"
** Also affects: unity-scopes-shell (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1467886 Title: expandable widget cannot collapse widgets to the number defined by "collapsed-widgets" To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/unity-scopes-api/+bug/1467886/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1467886] Re: expandable widget cannot collapse widgets to the number defined by collapsed-widgets
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: unity-scopes-api (Ubuntu) Status: New = Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1467886 Title: expandable widget cannot collapse widgets to the number defined by collapsed-widgets To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/unity-scopes-api/+bug/1467886/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs