Skip to content

No confirmation dialog when quitting during file upload #39593

@Ram-sah19

Description

@Ram-sah19

When a user attempts to close the application while a file upload is in progress, the system immediately quits without displaying any confirmation dialog. This can lead to accidental termination of uploads and potential data loss.

A confirmation prompt should appear to warn the user that an upload is still in progress before exiting the application.

#Steps to Reproduce

Open Rocket.Chat desktop app.

Join any channel or direct message.

Start uploading a file (large file works best).

While the upload is still in progress, attempt to close the application.

The application closes immediately without any warning.

#Expected Behavior

The application should display a confirmation dialog such as:

“A file upload is currently in progress. Are you sure you want to quit?”

This would prevent accidental interruption of uploads.

#Current Behavior

The application closes immediately without any warning or confirmation dialog.

Environment

Rocket.Chat Version: (example: 6.x.x)

Desktop App Version: (example: 4.x.x)

Operating System: Windows 10 / Windows 11 / macOS / Linux

Browser: Not applicable (desktop app)

#Additional Context

This issue affects usability, especially when uploading large files. A confirmation dialog would help prevent accidental interruptions.

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