Jump to content

Undo after first change doesn't remove isDirty flag


Go to solution Solved by Rick Brewster,

Recommended Posts

Steps to reproduce:

  • Open an image.
  • Draw something on it.
  • Undo to original state back. 
  • Close the file or app.

 

A dialog shows up and asks whether if you'd like to save the file or not. The message says: "XXXXX.jpg has unsaved changes..." even though it hasn't.

 

There is also another issue somebody reported a while ago. I'm able to reproduce this as well. 

 

Edited by otuncelli
typo
Link to comment
Share on other sites

1 hour ago, otuncelli said:

Steps to reproduce:

  • Open an image.
  • Draw something on it.
  • Undo to original state back. 
  • Close the file or app.

 

Does not reproduce for me t1801.gif

30b8T8B.gif

How I made Jennifer & Halle in Paint.net

My Gallery | My Deviant Art

"Rescuing one animal may not change the world, but for that animal their world is changed forever!" anon.

 
Link to comment
Share on other sites

Star (*) character on the window title (which shows the file has changed and needs to be re-encoded) shouldn't be there when I click or navigate to "Open Image" in the history panel. Because the image is already at the original state (no need for re-encode).

 

image.png.7ae213a77a0a014ac0a701312aa5d677.png

I'm not sure if this is a bug or intended design. MS Paint, also behaves like this 🤔 

 

I might be missing something obvious, couldn't put my finger on it :) 

Link to comment
Share on other sites

  • Solution

This is how it's supposed to work. The history counts as "unsaved changes" that you might not want to be throwing away. Paint.NET is making sure you're the one to make that decision intentionally, not accidentally.

The Paint.NET Blog: https://blog.getpaint.net/

Donations are always appreciated! https://www.getpaint.net/donate.html

forumSig_bmwE60.jpg

Link to comment
Share on other sites

21 minutes ago, Rick Brewster said:

This is how it's supposed to work. The history counts as "unsaved changes" that you might not want to be throwing away. Paint.NET is making sure you're the one to make that decision intentionally, not accidentally.

 

If so, this can still be improved and the message can be more informative.

 

For example,

History doesn't contain any event that modifies the canvas. I undoed "Paintbrush" event and did a "Rectangle Select". It still thinks "the file has changed."

 

image.png.67abd69baf5e0e44b56c282dea011e8b.png

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...