-
Notifications
You must be signed in to change notification settings - Fork 42
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
"Close" button on export-in-progress dialog should be disabled until export is complete #291
Comments
Related: when done exporting/building, maybe consider an option to show the import/export buttons instead of closing. There are a lot of times when I export, I check some things on git, commit them, make a tweak, then immediately want to export again. Having to close/reopen the tool is sometimes tedious. I do agree; I've been caught by that several times. The trick is that we need to have a way to ensure the close is re-enabled; if there's a bug and the export / import stops, there's a chance the button will be disabled. I think a better way to handle the close action is to add a verification and flag while an operation is in progress, and prompt the user. This way, even if there was a build/export bug and the operation stopped, and for some reason the flag isn't reset, a user can still close the form and start over. |
Actually, I think the issue is that |
I just made a PR to fix this; @jhgarrison, and @joyfullservice can you test this and see if it fixes the issue? All I did was force the form to use the Thanks! |
Found it! This is related to #247, it looks like the close action didn't get handled the same way; the issues are related; but since Access doesn't handle the |
I am having trouble reproducing this issue on my end... If I am in the process of an export and click the cancel button, I get a message asking me if I really want to cancel... This is the expected behavior. Some users might intuitively click the close button in their attempt to stop the process. The additional coding around the close button is what enables us to show the confirmation message before the main form disappears. If I understand this PR correctly, it would change this behavior so that the main form disappears and would not give the user the opportunity to resume the process. Am I missing something here? What is the desired effect of the proposed PR? |
So, there are two The Close button first prompts if you want to close, then closes the form. This will initiate the The "X" button simply closes the form. This fires the
|
@hecon5 - I finally had a chance to test this out this afternoon, and you are right. The form stays visible and allows you to resume the operation when prompted. I will move forward with the PR you prepared. Thanks!! |
I accidentally clicked the "Close" button during an export and it caused a VB error.
Subsequent export attempts failed with a "write error" to Export.log. To recover I had to delete Export.log.
The text was updated successfully, but these errors were encountered: