Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incorrect behavior if torrent file is not readable #228

Open
van-de-bugger opened this issue Jun 26, 2023 · 0 comments
Open

Incorrect behavior if torrent file is not readable #228

van-de-bugger opened this issue Jun 26, 2023 · 0 comments
Labels

Comments

@van-de-bugger
Copy link

transmission-remote-gtk v1.6.0 on Linux (Fedora 38).

Steps to reproduce:

  1. Get any torrent file, e. g. test.torrent.
  2. Make it unreabable, e. g. chmod a-rwx test.torrent.
  3. Start TRG.
  4. Press Ctrl+O, TRG shows "Add a Torrent" dialog.
  5. Navigate to the directory where test.torrent resides and add it.
  6. Since the file is not readable, TRG shows error box "Failed to open file ".../test.torrent": open failed(): Permission denied". That's ok, it is expected behavior. Push "Ok" button.

Actual behavior:

TRG shows "Add Torrent" dialog with torrent file "test.torrent" and *empty list of files in the torrent".

Expected behavior:

Since TRG failed to read the torrent file, it has nothing to do (besides showing the error message). There is no point to let user choose priority and other download options, since these no torrents will be added anyway.

See also:

@LaserEyess LaserEyess added the bug label Jul 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants