Allow lenses to control how results from scopes are merged

Bug #911686 reported by David Callé
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Unity
Fix Released
High
Mikkel Kamstrup Erlandsen
libunity
Fix Released
High
Mikkel Kamstrup Erlandsen
pygobject
Fix Released
Medium
libunity (Ubuntu)
Fix Released
Undecided
Unassigned
pygobject (Ubuntu)
Fix Released
Medium
Martin Pitt
unity (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

When multiple scopes add results to the same lens, the results from scope2 are displayed after the results from scope1. Having a way to sort them globally would provide a better experience.

Related branches

Revision history for this message
Mikkel Kamstrup Erlandsen (kamstrup) wrote :

The branch contains a Python example in examples/merge-strategy.py. The example fails, however, because of this bug in pygobject https://bugzilla.gnome.org/show_bug.cgi?id=667244

summary: - Lenses should sort results from multiple scopes
+ Allow lenses to control how results from scopes are merged
Changed in libunity:
assignee: nobody → Mikkel Kamstrup Erlandsen (kamstrup)
importance: Undecided → High
milestone: none → 5.0.0
status: New → In Progress
Changed in unity:
assignee: nobody → Mikkel Kamstrup Erlandsen (kamstrup)
importance: Undecided → High
milestone: none → 5.0.0
status: New → In Progress
Revision history for this message
Mikkel Kamstrup Erlandsen (kamstrup) wrote :

Patches and test cases filed against upstream pygobject; awaiting review.

Changed in pygobject:
importance: Unknown → Medium
status: Unknown → New
Changed in libunity:
status: In Progress → Fix Committed
Changed in unity:
status: In Progress → Fix Committed
Changed in libunity:
status: Fix Committed → Fix Released
Changed in unity:
status: Fix Committed → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package libunity - 5.0.0-0ubuntu1

---------------
libunity (5.0.0-0ubuntu1) precise; urgency=low

  * New upstream release.
    - libunity 'make check' fails (LP: #894720)
    - Can't add or remove a FilterOption after inital load (LP: #879484)
    - API in libunity to enumerate favorite apps from launcher (LP: #900219)
    - Allow lenses to control how results from scopes are merged (LP: #911686)
    - Unity.Filter.renderer_name should be enum, not string (LP: #913129)
  * debian/control, debian/rules:
    - build with tests now and so dep on xvfb and dbus-x11
    - build-dep now on gir1.2-dee-1.0, dee-dev 0.9 and latest vala 0.12
  * New sonames:
    - debian/gir1.2-unity-4.0.install => debian/gir1.2-unity-5.0.install
    - debian/libunity6.install => debian/libunity9.install
    - debian/libunity6.symbols => debian/libunity9.symbols
    - updated debian/libunity9.symbols
 -- Didier Roche <email address hidden> Thu, 12 Jan 2012 18:22:47 +0100

Changed in libunity (Ubuntu):
status: New → Fix Released
Changed in pygobject:
status: New → Confirmed
Revision history for this message
Martin Pitt (pitti) wrote :

This got fixed upstream now, thanks Mikkel!

Changed in pygobject (Ubuntu):
assignee: nobody → Martin Pitt (pitti)
importance: Undecided → Medium
status: New → Fix Committed
Changed in pygobject:
status: Confirmed → Fix Released
Revision history for this message
Martin Pitt (pitti) wrote :

This got fixed in pygobject 3.3.4, which is in quantal.

Changed in pygobject (Ubuntu):
status: Fix Committed → Fix Released
Changed in unity (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.