← Back to team overview

desktop-packages team mailing list archive

[Bug 882732] Re: Race Condition setting active source at startup

 

Banshee 2.2.1 does not fix this bug.

** Changed in: banshee (Ubuntu Oneiric)
       Status: Fix Committed => In Progress

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

-- 
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 Music Player:
  Confirmed
Status in “banshee” package in Ubuntu:
  In Progress
Status in “banshee” source package in Oneiric:
  In Progress
Status in “banshee” source package in Precise:
  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.

  TESTCASE:
  This is an extremely difficult bug to replicate. In order to do so, you would need to have the libubuntuone 0.11.0-0ubuntu3 packages installed from oneiric-proposed (or libubuntuone from the U1 Nightlies PPA), and a version of banshee with the patch to fix bug #872972, but without the patch to fix this bug. Under these conditions, opening a u1ms:// link without banshee already running will result in either the U1MS source not being switched to at all, or with it being displayed by default, but with the source selection in the tree of sources on the left sidebar remaining on the Music library source.

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


References