Skip to content

Conversation

@feerrenrut
Copy link
Contributor

Pressing escape does not exit the "confirm profile deletion" dialog. To fix this the dialog has been reworded and the buttons changed to ok | cancel
Fixes #6851

The wx docs for messageBox specifies:

It is recommended to always use wxCANCEL with this style as otherwise the message box won't have a close button under wxMSW and the user will be forced to answer it.

Adding wx.CANCEL allows the dialog to be dismissed with the esc key. However, adding wx.CANCEL results in three buttons (yes, no, and cancel). Rather than do that I have re-worded the sentence, swapped to use the ok/cancel buttons. The message box will now say:

This profile will be permanently deleted, this action cannot be undone.

@feerrenrut feerrenrut requested a review from jcsteh February 13, 2017 12:37
if gui.messageBox(
# Translators: The confirmation prompt displayed when the user requests to delete a configuration profile.
_("Are you sure you want to delete this profile? This cannot be undone."),
_("This profile will be permanently deleted, this action cannot be undone."),
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please split this into two sentences; i.e. "This profile will be permanently deleted. This action cannot be undone."

feerrenrut added a commit that referenced this pull request Feb 14, 2017
for issue #6851
Merge branch 'i6851-escapeFromDeleteConf' into next
@feerrenrut feerrenrut merged commit ea6bdf7 into master Mar 14, 2017
@nvaccessAuto nvaccessAuto added this to the 2017.2 milestone Mar 14, 2017
feerrenrut added a commit that referenced this pull request Mar 14, 2017
For PR #6761 - Web page menu items (menu item checkbox's and radio buttons) can now be activated while in browse mode.  Issue #6735
For PR #6866 - Excel sheet name reporting is now translated. Issue #6848
For PR #6884 - Pressing ESC while the configuration profile "Confirm Deletion" prompt is active now dismisses the dialog. Issue #6851
For PR #6895 - Cell border information can now be reported in Microsoft Excel by using `NVDA+f`. Issue #3044
For PR #6860 - Added support for aria-current attributes. Issue #6358
@feerrenrut feerrenrut deleted the i6851-escapeFromDeleteConf branch September 21, 2017 01:30
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.

Cannot "escape" out of the "Confirm Deletion" prompt when the Deleting Configuration button is pressed

4 participants