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

filetransferplugin: Present save popup once #392

Merged
merged 1 commit into from
Dec 6, 2023

Conversation

mfukar
Copy link
Contributor

@mfukar mfukar commented Nov 22, 2023

The plugin's save command created a window for every successful or erroneous attempt to save individual files selected. This is tedious for more than a few files.

Instead, collect errors and present a single pop-up window.

In the future, an alternative might be to configure a selection between this behaviour and a brief message in the status bar.

Fixes a bug where doFLDA was erroneously called on messages ending a transfer ("FLFI..."), causing completed status for a file to be incorrect and display inconsistently.

Adds FiletransferPlugin::doFLFI which emits a new signal so that Form::finishfile_slot can record completion properly and auto-save if needed. updatefile_slot now tracks received packages and completion is ONLY recorded if a FLFI message is present.

The plugin's save command created a window for every successful or
erroneous attempt to save individual files selected.
This is tedious for more than a few files.

Instead, collect errors and present a single pop-up window.

In the future, an alternative might be to configure a selection between
this behaviour and a brief message in the status bar.

Fixes a bug where doFLDA was erroneously called on messages ending a
transfer ("FLFI..."), causing completed status for a file to be
incorrect and display inconsistently.

Adds FiletransferPlugin::doFLFI which emits a new signal so that
Form::finishfile_slot can record completion properly and auto-save if
needed. updatefile_slot now tracks received packages and completion is
ONLY recorded if a FLFI message is present.

Signed-off-by: Michael Foukarakis <[email protected]>
@alexmucde
Copy link
Collaborator

@mfukar Is it possible to add a signed off statement?

@alexmucde
Copy link
Collaborator

@mfukar Oh sorry i have overseen, you have already done.

@alexmucde alexmucde merged commit 920a4d0 into COVESA:master Dec 6, 2023
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants