mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2026-03-02 22:57:32 -05:00
When renaming a file with a name that contains " / " the generated folder drives Windows 10 crazy #12368
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#12368
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 @DumboJetEngine on GitHub (Aug 26, 2021).
I am using the latest version of your client on Win10.
I like your client but I have some suggestions:
All of these features (I only doubt about the illegal path characters removal feature) are present in uTorrent, which I was using in the past.
Checklist
Description
Suggestion
(type here)
Use case
(type here)
Extra info/examples/attachments
@glassez commented on GitHub (Aug 27, 2021):
Do you mean the torrents that are currently selected for downloading (i.e. top in download queue) but really have no connected peers?
Why this action should override download queue? Maybe someone doesn't want this? You can move it up in the queue in the case it's really needed. I don't think it should be done by default.
Don't understand really what do you mean.
If qBittorrent is able to create file/folder with some characters in the name then such characters are legal. Otherwise, the file creation/renaming would have failed.
The "Add new torrent" dialog is used to choose some initial options of torrent before torrent is added (or cancel adding it if you want). You can disable this dialog in application preferences so your torrents will be added to the list with default options.
@DumboJetEngine commented on GitHub (Aug 27, 2021):
See option "Add to top of queue" above ^^^.
@thalieht commented on GitHub (Aug 27, 2021):
Do you use "Do not count slow torrents in those limits"? That option is capped by "Max active torrents" so set it to -1 (for infinite) if you want all torrents to have a chance to start downloading (eventually). If you already do this, i can't imagine what else you expect from the queue system.
(Maybe we should change the default of "Max active torrents" to -1? It's not visible anywhere that it caps the aforementioned option and users are left wondering that it doesn't work well.)
Related/duplicate of #15227
Has been asked before but i can't find it.
Duplicate of #11599
For some reason it uses a custom stylesheet. Removing the following seems to fix it but i don't know why it was introduced or if it's the right solution so i'll leave it alone:
github.com/qbittorrent/qBittorrent@b924357ea9/src/gui/addnewtorrentdialog.ui (L267-L269)I think it's about time we rename that column to "Queue" or "Queue Position".
/Off topic
Looks like you "Read and accepted the terms and conditions" with the checklist:
https://github.com/qbittorrent/qBittorrent/blob/master/CONTRIBUTING.md#steps-to-ensure-a-good-bug-report
and about duplicates.
@DumboJetEngine commented on GitHub (Aug 27, 2021):
Hm...
I have the "Do not count slow torrents in those limits" unchecked.
Probably this is the default value?
But when all torrents are idle (0 B/s for upload/download), shouldn't it ignore those torrents anyway, even with the option unchecked?
I mean, zero traffic is essentially "inactive".
Not sure if the displayed "0 B/s" is a rounded value of something not zero, but I doubt that.
Also, not sure if the forced states ( [F] ) is counted as "active", even when there is no traffic for the torrent.
Sorry for not finding the duplicates and for the multiple issues reported here.
I should have at least found #15227.
The last one (stuffing multiple things in one page) is a bad habit of mine that I must stop. :(
@DumboJetEngine commented on GitHub (Aug 27, 2021):
Regarding this, I will try to verify if spaces at the start of file names indeed cause Windows to go nuts.
It's always spoiling my psychology to deal with 8.3 names, so I was trying to avoid testing it so far...
When dealing with #15227, maybe remember that this is another potential thing to fix.
@DumboJetEngine commented on GitHub (Aug 27, 2021):
UPDATE:
I just verified that spaces cause problems. Try this:
Rename any torrent file to contain this sequence " / " (space-slash-space) somewhere in the middle. At this point the qBitTorrent UI should have displayed the created folder but it doesn't. You should deselect and re-select the torrent for the newly created folder to appear.
Then select the file and do "Open containing folder". At this point, you will see that Windows Explorer goes nuts when visiting this folder (tested on Win10).
To delete the files you have to use 8.3 names (found from
dir /X).It seems that the problem is the folder that has a space appended to its name.
Not sure why.
@xavier2k6 commented on GitHub (Aug 27, 2021):
Seems this may have been introduced in error by specifically this commit: https://github.com/qbittorrent/qBittorrent/pull/9591/commits/008e38553924305d66b8f5da59132425065ec75a in PR https://github.com/qbittorrent/qBittorrent/pull/9591 which was adopted by PR https://github.com/qbittorrent/qBittorrent/pull/10600 for v4_2_x branch & was backported to v4_1_x branch in PR https://github.com/qbittorrent/qBittorrent/pull/10615
so this bug has been there a good while!
@xavier2k6 commented on GitHub (Aug 27, 2021):
#15383 opened to address bug in https://github.com/qbittorrent/qBittorrent/issues/15378#issuecomment-907480116
@Chocobo1 commented on GitHub (Aug 28, 2021):
PR #15387 will remove it.
@allanlaal commented on GitHub (Sep 29, 2021):
@DumboJetEngine please make the title less generic :)
@DumboJetEngine commented on GitHub (Sep 30, 2021):
@allanlaal
Done. :)
I used the description of the most important bug (renaming file to something that contains " / ").
I could create issues for the improvement suggestions too, but I am not sure if you want them or not.
@Snowknight26 commented on GitHub (Oct 1, 2021):
To add to the "illegal" character issue, Explorer has different limitations when it comes to accessing files with "illegal" characters than the Win32 API does.
With that in mind, it seems like qBittorrent allows technically valid characters (such as "/" or an ending ".", but surprisingly not "?") during file operations but Explorer certainly doesn't handle them well.
@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.)
@DumboJetEngine commented on GitHub (May 24, 2025):
Hello.
Although my Qt experience is not great and my free time is below zero, I used to have a great deal of (now rusty...) C++ experience that I might be able to deploy here at some point in time.
If you can give me a complete list of software that I need to install, and how to configure them in order to have a functioning development environment, I might be able to give it a go. Maybe that could be added to the readme file of the project to help others too.
I am guessing I would need Qt and Qt Creator, but I am not 100% sure which versions exactly (especially given the separate qt6 lt2 versions of the binaries...).
Also, I know there is an HTML/JS part that also needs support, and I believe I can handle that.