Limit bandwidth usage preferences do not display correctly in GUI

Bug #461378 reported by Joshua Hoover
42
This bug affects 8 people
Affects Status Importance Assigned to Milestone
Ubuntu One Client
Triaged
Medium
dobey
ubuntuone-client (Ubuntu)
Triaged
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
Revision history for this message
minty-morky-mindy (minty-morky-mindy) wrote :

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  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.