mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2026-03-02 22:57:32 -05:00
"Option to Hide Individual Status Filters" #14017
Labels
No labels
Accessibility
AppImage
Bounty
Build system
CI
Can't reproduce
Code cleanup
Confirmed bug
Confirmed bug
Core
Crash
Data loss
Discussion
Docker
Documentation
Duplicate
Feature
Feature request
Feature request
Feature request
Filters
Flatpak
GUI
Has workaround
I2P
Invalid
Libtorrent
Look and feel
Meta
NSIS
Network
Not an issue
OS: *BSD
OS: Linux
OS: Windows
OS: macOS
PPA
Performance
Project management
Proxy/VPN
Qt bugs
Qt6 compat
RSS
Search engine
Security
Temp folder
Themes
Translations
Triggers
Waiting diagnosis
Waiting info
Waiting upstream
Waiting web implementation
Watched folders
WebAPI
WebUI
autoCloseOldIssue
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/qBittorrent#14017
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Bhaalspawn on GitHub (Nov 28, 2022).
Suggestion
Now that we have right click on status filters can you add "hide filter"?
I don't really need all those filters.
Use case
No response
Extra info/examples/attachments
No response
@sledgehammer999 commented on GitHub (Nov 28, 2022):
You can click on the filter title and it will collapse.
@Bhaalspawn commented on GitHub (Nov 28, 2022):
it's not what i'm asking
i want to see Active torrents, All torrents and maybe downloading.....i don't need many of those filters
@Pentaphon commented on GitHub (Nov 28, 2022):
@sledgehammer999 he wants to view SOME but not all the status filters. He would like the option to hide the status filters he doesn't want but keep the ones he does like. I think this issue should be titled "Option to Hide Individual Status Filters"
@barisunsalhn commented on GitHub (Dec 17, 2022):
@sledgehammer999 could you assign me?
@barisunsalhn commented on GitHub (Dec 19, 2022):
@sledgehammer999 hi, currently we have 3 action items in statusfilterwidget ( one of resume, pause, and remove torrents can be selected) . I added 4th action item as hide. Where should I add recover hidden? As 5th action?
@thalieht commented on GitHub (Dec 19, 2022):
Wouldn't it be better to have a list of the statuses as checkable items in a context menu somewhere? e.g. Right click on STATUS (which i'd prefer) or maybe a submenu on "All" or on all the statuses' context menu.
@barisunsalhn commented on GitHub (Dec 19, 2022):
Ok, I will try to imolement "right click on status"
@Bhaalspawn commented on GitHub (Dec 19, 2022):
this is what i mean
context menu on single status is good to hide but it's a problem if i want that status back. context menu on "STATUS" would be great. like when we click on any point of the header to choose which columns we want to see
@barisunsalhn commented on GitHub (Dec 19, 2022):
Is this style ok(I will replace one label with an image)? Since statusLabel's toggled signal is already taken(see below), I had to define new vertical layout and put a new button.
@Bhaalspawn commented on GitHub (Dec 19, 2022):
what is "One"?
@barisunsalhn commented on GitHub (Dec 19, 2022):
Push button's label is currently one.
@barisunsalhn commented on GitHub (Dec 19, 2022):
should I use this example?
@Bhaalspawn commented on GitHub (Dec 19, 2022):
i don't know what push button is, and it seems you are on Linux
the example seems to have some "separate" settings that is also a good solution
@barisunsalhn commented on GitHub (Dec 19, 2022):
Hmm, I guess I will use the same structure of status. Let me illustrate:
Top line will consist of two expandable sections:
∆ status | settings ∆
Whenever user hits one of them, it expands.
∆ status | eettings ▽
□ cancelled
▣ downloading
...(goes on)
@Bhaalspawn commented on GitHub (Dec 19, 2022):
sorry i still don't understand,i'm just and user, not developer. i don''t see any settings.
settings are in the menu (tool-settings)
are you suggesting to ADD "settings" like we now have STATUS LABELS and TRACKERS? that would be the worst solution i think
maybe qbittorrent is different in linux
@barisunsalhn commented on GitHub (Dec 19, 2022):
Yeah, I am suggesting to add hideable settings menu. No they are same in both linux and windows, since qt provides unified interface.
@barisunsalhn commented on GitHub (Dec 19, 2022):
Ok, I will go back to thalieth's second recommendation.
@xavier2k6 commented on GitHub (Dec 19, 2022):
@lapaz17 Could the "select/de-select filters" option be added in the View menu bar like
Loginstead of the current context menu?Does the Filters sidebar or qBittorrent itself have to be closed/re-opened for the selection/de-selection to take effect??
Status Filters->
@xavier2k6 commented on GitHub (Dec 19, 2022):
A
Queuedfilter could be added here too now if they are to become optional??@Bhaalspawn commented on GitHub (Dec 19, 2022):
i think right click on status is the best. so nothing is added here and there
submenu on all no, it will change the alignment
adding something in the view menu could be good and more complete. i mean if there is "select/de-select filters", in the future you can also add the chance to select which group to show or hide (show status, hide trackers, etc)
@thalieht commented on GitHub (Dec 19, 2022):
Toggled is for left click IIRC so for right click something like:
@barisunsalhn commented on GitHub (Dec 19, 2022):
@thalieht Thanks for help, I missed that solution somehow :(
@barisunsalhn commented on GitHub (Dec 20, 2022):
@xavier2k6 I think thalieht ended the confusion, so I am not going to try your suggestions. But thanks for your input.
@barisunsalhn commented on GitHub (Dec 20, 2022):
hi, I just finished everything except lint. Here is the latest version, anything you want to add?

@thalieht commented on GitHub (Dec 21, 2022):
updateGeometry()when checking/unchecking an item to avoid that empty space?@barisunsalhn commented on GitHub (Dec 21, 2022):
Ok
@barisunsalhn commented on GitHub (Dec 22, 2022):
@thalieht updateGeometry does not work for hidden qlistwidgetitems, you can try it yourself on my branch
I' ve tried many things (spent 7 hours)apart from your recommendation inside my new handler:
I do not want to use take item, because it will break existing code (out of range errors...)
@thalieht commented on GitHub (Dec 22, 2022):
Sorry about that, for some reason i thought you'd remove the items instead of hide them. I don't know what else to do. If that;s all that remains maybe the devs will suggest something when you open the PR.
Maybe reimplement
BaseFilterWidget::sizeHint()forTransferListFiltersWidgetand do something with thecount()part in it. No idea if that will work.I may as well mention this now before you open the PR because you'll be required to fix them anyway: please read https://github.com/qbittorrent/qBittorrent/blob/master/CODING_GUIDELINES.md. I see some extra spaces and broken indentation here and there.
@barisunsalhn commented on GitHub (Dec 22, 2022):
Tanks for suggestions. As I mentioned 3 message above, I am aware of linting issues, I will fix after handling resize.
@stalkerok commented on GitHub (Apr 17, 2024):
Closure? (There is hiding of zero status filters)
@luzpaz commented on GitHub (Mar 19, 2025):
Closed by:
@thalieht commented on GitHub (Mar 19, 2025):
It's not the same:
@stalkerok commented on GitHub (Mar 20, 2025):
Anyway, it's a bad idea, users will hide the filters and then complain where their torrents disappeared to.
@Bhaalspawn commented on GitHub (Mar 20, 2025):
so let's remove "delete torrents"
users cond complain they lost all torrents, deleted by mistake...wtf??
Users hide what they want to hide
And i agree that hiding filters with 0 torrents is not the same, not even close
@xavier2k6 commented on GitHub (May 24, 2025):
ANNOUNCEMENT!
For anybody coming across this "Feature Request" & would like/love to see a potential implementation in the future!
Here are some options available to you:
Please select/click the 👍 &/or ❤
reactionsin the original/opening post of this ticket.Please feel free (If you have the "skillset") to create a "Pull Request" implementing what's being requested in this ticket.
(new/existing contributors/developers are always welcome)
DO:
DO NOT:
(These will be disregarded/hidden as "spam/abuse/off-topic" etc. as they don't provide anything constructive.)