Skip to content

Add settings to skip new project and save confirmation dialogs#452

Open
appositeit wants to merge 1 commit intoCauldronDevelopmentLLC:masterfrom
appositeit:skip-dialogs-settings
Open

Add settings to skip new project and save confirmation dialogs#452
appositeit wants to merge 1 commit intoCauldronDevelopmentLLC:masterfrom
appositeit:skip-dialogs-settings

Conversation

@appositeit
Copy link
Copy Markdown

Summary

  • Adds three new user-configurable settings to the Settings dialog (General tab → "Dialogs" group) that allow suppressing repetitive modal dialogs
  • Skip new project dialog: when enabled, automatically uses default units and configured tool table instead of showing the "Create new project" dialog every time a non-project file (.ngc, .gcode, etc.) is opened
  • Default tool table: selects which tool table (Default/Current/Empty) to use when the new project dialog is skipped
  • Skip save confirmation on close: when enabled, silently discards unsaved changes instead of showing "Project Modified" / "File Modified" prompts

Motivation

Users who primarily use CAMotics as a GCode viewer frequently open and close files. The mandatory "Create new project" dialog on every file open and the "Would you like to save?" dialog on every close create significant friction for this workflow. These settings are opt-in and default to off, preserving existing behaviour.

Test plan

  • Open Settings → General tab → verify new "Dialogs" group appears with checkboxes and combo box
  • Enable "Skip new project dialog", open a .ngc file → verify no dialog appears, project uses default units and tool table
  • Verify "Default Tool Table" combo box is only enabled when "Skip new project dialog" is checked
  • Enable "Skip save confirmation on close", modify a project, close → verify no save prompt appears
  • Disable both settings → verify original behaviour is restored
  • Settings persist across application restarts (stored in QSettings)

🤖 Generated with Claude Code

Users who primarily use CAMotics as a GCode viewer frequently open and
close files, making the "Create new project" and "Project Modified"
dialogs a constant source of friction. This adds three new settings to
the Settings dialog (General tab, "Dialogs" group):

- Skip new project dialog: automatically uses default units and tool
  table when opening non-project files or creating new projects
- Default tool table: configurable default (Default/Current/Empty)
  used when the new project dialog is skipped
- Skip save confirmation on close: silently discards unsaved changes
  instead of prompting

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
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.

1 participant