Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sequential order not working after changing priority #16387

Open
am01533nk0 opened this issue Feb 5, 2022 · 4 comments
Open

Sequential order not working after changing priority #16387

am01533nk0 opened this issue Feb 5, 2022 · 4 comments
Labels
Confirmed bug An issue confirmed by project team to be considered as a bug

Comments

@am01533nk0
Copy link

am01533nk0 commented Feb 5, 2022

qBittorrent & operating system versions

qBittorrent: 4.3.9 x64
Operating system: Windows 11 21H2 10.0.22000
Qt: 5.15.2
libtorrent-rasterbar: 1.2.14

What is the problem?

Download in sequential order not working after changing priority, if priority not touched - it working (as investigation of progress bar)

Steps to reproduce

No response

Additional context

No response

Log(s) & preferences file(s)

No response

@nev3rfail
Copy link

nev3rfail commented Feb 5, 2022

Can confirm.
This behavior is present for the last few years at least.

More info on the bug:

Steps to reproduce:

  1. Add new torrent to qBt
  2. Enable "Download in sequential order" option for the new download
    2.1. Switch to "General" tab and watch files downloading sequentially, as intended
  3. Change priority of one or multiple files in the download
  4. Switch to "General" tab and watch random parts downloading, as like "Download in sequential order" option is not set

Additional information

If priority is set back to normal again, download then works as intended.

@thalieht thalieht added the Confirmed bug An issue confirmed by project team to be considered as a bug label Feb 6, 2022
@glassez
Copy link
Member

glassez commented Feb 6, 2022

@arvidn, have you something to comment it?

@arvidn
Copy link
Contributor

arvidn commented Feb 6, 2022

if any pieces are marked as time-critical, with set_piece_deadline(), those pieces will be prioritized. I assume that's not the case here though.

There's a picker_log_alert that contains hints on which mode the piece picker is used in, for every invocation of it (so, it's quite verbose). The alert_category::picker_log flag has to be set in the alert_mask.

When in sequential download mode, pieces with priority 0 are still requested. Perhaps because of this, qbt disables sequential mode whenever file priorities are changed.

@Rubber-Duckie
Copy link

Possibly linked #20849

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Confirmed bug An issue confirmed by project team to be considered as a bug
Projects
None yet
Development

No branches or pull requests

6 participants