If I select 2 torrents the right-click menu shows the "Download in sequential order" and "Download first and last pieces first" options only if they have the same value in both torrents.
What is the expected behavior:
The options should always be shown, as a tri-state checkbox like in all other programs and quidelines on the planet. Assuming a QCheckBox is used the value in the case of mixed values should be Qt::PartiallyChecked: http://doc.qt.io/qt-5/qt.html#CheckState-enum
Steps to reproduce:
Start 2 torrents.
Set "Download in sequential order" and "Download first and last pieces first" on one of them.
Select both of them.
The "Download in sequential order" and "Download first and last pieces first" options are now hidden from the right-click menu.
qBittorrent version and Operating System:
qbittorrent:
3.3.16-0ppa1~zesty
Ubuntu Linux 17.04If on linux, libtorrent and Qt version:
libtorrent-rasterbar9:
1.1.5+git20170709.1280361236-1ppa1~zesty1
libqt5core5a:5.7.1+dfsg-2ubuntu4~1.17.04.1
What is the problem:
If I select 2 torrents the right-click menu shows the "Download in sequential order" and "Download first and last pieces first" options only if they have the same value in both torrents.
What is the expected behavior:
The options should always be shown, as a tri-state checkbox like in all other programs and quidelines on the planet. Assuming a QCheckBox is used the value in the case of mixed values should be Qt::PartiallyChecked: http://doc.qt.io/qt-5/qt.html#CheckState-enum
Steps to reproduce: