#1181 "Del" key in CTRL-F will delete selected password entry!

v1.0_(example)
wont-fix
nobody
Linux (75)
1
2014-04-20
2014-04-19
JP Vossen
No

In passwordsafe-ubuntu-12.04-LTS-0.92BETA.amd64.deb, when you hit the "del" key with a letter selected in the CTRL-F box, you are prompted to delete the selected password entry!

Steps to reproduce:

  1. Open a DB and select an entry
  2. Make sure "Manage > Options > Misc. > Confirm deletion of items" is checked!
  3. CTRL-F and enter a search term
  4. Select one or more characters in the search box
  5. Press "del" key on keyboard
  6. Prompted "Are you sure you want to delete the selected entry?"

Expected:

  • Selected characters in search box should be deleted.

Discussion

  • Saurav Ghosh
    Saurav Ghosh
    2014-04-20

    This is a long known issue. The only fix for this is to change the shortcut for “Delete Entry” in Edit menu to something else. Please note that both Ctrl-D and Ctrl-Delete are taken by “Duplicate Entry” & “Clear Clipboard” respectively.

    A workaround is to use Options => Shortcuts and change the shortcut for “Delete Entry” from “Del” to something like “Shift-Del”.

    You can see why it is not possible to make the DELETE key delete chars in search box when search is active, otherwise act as the shortcut for “Delete Entry”, here:

    https://groups.google.com/forum/#!topic/wx-users/VgTJmur1Hro

     
  • Rony Shapiro
    Rony Shapiro
    2014-04-20

    • status: open --> wont-fix
     
  • Rony Shapiro
    Rony Shapiro
    2014-04-20

    See Saurav's comment for explanation why this won't be fixed in PasswordSafe, unfortunately.

     
  • JP Vossen
    JP Vossen
    2014-04-20

    Understood. I strongly suggest changing the default key binding then, because if "Manage > Options > Misc. > Confirm deletion of items" is not checked this will silently delete password entries which could really hurt people. I understand that "Confirm deletion of items" is checked by default, but you can't assume it will stay checked.