Limit bandwidth usage preferences do not display correctly in GUI

Bug #461378 reported by Joshua Hoover on 2009-10-26
42
This bug affects 8 people
Affects Status Importance Assigned to Milestone
Ubuntu One Client
Medium
dobey
ubuntuone-client (Ubuntu)
Undecided
dobey
Nominated for Karmic by Joshua Hoover

Bug Description

Running on Karmic with all the latest and greatest updates as of today (2009-10-26), the Ubuntu One client preferences for "Limit bandwidth usage" do not display what is saved in the ~/.config/ubuntuone/syncdaemon.conf file.

Steps to reproduce:

1. Right-click Ubuntu One client and select "Preferences"
2. Set bandwidth usage prefs
  2a. Click "Limit Bandwidth Usage"
  2b. Set Maximum upload speed (KB/s) to "256"
  2c. Set Maximum download speed (KB/s) to "2560"
3. Click "Close" button
4. $ cat ~/.config/ubuntuone/syncdaemon.conf

Result:
[bandwidth_throttling]
on = True
read_limit = 2621440
write_limit = 262144

5. Right-click Ubuntu One client and select "Preferences" and notice the bandwidth usage checkbox and values are not set properly (set to their defaults)

In case it matters, we can run the following 2 commands to show the settings are being saved properly:

$ dbus-send --session --dest=com.ubuntuone.SyncDaemon --print-reply --type=method_call /config com.ubuntuone.SyncDaemon.Config.bandwidth_throttling_enabled

Result: method return sender=:1.56 -> dest=:1.127 reply_serial=2
   boolean true

$ dbus-send --session --dest=com.ubuntuone.SyncDaemon --print-reply --type=method_call /config com.ubuntuone.SyncDaemon.Config.get_throttling_limits

Result: method return sender=:1.56 -> dest=:1.128 reply_serial=2
   array [
      dict entry(
         string "download"
         int32 2621440
      )
      dict entry(
         string "upload"
         int32 262144
      )
   ]

tags: added: desktop+ ubuntuone-sru

Ubuntu One Preferences - Limit Bandwidth Usage - changes not remembered. Bug confirmed.

Changed in ubuntuone-client (Ubuntu):
status: New → Triaged
assignee: nobody → Rodney Dawes (dobey)
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers