-
-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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
Queue order not respected if you move torrents up or down #12109
Comments
What do you mean exactly? |
In the capture i posted (did you checked it?) i moved the 2 to the END of the queue. And remained Downloading. Again, it is in the capture clearly shown. There is 1 and 4 downloading. It should be 1 and 2 downloading. |
Sorry, but it isn't clear. Your problem description is "If you rearrange the queue (up / down / top / bottom) the queue order is not respected". But your screenshot shows that torrents are ordered correctly.
Well. Now I see what's your real problem. |
It is crystal clear and my topic title is not "re-arrange" but "move". Not sure why you say it is not clear. Nothing more that i can possible provide as information. If you manually move torrents and change the order of them, the order is not respected. |
are the torrents force-started? (i.e. the |
According to screenshot it isn't "forced". |
Not forced. Auto-Managed, |
I could not reproduce any problems in Are there any other circumstances I would need to reproduce this? |
Well, it seems that it doesn't happen each and every time i tried it. But it happens several times. I tend to move around files a bit, due to slow speed i currently have. Also (if it is of any help) the problem seems to be auto-resolved if you leave it like this for a few minutes (not sure how long but less than 30). I mean that after a while, the downloading file (4rth in my capture goes to queue). |
The call to |
So why it isn't applied here? |
@eurobank does it happen when you add new torrents? or when you resume a "finished" (but not seeding) torrent? |
Here are my settings: |
No such pattern. I just sometimes re-arrange the queue. |
@eurobank with "Maximum active downloads" set to 1, the surprising part isn't that 2 and 3 are paused, but that 4 is started. It should be paused too |
Yes this is also a problem i always had, a different one. If the speed of the 1st is dropped below the settings for a while (192 in my case) and a second is started, it never stops even when the 1st goes above the 192 limit. |
this is a bit far-fetched, but it might fix some cases: arvidn/libtorrent#4385 |
Is this fix included in 4.2.2 ? |
If you mean arvidn/libtorrent#4385 then yes. |
ok, then it seems fixed. |
Even with 4.3,0 aplha i run now, still unfixed. |
@eurobank can you describe the behavior you see and what you would expect in some more details? Does it happen consistently? i.e. is it trivial to reproduce? If not, can you tel if it happens under certain conditions? I have not (yet) been able to reproduce this in |
It is very easy to replicate, i'm seeing each and every day. REarranging the queue, bottom to top etc etc, shows clearly the issue. Example with download rate threshold 256: Torrent1 (queue position 1) is downloading at 400 (correct) Torrent2 is queued (correct at queue postition 2) Torrent3 is downwloading at constant UNDER 256 it is NOT fixed (wrong since it is at queue position 3). Continues forever. If the Torrent3 goes up from 256, then it is queued. |
is this issue about "don't count slow torrents" or about manually changing queue order? |
I think disabling the "dont' count slow torrents" solves the issue. Not 100% sure, i will have to test more. |
@eurobank ok. looking back to the initial report again, I don't see what the problem is. You have "maximum active downloads: 1" In your screen shot, you have one downloading torrent, the one at queue position 1. This is correctly ordered, that's the one that's supposed to be downloading. Then you have a slow torrent, which isn't subject to the limits, so it will keep downloading. Would you expect the slow torrent to be paused? If so, why? |
Ok, if this: looks correct in your eyes, then what else can i say. Anyways this is a small problem and this issue is getting hairy, so .... |
so is it the presentation in the UI that's the problem? would you expect slow torrents to look different? The reason I ask is because me personally is mostly concerned with the core functionality, and right now this ticket is labeled "core" and "libtorrent", but now it sounds like perhaps "GUI" would be better after all. |
What is a correct QUEUE? Does the (1) (2) (3) (4) (in my case above) means some kind of priorities or NOT? How can N1 be active, N2 and N3 be queued and N4 active? Maybe i got the whole "queue" thing wrong? Is that an issue of your lib or Qbit? |
It's the order in which torrents are considered to use up the active-limit, active-downloading and active-seeding limits.
not all torrents are considered for those limits. force-started torrents is another example.
Well, I think it depends on what the issue turns out to be. I see it can be:
|
If your settings are:
then everything looks correct. |
How do you know the queued 2 and 3 should not be active? And that 4 is slow? How do you know 2 and 3 aren't also slow? Guys, sorry but this is not the way a queue works. You will make me forget the basics. This is not the way all torrent clients work, this is unique to Qbit. And a wrong logic. |
because they are at the 2nd and 3rd position in the queue, and you only have 1 active download, so only the first in the queue is started.
Its download rate < 256 kiB/s (per your settings)
It doesn't matter whether they would be slow if they were started. They are queued so they're not started. |
Let's say slow torrents, instead of having their queue position preserved, are somehow moved to the bottom (or the top) and they don't have a queue number. That way the "queue order" would match the "started order" to some extent. I don't know if this is what you envision, but if the slow torrent becomes fast, and it's queued. What position in the queue should it get?
When asked "what behavior do you expect?" it's a perfect opportunity to explain how you think it should work, and if other clients work the way you describe. It would be great to also give some rationale for why you think an alternate behavior is better. I'm quite serious, I'm open to be convinced that there are better behaviors. |
If the max concurrent torrents is ONE, then if the N1 is ABOVE the "slow" limit, then ONLY one torrent should be active. No other should start (and they DO start for some reason). If i move the last queued torrent to the top, it should be started and ALL other paused/queued. If the N1 drops below the slow limit, then the N2 should be started and so on, until the max torrents are reached. |
An other scenario: Two torrents. The N1 is slow and the second is started also. Correct. As some point the N1 is NOT slow anymore. Should the N2 continue or not? |
Please provide the following information
qBittorrent version and Operating System
Qbit 4.2.1 / Windows 64 Pro
What is the problem
If you rearrange the queue (up / down / top / bottom) the queue order is not respected
What is the expected behavior
The Order # should be respected
The text was updated successfully, but these errors were encountered: