https://bugs.kde.org/show_bug.cgi?id=503608

            Bug ID: 503608
           Summary: mount_points torrent config option is not updated
                    after the "Move Data" operation
    Classification: Applications
           Product: ktorrent
           Version: unspecified
          Platform: Arch Linux
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: joris.guis...@gmail.com
          Reporter: ulte...@gmail.com
  Target Milestone: ---

SUMMARY
After applying the "Move Data" operation on a Torrent, and making it move to
another drive (hence, changing its mount_points dependency), the mount_points
configuration stored (as seen in the Temporary Directory) is unchanged, causing
problems, further down the line.

STEPS TO REPRODUCE
0. Have 2 mount points/ drive partitions/ physical disks
1. Download and Complete any torrent, such that it is on one of the partitions
2. In the Right click menu of the Torrent listing, use the "Move Data" action
3. For the move target directory, choose one that is on the other mount point
4. After the move operation finishes, in the Torrent listing right click menu
go to -> Advanced -> Open Directory -> Temporary Directory
5. Open the "mount_points" file and read it

OBSERVED RESULT
The mount point shown in the file refers to the previous location's dependent
mount point and has not changed since then.

EXPECTED RESULT
The mount_points change to represent the dependent mounts for the current
location of the downloaded data files.

SOFTWARE/OS VERSIONS
KTorrent: 25.07.70 (master)
KDE Frameworks: 6.12.0
Qt: Using 6.9.0 and built against 6.9.0
EndeavourOS (Wayland)
Build ABI: x86_64-little_endian-lp64
Kernel: linux 6.14.2-arch1-1

ADDITIONAL INFORMATION
- The problem persists across application restarts (⇒ the application does not
update the value on exit)
- If the mount point goes away in the future (e.g. you decommission the older
drive after moving the data and the new drive is not on the same mount point),
KTorrent will give an error for each mount point unavailability even though the
data exists in the new location (i.e. Move target) and does not start the
corresponding torrent
- At this point, using "Move Data" again DOES NOT fix the issue. And the only
options remaining are, either to remove the torrent and open the torrent file
again, or to manually edit the values in the Temporary Directory files and
restart KTorrent.
- This also affects cases where the torrents are set to automatically move on
completion

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to