#3299: gtkui  - spin_share_ratio min clamps to 0.5, should be 0.0
----------------------------+--------------------
 Reporter:  yuri_sevatz     |       Type:  bug
   Status:  new             |   Priority:  minor
Milestone:  needs verified  |  Component:  GTK UI
  Version:  master          |   Keywords:
----------------------------+--------------------
 Just noticed a bug in '''deluge/ui/gtk3/glade/preferences_dialog.ui''':

 '''spin_share_ratio''' cannot set values lower than 0.5:

 Original:

 {{{
   <object class="GtkAdjustment" id="adjustment_share_ratio">
     ...
     <property name="lower">0.5</property>
     ...
   </object>
 }}}

 Should be:

 {{{
   <object class="GtkAdjustment" id="adjustment_share_ratio">
     ...
     <property name="lower">0.0</property>
     ...
   </object>
 }}}

 This seems to cause Deluge UI to drop Config change events lower than 0.5,
 and clamps them above 0.5 (e.g. attempting to set to 0.0 minimum read in
 console).  gtk UI is capping these before transmitting --

 {{{
 * ConfigValueChanged: stop_seed_ratio: 0.5
 }}}

 Web UI on the other hand seems to have a less restrictive clamp, so
 attempts to set to 0.0 are transmitted to deluged just fine:

 {{{
 * ConfigValueChanged: stop_seed_ratio: 0.0
 }}}

--
Ticket URL: <https://dev.deluge-torrent.org/ticket/3299>
Deluge <https://deluge-torrent.org/>
Deluge Project

-- 
You received this message because you are subscribed to the Google Groups 
"Deluge Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/deluge-dev/050.2f3a05fcde172787847d5396bed5d2fc%40deluge-torrent.org.

Reply via email to