Can't delete attachment/note in a collection with del key
It's not possible to delete an attachment/a note from within a collection with the del key. The only solution is Right-click -> "Delete Selected Item from Library"
Steps:
1. Create an item, add an attachment (link, snapshot, copy of file) or a note. Add the item to a collection.
2. Try to delete the note/the attachment with the delete key from "My Library": ok (confirmation dialog, etc.)
3. Go to the relevant collection. Try to delete the note/the attachment with the del key. Nothing happens.
I think it's not the correct behaviour.
Standalone 3.0.14 (and also tested with the master and 3.1 branches and FF 19)
Edit: actually, maybe this is done on purpose to distinguish "remove from collection"/"delete from library" ? (as the 'del' key is used to remove an item from a collection, this would be confusing if it would be used to delete an attachment in this context? But the confirmation dialog would avoid any confusion I think.)
Steps:
1. Create an item, add an attachment (link, snapshot, copy of file) or a note. Add the item to a collection.
2. Try to delete the note/the attachment with the delete key from "My Library": ok (confirmation dialog, etc.)
3. Go to the relevant collection. Try to delete the note/the attachment with the del key. Nothing happens.
I think it's not the correct behaviour.
Standalone 3.0.14 (and also tested with the master and 3.1 branches and FF 19)
Edit: actually, maybe this is done on purpose to distinguish "remove from collection"/"delete from library" ? (as the 'del' key is used to remove an item from a collection, this would be confusing if it would be used to delete an attachment in this context? But the confirmation dialog would avoid any confusion I think.)
IMO, for consistency (and now that I know ctrl+del exists) I think del should not move items to trash from the library root. The behavior should be consistent throughout Zotero.
Alternatively, and perhaps ideally, to stay consistent with system shortcuts (and I'll be referring to Windows shortcuts here), I think del should prompt and move items to trash globally, while ctrl+del (so it's not confused with shift+del function to bypass trash) should be removing items from collection globally. This is a complete flip in shortcuts, so I don't think it's worth user confusion at this point.
Edit: by globally I mean while inside a collection or while in library root, not that ctrl+del should remove item from all collections.
(and the original thread)
A list of useful shortcuts would be a great addition the wiki: in the knowledge base perhaps?
Anyway, is it consistent (and user-friendly) to have del and ctrl+del having different effects depending on the context (in My Library or in a collection)?
ctrl+del in My Library deletes the item without confirmation dialog
ctrl+del in a collection deletes the item with a confirmation dialog
del in My Library deletes the item with a confirmation dialog
del in a collection removes the item from the collection (without confirmation dialog)
That could also include the + and - keyes, shift+enter while editing authors, as well as the shortcuts specified under pref. --> shortcuts and for the word processor plugin.
That said, I'm wondering if delete and shift+delete should maybe even be included (though not modifiable) in the preferences, where regular users are more likely to see them: Let's face it, a kb article will reach 10% of users max (and that's counting multiplier effects etc.).
That could include "ctrl" to display which collection an item is in.
- ctrl/alt/opt - display collection an item is in
- shift+enter - create new empty creator field when editing creator
- delete /ctrl+del - see above
WP plugin
- ctrl+down - open details
- :123 and p.123 for page numbers
The page should likely also mention Zutilo/Keyconfig as an option for additional shortcuts as well as the shortcuts in the pref panel.
https://github.com/adam3smith/zotero-workshops/tree/master/Handbook
and I'd be happy for collaborators.
Many people still won't read it, but it'll make it easier to find things for those who are looking and I believe librarians in particular might like it.
It'd also facilitate translation because it's one cohesive doc.
(On an semi-related tangent, I think people delete collections all the time without intending to leave items behind, and it's actually rather hard to delete all items in a collection hierarchy unless you turn recursiveCollections on, so there should probably be a better way to do that—checkbox in the confirmation dialog or a separate menu option.)
While you're at it, check your database integrity (Preferences... -> Advanced -> Files and Folders -> Check Database Integrity). If that doesn't turn anything up, provide a Debug ID for the action of deleting the attachment (and having the whole item moved to trash).
Please correct any mistakes!