Skip to content
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

"Unsaved Changes" pops up when exiting a custom level that hasn't changed. #1499

Closed
MrIceblock opened this issue Aug 12, 2020 · 2 comments · Fixed by #1504
Closed

"Unsaved Changes" pops up when exiting a custom level that hasn't changed. #1499

MrIceblock opened this issue Aug 12, 2020 · 2 comments · Fixed by #1504
Labels
category:code involves:editor priority:low status:needs-work In progress, but no one is currently working on it (New volunteers welcome) type:bug

Comments

@MrIceblock
Copy link

SuperTux version: 0.6.1.1
System information: Ubuntu 20.04 LTS

Expected behavior

Don't pop up when nothing is done

Actual behavior

Pops up when nothing is done

Steps to reproduce actual behavior

Edit a Custom Level without doing anything, and then exit the level

Additional debugging information

I don't think this is a bug.

@Zwatotem Zwatotem added category:code involves:editor priority:low status:needs-work In progress, but no one is currently working on it (New volunteers welcome) type:bug labels Aug 12, 2020
@Semphriss
Copy link
Member

Investigating on this, and I found a related error : When opening a level and performing multiple actions, undoing only the last of them then quitting will not ask for save, despite multiple changes having been made.

I'm currently working on fixing this.

@Semphriss
Copy link
Member

Alright, I managed to fix the original bug : a freshly loaded level no longer asks to save before quitting.

On the related bug I found, it seems as a single undo resets the entire stack (somehow). I'm still investigating to fix this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category:code involves:editor priority:low status:needs-work In progress, but no one is currently working on it (New volunteers welcome) type:bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants