Comments (2)
.HasBeenSaved is now implemented as part of the pdImage class. The save button(s) on the main form are enabled/disabled based on that property. Per convention, the save button is disabled on image load (if the image was loaded from the hard drive - imported images obviously leave the save button enabled). The save button is disabled after a save has just been performed. Undo/Redo also effect the save button state - if Undo is used to return to the image's original state, the save button is once again disabled (for images on the hard disk). Redo re-enables the save option.
One odd case is if the user performs a series of actions on an image, then saves the image. Other software programs disable the Undo button at this point, but I don't like that - it may be useful to save an image, then Undo to a previous state and save, or start working from that point. In that case, the save button will be disabled on the initial save, but if the user clicks "Undo" and then "Redo," the save button will be re-enabled. I consider this a feature, not a bug.
I'm leaving this open because I still need to prompt the user re: unsaved images at program or image close, and that requires some INI work (so the user can turn off prompting).
from photodemon.
Fully implemented as of 78047db
from photodemon.
Related Issues (20)
- [BUG] - XBM images make PhotoDemon freeze HOT 5
- fill with an image as pattern HOT 1
- Simplified Chinese Language xml--2024-3-15 for v9.2 build 311 HOT 1
- Add more drag+drop targets on the primary window
- [Feature Request] - (Animated Screen Capture)
- Application Errors opening PNG files - PhotoDemon 9.2 pre-alpha (build 339 (and a few before) HOT 2
- [Feature request] - Migrate current project to Xojo (cross platform language)? HOT 17
- PhotoDemon and twinBASIC HOT 9
- Simplified Chinese Language xml , 2024-4-25 for build 380 HOT 1
- [BUG] - Low bit dithered images when exported are larger than their higher bit depth counterparts HOT 2
- Simplified_Chinese 2024.4 build 41 HOT 2
- The anti aliasing quality of the pen and brush is low HOT 2
- Simplified_Chinese-2024.4 buile42 HOT 1
- [Feature request] - disable save options window, use defaults HOT 2
- Thumbnailer attachments HOT 5
- [BUG] - (Unknown Processor Request Submitted: Palette) HOT 3
- [i18n problem] - I have created Japanese language file HOT 6
- [BUG] - Crashes on certain operations during PDF import HOT 7
- Two questions related to JPEG-XL functionality HOT 3
- PDI Format Supporting Thumbnail browser attachment..
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from photodemon.