-
Notifications
You must be signed in to change notification settings - Fork 64
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 metadata editor without saving raises no warning? #4821
Comments
In my opinion the warning would be helpful, when it really appears only after changes have been made. If it appears always, i think it will be annoying. I often open the metadata editor to examine the metadata without changing anything. As in Kitodo.Production 2.x no warning appears, i think that most users are used to the behaviour without a warning message. I never heard that this has caused loss of metadata. Thus, for me it is not of high priority. Maybe there are other experiences in other institutions. |
Yes, I only meant when something was actually changed. It looks like this is a bug. There is such functionality implemented (Variable I added the invalid label because the error description is too imprecise (I first have to test exactly which changes are not correctly noticed; unfortunately I don't know anymore either). |
In my opinion it is not a bug that the warning does not appear when the user closes the metadata editor explicitely using the "Close" button, because it suggests he discarded changes deliberately. At least that is how it is implemented right now. This behaviour is still bugged at the moment, though, because the warning currently often occurs even when the user did not actually make any changes to the workpiece at all.
I opened a pull request to fix these two errors: #5536 |
@kitodo/kitodo-community-board is the current behaviour described in my comment above sufficient in your opinion or should the implementation be changed to also display the "Warning" dialog when explicitly closing the metadata editor with unsaved changes via the "Close" button? |
We discussed this issue in the community board and we can confirm that the current behaviour of the button is the expected one. |
We have observed that if you have been working in the metadata editor, then you close with the "Close" button, it goes away, but there is no warning of the form: "Do you want to exit without saving?" This is functionally correct, but we were surprised because we felt we were expecting a warning pop-up.
Question: Is that intended? Should we include a warning, or is it fine without?
The text was updated successfully, but these errors were encountered: