Skip to content

Certain searches don't stop even after closing the tab, restarting the program, and/or disconnecting and reconnecting to Soulseek #520

@CypherNL

Description

@CypherNL

Nicotine+ version: 2.1.0dev1-d16417c
Operating System/Distribution: Windows 10 2004 Education

Describe the bug

When searching a very common phrase like "test" and then closing the tab to stop searching, it still tries to get results for "test" and it doesn't stop when reconnecting to Soulseek, restart the program and even research the term and click on "ignore" according to the "Messages" debug output.

This means the downloads could be hang to "Getting address" or something else when downloading and probably uploading nothing.

Expected behavior

After closing the tab, it should stop searching and displaying results even in the debug log.

Steps to reproduce the bug

  1. Enable "Messages" at debug output.
  2. Go to search files
  3. Search for the term "test"
  4. Close the tab
  5. The FileSearchResult messages keeps spamming the debut output and you can download/upload nothing
  6. Restart the program.
  7. After connecting to Soulseek, the FileSearchResult messages continue with results for "test"
  8. It does stop after a while, but it may outputs FileSearchResult messages with results for "test" occasionally.

Additional context

In settings, i have a max search results and stored results of 10000 which may prolong this issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions