Adding an option to the Sources filter from a remote Python scope doesn't work

Bug #916758 reported by David Callé
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Unity
Fix Released
Medium
Michal Hruby
libunity
Fix Released
Medium
Michal Hruby
libunity (Ubuntu)
Fix Released
Undecided
Unassigned
unity (Ubuntu)
Fix Released
Medium
Michal Hruby

Bug Description

self.scope = Unity.Scope.new ("/path/for/scope")
self.scope.props.sources.add_option('test','Test', None)

This code, from a remote Python scope, silently fails to add an option to the "Sources" filter.

Related branches

lp:~mhr3/libunity/remote-scope-sources
Mikkel Kamstrup Erlandsen (community): Approve
Diff: 232 lines (+137/-5)
5 files modified
src/unity-lens-filters.vala (+22/-1)
src/unity-scope-proxy-remote.vala (+1/-0)
src/unity-scope.vala (+1/-2)
test/vala/test-lens.vala (+71/-2)
test/vala/test-remote-scope.vala (+42/-0)
api
David Callé (davidc3)
description: updated
Michal Hruby (mhr3)
Changed in libunity:
assignee: nobody → Michal Hruby (mhr3)
Changed in unity:
assignee: nobody → Michal Hruby (mhr3)
milestone: none → 5.2.0
Changed in libunity:
importance: Undecided → Medium
status: New → Confirmed
Changed in unity:
status: New → Triaged
importance: Undecided → Medium
Bilal Akhtar (bilalakhtar)
Changed in unity (Ubuntu):
status: New → Triaged
importance: Undecided → Medium
assignee: nobody → Michal Hruby (mhr3)
Michal Hruby (mhr3)
Changed in libunity:
status: Confirmed → In Progress
Unity Merger (unity-merger)
Changed in libunity:
status: In Progress → Fix Committed
Omer Akram (om26er)
Changed in unity (Ubuntu):
status: Triaged → Fix Committed
Changed in unity:
status: Triaged → Fix Committed
Didier Roche-Tolomelli (didrocks)
Changed in libunity (Ubuntu):
status: New → Fix Committed
Didier Roche-Tolomelli (didrocks)
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.2.0-0ubuntu1

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

* New upstream release.
- Dash: very high latency responding to input (LP: #828582)
- Adding an option to the Sources filter from a remote Python scope
doesn't work (LP: #916758)
- Dash - Genre filter category in the Music Lens should use a 3 column
layout (LP: #841902)
* debian/control:
- build with vala 0.14 and on python
* debian/libunity9.symbols:
- updated symbols
* -
-- Didier Roche <email address hidden> 2012年2月03日 11:38:26 +0100

Changed in libunity (Ubuntu):
status: Fix Committed → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :
Download full text (5.4 KiB)

This bug was fixed in the package unity - 5.2.0-0ubuntu1

---------------
unity (5.2.0-0ubuntu1) precise; urgency=low

* New upstream release.
- Unity needs a way to switch (tab) between windows on current workspace
(LP: #863399)
- compiz crashed with SIGSEGV in BamfLauncherIcon::NameForWindow()
(LP: #865840)
- Gradual degradation in desktop performance. (LP: #888039)
- compiz (unity) crashes with SIGSEGV when a window is minimized.
(LP: #918329)
- FavoriteStore external change support (LP: #681503)
- Launcher - Make Launcher left of screen reveal more responsive and less
prone to false positives (LP: #765819)
- Window auto-maximise functionality should be disabled on monitors with a
resolution above 1024 x 600 (LP: #797808)
- Dash: very high latency responding to input (LP: #828582)
- Dash - Behaviour of the 'All' button in the Dash filters broken in
several ways (LP: #841864)
- alt-tab - The app title in the top left of the top bar should change as
the alt-tab focus changes (LP: #855516)
- Keyboard shortcut - Add keyboard shortcut hint overlay that is displayed
when a user presses and holds the Super key (LP: #855532)
- Unity crashes when started in an environment without utouch support
(LP: #860707)
- Dash - Remove Dash Home shortcut icons (LP: #885738)
- Dash - Most Frequently Used apps change to Recently Used, without
Launcher favorites (LP: #893214)
- Should have a launcher on every monitor (LP: #915944)
- Launcher autohide behaviour on multi-monitor (LP: #915946)
- the unity wrapper should kill compiz before restarting it (LP: #919132)
- Launcher - Implement workspace/launcher cross interactions (LP: #690143)
- Application icons should only display windows from the current workspace
in the window spread (LP: #689733)
- Notification area ("system tray") missing when using dual monitors of
different sizes, with their bottoms aligned (LP: #778256)
- Clicking Nautilus launcher icon fails to open a Nautilus file explorer
window when copying a file and all other Nautilus windows are closed /
bamf should skip the taskbar (LP: #784804)
- Dash - the search box is not aligned correctly relative to the Launcher
BFB button (LP: #838904)
- Dash - A expand/collapse arrow is missing from all the filter category
headers (LP: #841870)
- Dash - the filter buttons should not have a mouse over state
(LP: #838901)
- Dash - the "Filter results" text is the wrong size, wrong font weight,
and aligned incorrectly in both the vertical and horizontal axis
(LP: #863240)
- Add SUPER+TAB switching mode that enables the user to switch
applications via the Launcher (LP: #891620)
- Software Centre - automatically add app icon to launcher (LP: #761851)
- Compiz add transparency to titlebar along with the panel (LP: #912682)
- The search box is too opaque and dark (LP: #913717)
- Dash - Make statefulness of Dash Home and Dash Lenses consistent
(LP: #914759)
- Unity 5.0: "All" button for filters render as "..." (LP: #91...

Read more...

Changed in unity (Ubuntu):
status: Fix Committed → Fix Released
Adolfo Jayme Barrientos (fitojb)
no longer affects: libunity (Ubuntu Quantal)
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.

AltStyle によって変換されたページ (->オリジナル) /