If you open first file in folder (left arrow key will not move to another image) then adjust e.g. curves and then press left arrow on keyboard you see dialog to asking you to save the settings, if you select "no" popup window will close however if you press left arrow again it will make the dialog come up again and again endlessly.
Same bug for last file in the folder + right arrow key.
Discard edits for first/last file in folder
Moderators: helmut, XnTriq, xnview, Dreamer
-
- Posts: 300
- Joined: Sun Apr 23, 2023 5:14 am
-
- Posts: 300
- Joined: Sun Apr 23, 2023 5:14 am
Re: Discard edits for first/last file in folder
Because made adjustment in Image > Ajust > Curves or did any other changes that require saving.
Re: Discard edits for first/last file in folder
file is dirty
As far as I can see, OP reports the behavior that happens when you click the "No" button, but I'd call it "unpolished behavior" and not a bug.
it happens when open and modify:
- single file in folder and move any direction from it
- first file in folder and move to the prev file
- last file in folder and move to the next file
"Save changed file" dialog will popup
Existing behaviour
when you press No:
- file will not saved (as expected)
- tab will have the same file openned (as expected)
- file will still have all unsaved changes (dirty state) - this is the reporting issue
Desired behaviour
when you press No:
- file will not saved (same)
- tab will have the same file openned (same)
- file shall revert to its original state (all changes abandoned unsaved, dirty=false)
Why? Because you have:
- moved away from existing modified file (pressed ← / → or scrolled)
- pressed No in save dialog, confirming you do not want to keep changes
and asking to save changes again (eg when you press Esc or arrows/scroll) is a bit annoying to my taste