[Wishlist] WebUI

Bug #478718 reported by István Kondor
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
qBittorrent
Fix Released
Wishlist
Christophe Dumez

Bug Description

I would like to have some more features in the webui. The absence of these prevent me to use QBittorrent on my torrent box.
-- Ability to recheck torrents
-- Global speed limiting
-- Per torrent speed limiting

Plus a "real" bug:
-- The order in which the torrents are displayed both in the Download and the Upload tab seems to be random. I'd prefer alphabetic order. (Of course in the webui.)

It would be really nice to see these features in 1.6!

Revision history for this message
Christophe Dumez (hydr0g3n) wrote :

Thanks for the suggestions, I will see what I can do :) I'm currently busy working on the new qBT UI (more µtorrent like). As soon as I'm done with that, I will work on improving the Web UI.

Changed in qbittorrent:
assignee: nobody → Christophe Dumez (hydr0g3n)
importance: Undecided → Wishlist
milestone: none → 1.6.0
status: New → Confirmed
Revision history for this message
Christophe Dumez (hydr0g3n) wrote :

Stephanos, if you have some time and the will, you may start working on this while I complete the UI remodeling. Let me know.

Revision history for this message
István Kondor (kondor) wrote :

Thanks for the quick answer! I really hope to get these things done (relatively) fast! ;)
Please keep me posted! Thank you guys in advance!
Istvan

ps: Please let me know if I can help with testing, etc. (I can't code, though..)

Revision history for this message
santaris (santaris) wrote :

Ok Chris.I am gonna work on it.
Istvan what do you really mean when you say "The order in which the torrents are displayed both in the Download and the Upload tab seems to be random. I'd prefer alphabetic order. (Of course in the webui.)"?
I am working on qbittorrent v1.6.0 and i use v1.5.5 and both of them does what you call bug.In download and upload list all the torrents are sorted either by name,ratio,size,etc.Probaply you have chosen to sort the torrents by size or by Ratio.This is you torrent are not alphabetically ordered.If this is not what you want qbittorrent to do just give me some more information about that in order to understand and develop it.

Revision history for this message
István Kondor (kondor) wrote :

I referred to the webui. I tried to clarify this by writing: "(Of course in the webui.)" Never mind.
So, my problem is when I login to the webui I have two tabs: Downloads and Uploads, of course. But unlike in qBittorrent, the torrents are not sorted, they seem to appear in a random order. In the webui I cannot sort them by ratio, down speed, etc., but this is not really a problem for me. I would like to simply see them in alphabetic order.
Well, this is just annoying, but the lack of speed limiting is a real disadvantage.
I have only one wish for the GUI: Automatic recheck of torrents when the download finishes. But this is another issue, maybe I should file another bug for this. :)
If you need any more information, or I still couldn't explain my problem clearly enough, please contact me! I am also ready to do some testing or anything to help you!
Istvan

Revision history for this message
santaris (santaris) wrote :

Ok.I misunderstood what you said.Actually i haven't noticed the webui.I know what you want me to do.I am going to implement what you want as soon as possible. Thanks for the suggestions.

Revision history for this message
István Kondor (kondor) wrote :

Thank you very much! I really appreciate your time and effort!

santaris (santaris)
Changed in qbittorrent:
status: Confirmed → In Progress
Revision history for this message
Christophe Dumez (hydr0g3n) wrote :

Santaris added to the Web UI:
- torrent rechecking

I added:
- Per torrent Upload / Download rate limiting

Santaris is currently working on program preferences in Web UI including:
- Global Download/Upload rate Limiting
- DHT/LSD/.. ON/OFF
- Queueing system parameters

He should be done soon (in time for v2.0.0 release).

I think this fulfills all your wishlist.

Revision history for this message
István Kondor (kondor) wrote :

Guys, you are amazing! Thank you very much!
Yes, it should definitely fulfil all of my wishes regarding the webui.
I will upgrade soon to the new beta in your ppa and check the features.
Though I still have some improvement ideas, so I will file them in next few hours. :)
Once again, I'd like to express my appreciation, thank you very much!

Revision history for this message
Christophe Dumez (hydr0g3n) wrote :

qBittorrent v2.0.0 is now in feature freeze (I contacted the translators for strings update). Feel free to file feature requests (if it is not already in v2.0.0) but keep in mind that they will be implemented for v2.1.0 (the sooner).

Wait until next beta to upgrade to v2.0.0 IMO. I fixed Web UI preferences after beta9 release... And Stephanos' preferences are not included yet (I'm waiting for his patch to release the beta10).

Revision history for this message
István Kondor (kondor) wrote :

Well, I updated before your post, but no problem. In fact, the whole webui is disabled -- do you mean that you fixed that after beta9?
My other ideas are not really crucial, and they should be easy to implement, so again nothing to worry about.
But one question: should I file more bugs/wishlists or is it allowed to make a batch out of them? They address different parts of qBittorrent, so I'm not sure. (Well, this bug post was all about the webui, therefore I created only one thread.)
Thanks in advance!

Revision history for this message
Christophe Dumez (hydr0g3n) wrote :

Yes, Web UI preferences were disabled in beta9 for some reason... It is fixed in svn. Sorry about that, I realized it too late.

For your feature requests, it is easier to keep track of them if you file separate reports.

Revision history for this message
Christophe Dumez (hydr0g3n) wrote :

Since you're using my PPA, I'm uploading a new package that includes the Web UI disabled fix.

Revision history for this message
István Kondor (kondor) wrote :

Thanks, I will try it immediately!

