Skip to content

Linux: Audio file selection duplicates previously selected files #340

Description

@stagnantreserve

Describe the bug

When a transcription job is already running and I select another audio file to add a further transcription job, the GUI states "multiple files selected"

The log then contains duplicated file paths, e.g.:

Audio file(s) selected:
/home/user/Audio/interview_01.m4a
/home/user/Audio/interview_02.m4a
/home/user/Audio/interview_02.m4a
/home/user/Audio/interview_02.m4a
/home/user/Audio/interview_02.m4a
/home/user/Audio/interview_01.m4a
/home/user/Audio/interview_02.m4a

In this case I tried to select only interview_02.m4a once, but repeatelty reopening the file browser in order to get only one file only adds to the "file chain".

The problem may to be related to the combination of multiple=True and the initialfile argument in button_audio_file_event(). Removing initialfile while keeping initialdir can maybe avoid re-injecting previously selected files?

System (please complete the following information):

  • OS: Ubuntu
  • noScribe Version: 0.7

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions