Details
-
Bug
-
Resolution: Out of scope
-
P5: Not important
-
None
-
Qt Creator 3.0.0-beta
-
None
Description
Can you please consider re-designing the layout of the "Remove file" dialog in order to reduce the changes for an unintended action, all while making it consistent with the other [more or less] similar dialogs in Creator:
- the checkbox should not be preselected
- the buttons should be placed at a significant distance from the checkbox' click-able area, thus making an unintentional checkbox "set" reasonably unlikely
PS
I'm attaching for comparison a screenshot with the "Remove all bookmarks" dialog, where the above UI remarks are met.
- note: the preselected button in "Remove all bookmarks" is "Cancel" which makes perfect sense in this case because this is a not-undo-able action, but in the case of "Remove file" the choice of the preselected item is rather debatable (one might argue for having "OK" preselected because pressing it can be undone by simply re-including the file in the project, but one can also argue for having "Cancel" preselected for the situation where the user both wrongly checks the "permanently remove" checkbox and then wrongly hits "Enter")
PPS
IMHO the "permanently delete a file" checkbox should not even be in that dialog since permanently deleting a file can be left as an exclusively-file-manager operation, but if you already had an internal debate over this issue (have/don't have a "permanently delete a file" menu inside Creator) then at least make it harder to do such a not-undo-able action.