Revision history for this message
István Kondor (kondor) wrote :

I checked the webui. Pure awesomeness!
Though I have some thoughts:
-- It seems to use a huge amount of cpu power, makes firefox use ~30% instead of ~10%. When moving the slider for the speed limiting or just scrolling the torrents, it peaks between 50-60%. Well, this is a _lot_ compared to ktorrent's webui, which generates basically 0 and definitely less than 5% cpu usage.
-- The order of the menus when right-clicking on a torrent should be similar to the main window's.

Revision history for this message
Christophe Dumez (hydr0g3n) wrote :

The order in the right click menu is not fixed in SVN.

Regarding the performance issues, I'll look into it today. However, you have to understand that the new Web UI is so close to the regular UI that it is not 'light'. What makes it slow is that there is a lot of Javascript used. However, I use already made Javascript/Ajax libraries like Mootools and MochaUI. I can look into the MochaUI code to see if I can optimize some stuff but I'm not a skilled Web developer ;)

Revision history for this message
Christophe Dumez (hydr0g3n) wrote :

I'll try to optimize but it takes only 3% here (I'm using Chromium browser).

Revision history for this message
Christophe Dumez (hydr0g3n) wrote :

Ok. I have implemented program preferences in Web UI :)

I'll build new packages today for you to test.

Changed in qbittorrent:
status: In Progress → Fix Committed
Revision history for this message
István Kondor (kondor) wrote :

Thanks, it seems to work perfectly. I'll try to do some more tests.
The performance side: how should the cpu usage depend on the number of torrents? Currently I'm seeding 82 torrents. Maybe this causes the huge load.

Revision history for this message
Christophe Dumez (hydr0g3n) wrote :

Hehe, I see :)

This is of course a cause for your CPU usage :) A Web interface is great for remote access but clearly Javascript consumes a lot more CPU than C++ :) I already tried to optimize as much as I could today but I'm no Javascript wizard so I don't know if there are more optimal ways or not.

Clearly, refreshing all the columns (and property panel) in Javascript for 82 torrents is going to eat the CPU :)
One of the optimization I made today though is that filtered torrents are no longer updated in Web UI to save CPU. Thus, if you use the filters the hide torrents, it will reduce CPU usage.

Revision history for this message
István Kondor (kondor) wrote :

Well, I can understand that.
On the other hand, the order of the torrents are still seemingly random. Please make it alphabetic!

Revision history for this message
István Kondor (kondor) wrote :

Some things I noticed recently:
-- In the webui the shown ratio is incorrect, you should take the reciprocal value. So it shows 10 instead of 0.1.
-- In the webui when right-clicking on a torrent the Set global upload limit is upper than the download limiter. It should be the opposite to keep consistency with other menus. Same is true for the peerlist in the main window (of course not in the webui).
-- When seeding a torrent with 0 kib its icon remains grey. When it becomes active its icon changes to the red upwards arrow in the webui but not in the main window of qB. I think this behaviour should be like in the webui, so please fix it in qBittorrent!
-- Don't forget the listing order in the webui! (See previous post.)

Thanks in advance!

P.S.: I rechecked the ratios in the webui and it is a big mess. The ratios in the column on the right is OK except when it should show infinity -- it says 101 instead. On the General tab it usually shows 1 but in some cases 10, but nothing else regardless of the actual ratio.

Revision history for this message
Christophe Dumez (hydr0g3n) wrote :

Everything should be fixed in SVN. Thanks.

I also when the transfer list sortable in the Web UI as a bonus (as a default, it will be sorted by ascending names). Just click on the table headers to toggle sorting order or to sort by another column.

Please check rc2 (I'll probably release it tonight).

Revision history for this message
Christophe Dumez (hydr0g3n) wrote :

rc2 is out and packages are queued on my PPA.

Revision history for this message
István Kondor (kondor) wrote :

Sorry, I am usually offline during weekends.
Anyway, I tried rc3 and it seems really great. The cpu usage is not that horrible when just looking at active torrents. In addition, this huge load always occur with other java-based apps, unfortunately.
I still have some remarks:
-- Just to annoy you: all the lines in the preferences tab should be aligned to the left. I refer to the "Upload" and the "Global maximum number of connections" lines.
-- The ratios: in the column now I see nothing instead of 101 when the ratio is infinity (total dl is zero). In the "General" tab the ratio is still 1.0 for all the torrents.
-- The icon for active uploads are different in the main window and in the webui.
-- Now it is hard to tell the difference between paused torrents (which have been already completed) and those that are actively seeded. Both icons are orange. Same goes for paused and active downloads.
Maybe you could use a colour coding like this: grey=inactive; green=downloading; red=uploading; orange=paused. The colours for inactive and paused states should be global, i.e. the icon should be the same if the torrent is paused before or after downloading.
Again, I wrote a lot, but I really live the new version and I wish to help you make it as flawless as possible.
Having rc3, it really seems to me that it will be the nicest client for linux! Plus, it is damn stable and low on memory.

Revision history for this message
István Kondor (kondor) wrote :

Wow! Everything seems to be fixed in rc4!
The new icons are a bit strange at first sight, but nice and distinguishable, so good job!

Revision history for this message
Christophe Dumez (hydr0g3n) wrote :

Yeah, I saved you message and fixed everything on the plane from Finland to France :)

Why do you say that the new icons are "strange"? I simply changed the colors as you suggested. I do believe that the new icon theme is now easily distinguishable.

Thanks a lot for your input.

Changed in qbittorrent:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.