'''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
Comment (by yuri_sevatz):
FYI: I found this bug in the 1.x codeline since Gentoo Linux is taking
forever to update :(
If you need anything more let me know!
--
Ticket URL: <https://dev.deluge-torrent.org/ticket/3299#comment:1>
Comment (by mhertz):
Yes, same in v2.x, and indeed a bug since everything else doesn't have a
set limit, i.e console, core.conf or webui. I use pretty much only
consoleui, and so if going into GTKUI just to check something quickly,
then when quiting GTKUI I have a changed stop_seed_ratio setting. We'll,
it only happens if opening preferences in GTKUI, but regardless, that is
what I usually do(to configure plugins or check a setting and such).
This is also not done in e.g qbittorrent etc.
I myself found and made the manual fix also posted here, which works in
deluge2 also. Thanks in advance.
--
Ticket URL: <https://dev.deluge-torrent.org/ticket/3299#comment:2>
Comment (by yuri_sevatz):
PR opened here:
https://github.com/deluge-torrent/deluge/pull/297
--
Ticket URL: <https://dev.deluge-torrent.org/ticket/3299#comment:3>