Skip to content

Let N discard unsaved scene changes (#318) - #319

Closed
calmasacow wants to merge 1 commit into
srlegrand:mainfrom
calmasacow:fix/318-save-dialog-shortcut
Closed

calmasacow wants to merge 1 commit into
srlegrand:mainfrom
calmasacow:fix/318-save-dialog-shortcut

Conversation

@calmasacow

@calmasacow calmasacow commented Nov 26, 2026 •

Copy link
Copy Markdown
Collaborator

Fixes #318

What was wrong and what happens now

Pressing N in the Save Changes dialog did nothing. Now it chooses Don't Save, so Ctrl+N followed by N opens a fresh scene.

What I checked

  • Built the Linux bundle with ./build.sh.
  • Ran tools/check_app.sh under clang and GCC.
  • Reproduced Ctrl+N followed by N with X11 keyboard input on a separate Xvfb display. The released build kept the unsaved scene. The fixed build discarded it.
  • Ran tools/ui_checks/save_changes.py. It failed on the released build and passed on the fixed build.
  • Ran the host batch and basics tests. All 43 passed.
  • Windows was unavailable for local testing.

How it was made

Made with an LLM, then built and run locally.

Copy link
Copy Markdown
Owner

Thanks for picking this up, and for the Xvfb check script, that's a really nice way to pin a keyboard shortcut down. The same fix landed on main in eb56a9b (N for Don't Save, and S for Save too), and #318 is closed, so I'm closing this as covered.

The Windows failure on this one wasn't yours, by the way: main itself was broken on Windows by a test from #315, which is fixed now. Thanks again!


Generated by Claude Code

@srlegrand srlegrand closed this Nov 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feel] Save changes dialog doesn't respond to "n" hotkey

2 participants