Confirm Before Quit

wonder is its a way to activate a “confirm before quit” function for kicad when quitting the app (I always use shortcut cmd+q for quit) and happen to press this often by accident. thanks for tips.

1 Like

Guess not possible because of silence.

What cmd+q shortcut means? Do cmd is a name of keyboard key I have never heard about?

Can your desktop manager intercept and NOP cmd+q? I’m guessing that you don’t have that sort of flexibility.

Maybe if you supplied your Operating System and Kicad version and what you wish to confirm before quitting, there may have been more replies.

Apple insist on being different. cmd is Apple’s equivalent of the control key everybody else uses

https://www.quora.com/Why-do-Apple-Macs-have-a-command-key-in-addition-to-regular-PC-modifier-keys-and-why-do-they-insist-on-using-them-instead-of-control

Every [tm] app does so. You only have to confirm if there are changes pending to be saved.

Yes instead of ctrl key apple use cmd key (command) and is connected to “Quit Kicad”

quit

ok, I changed shortcut key who was close to CMD+Q (CMD+1 and CMD+2) to other shortcut keys so no more accident kicad close now.

I’ll comment that I do generally prefer programs to have a confirmation before closing, especially ones which take a long time to load.
I’m in Windows 10, and it still has trouble with showing which window is focused, so I sometimes Alt+F4 and close the wrong window. (Sometimes it’ll end up with no windows showing as focused, though that usually means the Taskbar is focused, and so Alt+F4 tries to shut down windows.) But not infrequently, I will end up with two windows showing as in-focus. Or some programs will not take focus when they load.

An “always ask for close confirmation” option could do the trick, with it defaulted to what the current default is.

KiCad only asks for confirmation when your schematic or PCB has been modified. Personally I quite dislike nag screens, they just slow me down, not because of the single click but because they distract and I loose focus on what I was doing).

Blender uses an absolutely fabulous method. Blender files tend to be far to big to fit i memory, so they don’t even try. Blender does not even have a “save file” menu entry. You don’t press a save button before you exit Blender, you just close blender, and it closes without nagging. Your data was already saved, because it works directly from the disk data, and Blender has elaborate built in undo functions, so you can also go back if you made mistakes.

Indeed, if you can’t prevent yourself from accidentally hitting some key combinations, re-assigning (some) hotkeys is a viable option. But it won’t save you from your cat walking over your keyboard. Cat’s see you are petting your keyboard all the time, so if they want to be petted, they go lying on your keyboard.

2 Likes

yes cats are cats.

Screenshot 2025-04-06 at 21.47.59