Opening the Control Panel during sync removes progress indicator

Bug #762722 reported by Matt Griffin
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Ubuntu One Client
Fix Released
High
Eric Casteleijn
Ubuntu One Control Panel
Fix Released
High
Ubuntu One Client Engineering team

Bug Description

Steps to reproduce.
1. Start syncing many files. Wait for the service to connect and ensure that files are moving up or down. The progress indicator should appear.
2. Click on U1 Control Panel in the Unity Launcher.
3. U1 Control Panel appears... well actually the splash (welcome) screen. Then it refreshes to display information about my account.

Expected behavior: I would expect that the progress indicator would remain shown over the U1 Launcher icon.
Actual behavior: The progress indicator goes away when the splash (welcome) screen displays. It never comes back even if I close the Control Panel. The progress indicator returned after restarting.

Related branches

Revision history for this message
Matt Griffin (mattgriffin) wrote :
description: updated
description: updated
Revision history for this message
Natalia Bidart (nataliabidart) wrote :

I'm assigning to Eric so he can debug further.

Changed in ubuntuone-control-panel:
assignee: nobody → Eric Casteleijn (thisfred)
Changed in ubuntuone-control-panel:
status: New → Confirmed
importance: Undecided → High
Revision history for this message
Eric Casteleijn (thisfred) wrote :

I'm looking at this but haven't found the source of the bug yet. We do not actively hide the progress bar when opening the control panel. Jason Smith told me that the progress bar goes away when the application that is updating it falls off dbus. I'm not sure how opening the control panel would cause ubuntuone-client to fall off dbus, though.

Revision history for this message
dobey (dobey) wrote :

I bet the problem is that once you open the application, Unity updates the Launcher with data from it, and suddenly it stops listening to the syncdaemon updates.

Revision history for this message
Eric Casteleijn (thisfred) wrote :

The problem is that the control panel opens a unity connection to be able to remove the urgency hint. This destroys the existing connection from ubuntuone-client. (That's also the reason we didn't find this before: we only started doing this in the control panel very recently.)

The solution is to have API in ubuntuone-client to remove the urgency hint, and then call that from the control-panel through dbus.

Changed in ubuntuone-control-panel:
status: Confirmed → Triaged
Changed in ubuntuone-client:
status: New → Triaged
importance: Undecided → High
assignee: nobody → Eric Casteleijn (thisfred)
Changed in ubuntuone-client:
status: Triaged → In Progress
Changed in ubuntuone-control-panel:
status: Triaged → In Progress
Changed in ubuntuone-client:
status: In Progress → Fix Committed
Changed in ubuntuone-control-panel:
assignee: Eric Casteleijn (thisfred) → Ubuntu One Desktop+ team (ubuntuone-desktop+)
dobey (dobey)
Changed in ubuntuone-client:
milestone: none → 1.7.1
Revision history for this message
Javier Ampudia (ampudia1987) wrote : Re: [Bug 762722] Re: Opening the Control Panel during sync removesprogress indicator

Que esto saquenme

------Mensaje original------
De: Rodney Dawes
Remitente: <email address hidden>
Para: <email address hidden>
Responder a: Bug 762722
Asunto: [Bug 762722] Re: Opening the Control Panel during sync removesprogress indicator
Enviado: 25 de jul de 2011 12:07

** Changed in: ubuntuone-client
    Milestone: None => 1.7.1

--
You received this bug notification because you are subscribed to Ubuntu
One Client.
https://bugs.launchpad.net/bugs/762722

Title:
  Opening the Control Panel during sync removes progress indicator

Status in Ubuntu One Client:
  Fix Committed
Status in Ubuntu One Control Panel:
  In Progress

Bug description:
  Steps to reproduce.
  1. Start syncing many files. Wait for the service to connect and ensure that files are moving up or down. The progress indicator should appear.
  2. Click on U1 Control Panel in the Unity Launcher.
  3. U1 Control Panel appears... well actually the splash (welcome) screen. Then it refreshes to display information about my account.

  Expected behavior: I would expect that the progress indicator would remain shown over the U1 Launcher icon.
  Actual behavior: The progress indicator goes away when the splash (welcome) screen displays. It never comes back even if I close the Control Panel. The progress indicator returned after restarting.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntuone-client/+bug/762722/+subscriptions

Sent from my BlackBerry® wireless device

dobey (dobey)
Changed in ubuntuone-client:
status: Fix Committed → Fix Released
Changed in ubuntuone-control-panel:
status: In Progress → 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.