Add-Ons Manager: Change default Button to "No" for Delete Add-On Confirmation Dialog (#10015)#10087
Conversation
|
I don't really like the idea of having three buttons. There are really only two outcomes: proceed, do not proceed. I think this message should be re worded anyway, something like: |
|
Instead of yes/no/cancel, why not just do Remove and Cancel, with
Cancel as the default?
|
|
I agree with @feerrenrut – Yes/No/Cancel is one button to much. I suggest the following:
See also: Issue #10016 Question: What shall we do if such a removed add-on in the userConfig folder is still available in the systemConfig? Removing both at the same time would require admin privileges. Therefore I wouldn't prefer this. |
josephsl
left a comment
There was a problem hiding this comment.
Hi,
In addition to changing the user interface, I think what can improve things a bit is mentioning the name of the add-on, similar to what is done when installing it. For example, something to the effect of:
Are you sure you wish to remove Screen Curtain add-on? This cannot be undone.
Notice that the wording is very similar to the prompt in Configuration Profiles/Delete dialog (editing the prompt in configuration profiles is a different story). Also, you may wish to take a look at seeing if the user guide section on add-ons need tweaking if the user interface changes.
Thanks.
My first aim was to limit translation impact, but I agree OK/Cancel fits better here.
This sadly does not fit the standard Windows / WX message boxes.
This would further reduce ambiguity and enhance user confidence. |
For what it's worth |
…irmation Dialog (nvaccess#10015) * Mention add-on name in confirmation prompt (nvaccess#10087 (review))
ed71bf7 to
f469fd7
Compare
|
Further testing of the OK/Cancel with Cancel as default felt pretty awkward. |
|
Why do we actually want no as the default button? If a user tries to remove an add-on, in most cases he is expected to choose yes. If I press shift+delete in Windows Explorer, Yes is also chosen as the default button when removing a file/folder. |
|
Personally, I don't like having no as the default. However I know it was
requested by a few people. I think the idea was that you might press enter too
many times, and accidentally answer yes without knowing there was even a prompt?
Since add-ons are pretty easy to get back, I don't really get it, but as @JulienCochuyt said, it doesn't really hurt the UX--it's harmless.
|
I must confess I also am not that much convinced, but feel like it does not arm either. Please note the addition of the add-on name in the confirmation message, also included in this PR as suggested by @josephsl, does indeed improve user experience IMHO. |
|
@LeonarddeR - For the average or less-experienced Windows user, in my opinion they'd more likely use the delete key by itself - in which case, if they accidentally delete a file/folder they have the option in most cases of recovering from the Recycle Bin. However, it's not currently possible to recover a deleted add-on so making No the default choice at least makes it less likely that an add-on will accidentally be deleted. |
|
Damn, caught again by my own fix on |
feerrenrut
left a comment
There was a problem hiding this comment.
Thanks @JulienCochuyt
Link to issue number:
Fixes #10015
Summary of the issue:
When choosing to remove an add-on via the Add-Ons Manager, a warning is displayed; however, the "Yes" button is set as the default.
@elliott94 requested the default be changed to "No" instead in #10015 (comment)
@DrSooom suggested the escape key be used to cancel as well in #10015 (comment)
Description of how this pull request fixes the issue:
Set the "No" button as the default.
Add a "Cancel" button as well so it is automatically mapped to the escape key.
Alternatively, this yes/no turned into a yes/no/cancel could have been replaced by a ok/cancel, but this would require a rewording of the confirmation message and thus translation effort.
Testing performed:
Removed an add-on.
Denied removal of an add-on.
Known issues with pull request:
Change log entry:
Section: Changes
In the Add-ons manager, when prompted to confirm removal of an add-on, "No" is now the default.