[FFe] Notify clients when volumes info from server is ready
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Ubuntu One Client | Status tracked in Trunk | |||||
Stable-3-0 |
Fix Released
|
Undecided
|
Unassigned | |||
Trunk |
Fix Released
|
Medium
|
Natalia Bidart | |||
Ubuntu One Control Panel | Status tracked in Trunk | |||||
Stable-3-0 |
Fix Released
|
Undecided
|
Unassigned | |||
Trunk |
Fix Released
|
Medium
|
Natalia Bidart | |||
Ubuntu One Windows Installer |
Won't Fix
|
Medium
|
Natalia Bidart | |||
ubuntuone-client (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | |||
Precise |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
The current syncdaemon API does not provide a way for clients to know when the volumes info is updated using the server info that is requested at startup time. This has some nasty consequences for end-user apps like showing an empty cloud folder list, even if the user has several folders in its cloud space (this always happens where the user starts ubuntu one without previous metadata on disk, can be a clean install or just wiped metadata).
We need to provide an IPC/DBus signal that should be fired when that info is ready, so clients can connect to it and show the updated info to the user.
Is worth noting that the branch that solves this does not modify any UI nor it changes any string.
Related branches
- Natalia Bidart (community): Needs Resubmitting
-
Diff: 179 lines (+44/-0)10 files modifiedtests/platform/test_external_interface.py (+2/-0)
tests/syncdaemon/test_interaction_interfaces.py (+14/-0)
tests/syncdaemon/test_vm.py (+4/-0)
ubuntuone/platform/linux/dbus_interface.py (+5/-0)
ubuntuone/platform/tools/windows.py (+1/-0)
ubuntuone/platform/windows/ipc.py (+5/-0)
ubuntuone/platform/windows/ipc_client.py (+5/-0)
ubuntuone/syncdaemon/event_queue.py (+1/-0)
ubuntuone/syncdaemon/interaction_interfaces.py (+5/-0)
ubuntuone/syncdaemon/volume_manager.py (+2/-0)
- Brian Curtin (community): Approve
- Roberto Alsina (community): Approve
-
Diff: 297 lines (+113/-9)12 files modifiedtests/platform/test_external_interface.py (+2/-0)
tests/platform/test_tools.py (+23/-5)
tests/syncdaemon/test_interaction_interfaces.py (+18/-0)
tests/syncdaemon/test_vm.py (+27/-0)
ubuntuone/platform/linux/dbus_interface.py (+4/-0)
ubuntuone/platform/tools/__init__.py (+9/-2)
ubuntuone/platform/tools/windows.py (+1/-0)
ubuntuone/platform/windows/ipc.py (+5/-0)
ubuntuone/platform/windows/ipc_client.py (+9/-1)
ubuntuone/syncdaemon/event_queue.py (+1/-1)
ubuntuone/syncdaemon/interaction_interfaces.py (+11/-0)
ubuntuone/syncdaemon/volume_manager.py (+3/-0)
- Alejandro J. Cura (community): Approve
-
Diff: 557 lines (+194/-26)19 files modifiedbin/u1sdtool (+7/-1)
tests/platform/linux/test_notification.py (+6/-6)
tests/platform/test_external_interface.py (+2/-0)
tests/platform/test_tools.py (+29/-5)
tests/proxy/test_tunnel_server.py (+33/-0)
tests/syncdaemon/test_interaction_interfaces.py (+18/-0)
tests/syncdaemon/test_tunnel_runner.py (+9/-0)
tests/syncdaemon/test_vm.py (+27/-0)
ubuntuone/platform/linux/dbus_interface.py (+4/-0)
ubuntuone/platform/linux/notification.py (+1/-1)
ubuntuone/platform/tools/__init__.py (+11/-7)
ubuntuone/platform/tools/windows.py (+1/-0)
ubuntuone/platform/windows/ipc.py (+5/-0)
ubuntuone/platform/windows/ipc_client.py (+9/-1)
ubuntuone/proxy/tunnel_server.py (+10/-2)
ubuntuone/syncdaemon/event_queue.py (+1/-1)
ubuntuone/syncdaemon/interaction_interfaces.py (+11/-0)
ubuntuone/syncdaemon/tunnel_runner.py (+7/-2)
ubuntuone/syncdaemon/volume_manager.py (+3/-0)
- Alejandro J. Cura (community): Approve
-
Diff: 1335 lines (+334/-437)19 files modifiedubuntuone/controlpanel/backend.py (+13/-31)
ubuntuone/controlpanel/dbustests/test_sd_client/test_linux.py (+0/-94)
ubuntuone/controlpanel/gui/__init__.py (+1/-1)
ubuntuone/controlpanel/gui/qt/controlpanel.py (+3/-4)
ubuntuone/controlpanel/gui/qt/folders.py (+3/-2)
ubuntuone/controlpanel/gui/qt/gui.py (+1/-2)
ubuntuone/controlpanel/gui/qt/main/__init__.py (+2/-1)
ubuntuone/controlpanel/gui/qt/main/tests/test_main.py (+10/-1)
ubuntuone/controlpanel/gui/qt/tests/test_folders.py (+13/-1)
ubuntuone/controlpanel/gui/qt/tests/test_preferences.py (+15/-0)
ubuntuone/controlpanel/gui/qt/tests/test_wizard.py (+12/-1)
ubuntuone/controlpanel/gui/qt/wizard.py (+4/-8)
ubuntuone/controlpanel/sd_client/__init__.py (+10/-13)
ubuntuone/controlpanel/sd_client/linux.py (+0/-46)
ubuntuone/controlpanel/tests/test_backend.py (+66/-105)
ubuntuone/controlpanel/tests/test_sd_client.py (+23/-17)
ubuntuone/controlpanel/utils/__init__.py (+8/-4)
ubuntuone/controlpanel/utils/tests/test_windows.py (+106/-71)
ubuntuone/controlpanel/utils/windows.py (+44/-35)
tags: | added: u1-zomg-windows |
Changed in ubuntuone-client: | |
status: | New → Triaged |
Changed in ubuntuone-control-panel: | |
status: | New → Triaged |
Changed in ubuntuone-windows-installer: | |
status: | New → Triaged |
Changed in ubuntuone-client: | |
importance: | Undecided → High |
Changed in ubuntuone-control-panel: | |
importance: | Undecided → High |
Changed in ubuntuone-windows-installer: | |
importance: | Undecided → High |
Changed in ubuntuone-client: | |
assignee: | nobody → Natalia Bidart (nataliabidart) |
Changed in ubuntuone-control-panel: | |
assignee: | nobody → Natalia Bidart (nataliabidart) |
Changed in ubuntuone-windows-installer: | |
assignee: | nobody → Natalia Bidart (nataliabidart) |
tags: | added: u1-windows |
Changed in ubuntuone-client: | |
assignee: | Natalia Bidart (nataliabidart) → Brian Curtin (brian.curtin) |
Changed in ubuntuone-client: | |
importance: | High → Medium |
Changed in ubuntuone-control-panel: | |
importance: | High → Medium |
Changed in ubuntuone-windows-installer: | |
importance: | High → Medium |
Changed in ubuntuone-client: | |
status: | Triaged → In Progress |
description: | updated |
Changed in ubuntuone-windows-installer: | |
status: | Triaged → Won't Fix |
description: | updated |
tags: | added: u1-fe |
summary: |
- Notify clients when volumes info from server is ready + [FFe] Notify clients when volumes info from server is ready |
description: | updated |
Changed in ubuntuone-client: | |
assignee: | Brian Curtin (brian.curtin) → Natalia Bidart (nataliabidart) |
Note to self: set a signal once volumes in vm are ready, then handle the signal in interaction_ interfaces to let control-panel and others know that we're ready.