← Back to team overview

desktop-packages team mailing list archive

[Bug 882732] [NEW] Race Condition setting active source at startup

 

Public bug reported:

It appears there is a race condition when setting the active source, at
startup. We need to do this in the U1MS extension, when a u1ms:// link
is passed into banshee. If banshee is already running, this doesn't seem
to be an issue, as things are relatively idle. However, at startup,
there is a lot more activity happening, and active source notification
seems to race with the main loop, sometimes failing, causing the source
switch to not happen, or causing the source to switch, but leaving the
selected source in the source tree list on the sidebar, to be incorrect.

** Affects: banshee (Ubuntu)
     Importance: High
     Assignee: Rodney Dawes (dobey)
         Status: In Progress

** Changed in: banshee (Ubuntu)
   Importance: Undecided => High

** Changed in: banshee (Ubuntu)
       Status: New => In Progress

** Changed in: banshee (Ubuntu)
     Assignee: (unassigned) => Rodney Dawes (dobey)

** Changed in: banshee (Ubuntu)
    Milestone: None => oneiric-updates

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to banshee in Ubuntu.
https://bugs.launchpad.net/bugs/882732

Title:
  Race Condition setting active source at startup

Status in “banshee” package in Ubuntu:
  In Progress

Bug description:
  It appears there is a race condition when setting the active source,
  at startup. We need to do this in the U1MS extension, when a u1ms://
  link is passed into banshee. If banshee is already running, this
  doesn't seem to be an issue, as things are relatively idle. However,
  at startup, there is a lot more activity happening, and active source
  notification seems to race with the main loop, sometimes failing,
  causing the source switch to not happen, or causing the source to
  switch, but leaving the selected source in the source tree list on the
  sidebar, to be incorrect.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/banshee/+bug/882732/+subscriptions


Follow ups

References