qbittorrent / qBittorrent

qBittorrent BitTorrent client
https://www.qbittorrent.org
Other
28.63k stars 4.01k forks source link

Moving torrent with .unwanted folder does not re-apply hidden attribute after the operation is complete #20826

Open 13xforever opened 6 months ago

13xforever commented 6 months ago

qBittorrent & operating system versions

qBittorrent: 5.0.0beta1 x64 Operating System: Windows 11 24H2 x64 (build 26120.461) Qt: 6.6.2 Libtorrent: 2.0.11.0 Boost: 1.84.0 OpenSSL: 3.2.1 zlib: 1.3.1

What is the problem?

qbt 5.0 [re-]introduces the .unwanted folder option (Options > Downloads > Keep unselected files in ".unwanted" folder). When this feature is used, the created folder has Hidden attribute. However, when this torrent is moved, the .unwanted folder loses the Hidden attribute, which makes it re-appear on Windows with default Explorer settings.

Steps to reproduce

  1. Have a torrent with downloaded files
  2. Unselect some to create the .unwanted folder
  3. Move the torrent to another location

Additional context

No response

Log(s) & preferences file(s)

No response

stalkerok commented 6 months ago

@glassez, please note this.

stalkerok commented 2 weeks ago

@glassez is it possible to remove the “hidden” attribute altogether? This is useful, if the user wants to delete unnecessary files and free up space, he could easily do it and then rehash the torrent in the client.