Default selected button in close confirmation dialogue is "Discard Changes" on GTK
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
KiCad |
Fix Committed
|
Undecided
|
Unassigned |
Bug Description
Affects all applications.
When switching the active footprint, symbol or closing the application window while having unsaved changes, the appearing confirmation dialog has "Discard Changes" selected as the default option.
"Cancel" or "Save Changes" should be the default selected option to prevent data loss. In my opion, "Cancel" would be the better choice, since it doesn't alter any data by accident (in contrast to "Save Changes".
Application: kicad
Version: 5.1.2-1.fc30, release build
Libraries:
wxWidgets 3.0.4
libcurl/7.64.0 OpenSSL/1.1.1c zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.20.2 (+libidn2/2.0.5) libssh/
Platform: Linux 5.1.5-300.
Build Info:
wxWidgets: 3.0.4 (wchar_t,wx containers,
Boost: 1.69.0
OpenCASCADE Community Edition: 6.9.1
Curl: 7.64.0
Compiler: GCC 9.0.1 with C++ ABI 1013
Build settings:
USE_
USE_
KICAD_
KICAD_
KICAD_
KICAD_
KICAD_
KICAD_
BUILD_
KICAD_
KICAD_
KICAD_SPICE=ON
tags: | added: ui |
The Mac version defaults to "Save Changes" (despite the Apple HIG saying "Cancel" is the safer choice).
Then again, many Mac applications now save automatically (without any input from the user whatsoever). Therefore, I think "Save Changes" is the correct default action.