ace-dent / picotracker

Track boogs for Picotron (unofficial)
Creative Commons Zero v1.0 Universal
1 stars 0 forks source link

Confirm before quitting the application #7

Open farvardin opened 5 months ago

farvardin commented 5 months ago

Describe the bug / feature

Since the update to 0.1.0b, there is a ctrl+Q to quit without warning picotron. It will erase from memory work which hadn't been saved. Unfortunately, there is another bug which make it easy to type CTRL + Q instead of CTRL + A (see https://github.com/ace-dent/picotracker/issues/6)

Expected behavior

I'd like to remap the keyboard, there is the /appdata/system/scancodes.pod but I don't understand how to remap a combination of keys. Besides, I suppose the bug with CTRL + AZERTY will make it tedious to remap something.

Software (please complete the following information):

ace-dent commented 5 months ago

@farvardin - is the enhancement to make a warning when closing without saving?

farvardin commented 5 months ago

@ace-dent I'd like to remap keys, or at least prevent it to understand CTRL+Q when I type CTRL+A.

But the fact that CTRL+Q, even in US keymap, is closing without confirmation is quite annoying and can lead to data loss, so maybe it should be another issue about this one...

ace-dent commented 5 months ago

@farvardin please can you check if the latest release addresses some of these Issues? Many thanks.

ace-dent commented 3 months ago

Re-tested with release v0.1.0g on macOS. Issue of quitting without confirmation still exists.