Skip to content

File creation is inconsistent with UI #19412

Open
@superbonaci

Description

@superbonaci

qBittorrent & operating system versions

qBittorrent: v4.6.0beta2 (64-bit)
Operating system: Arch Linux (Intel 64-bit)
Qt: 6.5.1
Libtorrent: 2.0.9.0
Boost: 1.81.0
OpenSSL: 3.1.2
zlib: 1.2.13

What is the problem?

Steps to reproduce

  1. Open a torrent file which is not in the list and no files in destination
  2. Start torrent: not ticked
  3. Select one file to be downloaded in the right panel
  4. OK
  5. Result: the file is ticked in Content tab, but was not initialised (created) in the filesystem
  6. Untick the file in the Content tab
  7. Tick it again
  8. Result: the file is created in the filesystem

The inconsistency is, that despite the torrent being paused at all times, ticking a file just when opening the torrent does not initialise the file in the filesystem, but does once the torrent has been added to download list.

Enabling or disabling the option Pre-allocate disk space for all files makes no difference.
Unticking it with 0.0% progress does not remove it from the filesystem either. If there's at least 1 piece for this file, not deleting it is the right thing to do.

Steps to reproduce

No response

Additional context

No response

Log(s) & preferences file(s)

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions