Doing anything that refreshes the IDE, like flipping Looks settings removes the "unsaved changes" indicator from the top bar (that micro pencil icon) and automatically names the project "Untitled" so that when saving it, it will save under the name "Untitled", without asking for location, even when not actually saved yet.
That’s because the refreshIDE function exports the project and loads it back (which also makes block dialogs disappear), which is overkill for changes such as looks
i only know this because I commonly work with the Snap! codebase, mainly because of Split!
That’s because the refreshIDE function exports the project and loads it back
It does serialize and deserialize the project, but it should be able to do that without losing the project name — when you save a named project explicitly, it doesn’t lose its name. So this is a bug, not a misfeature. Supposing you can reproduce it, which I can’t. :~/
- Look at the top bar. It should say "untitled" (uncapitalized), next to the settings button.
- Perform anything that marks the project as having unsaved changes, like placing a block. A pencil icon should appear next to "untitled".
- Adjust one of the following settings: HSL pen color model, Zoom blocks or Looks settings.
- Notice how the "untitled" is now capitalized to "Untitled", and the pencil icon has also disappeared.
- Close the tab. It will not ask for confirmation before closing the tab, when it should.
Thank you. Yes, that works (i.e. fails) for me.