neilcsmith-net commented on code in PR #9652:
URL: https://github.com/apache/netbeans/pull/9652#discussion_r4164993148
##########
ide/defaults/src/org/netbeans/modules/defaults/mf-layer-eclipse-keybinding.xml:
##########
@@ -153,7 +153,7 @@
<attr name="originalFile"
stringvalue="Actions/Debug/org-netbeans-modules-debugger-ui-actions-KillAction.instance"/>
</file>
<file name="C-F4.shadow">
- <attr name="originalFile"
stringvalue="Actions/Window/org-netbeans-core-windows-actions-CloseWindowAction.instance"/>
+ <attr name="originalFile"
stringvalue="Actions/System/org-netbeans-core-actions-SystemExit.instance"/>
Review Comment:
This is wrong. This action is not related to system exit. Please revert.
##########
platform/o.n.core/src/org/netbeans/core/ExitDialog.java:
##########
@@ -252,8 +265,28 @@ private static boolean innerShowDialog() {
return result;
}
- else
- return true;
+
+ else {
+ if (!isExitConfirmationEnabled()) {
+ return true;
+ }
+ ResourceBundle bundle = NbBundle.getBundle(ExitDialog.class);
+ Object exit = bundle.getString("CTL_ExitConfirmationExit");
+ Object saveAndExit =
bundle.getString("CTL_ExitConfirmationSaveAll");
Review Comment:
Unless I'm missing something here, this seems unnecessarily confusing for
the end user? Why offer to `Save All` if there is nothing to save? Just exit
or cancel seems enough.
##########
ide/defaults/src/org/netbeans/modules/defaults/mf-layer.xml:
##########
@@ -947,7 +947,7 @@
<attr name="originalFile"
stringvalue="Actions/Debug/org-netbeans-modules-debugger-ui-actions-KillAction.instance"/>
</file>
<file name="C-F4.shadow">
- <attr name="originalFile"
stringvalue="Actions/Window/org-netbeans-core-windows-actions-CloseWindowAction.instance"/>
+ <attr name="originalFile"
stringvalue="Actions/System/org-netbeans-core-actions-SystemExit.instance"/>
Review Comment:
Again, this is wrong. Please revert this.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists