mail
mail copied to clipboard
"Delete" keyboard shortcut does not work if anything inside the mail was clicked or marked
Steps to reproduce
- Open any email
- Mark some text or click a link
- Press "Delete" on the keyboard
Expected behavior
The mail gets deleted.
Actual behavior
Nothing happens.
Mail app version
Latest as deployed on cloud.nextcloud.com
Mailserver or service
No response
Operating system
No response
PHP engine version
No response
Web server
No response
Database
No response
Additional info
No response
the message
Let me guess, HTML message?
@ChristophWurst yep, only happens for HTML messages, not for normal ones – just tested on cloud.nc. Is it possible to still catch the shortcut even if the focus is inside the HTML message?
Is it possible to still catch the shortcut even if the focus is inside the HTML message?
It's an iframe and we sandbox it because we don't trust the HTML. We might be able to use postMessage to communicate between iframe and the main window, and tunnel events this way. This is too big of a task for a drive-by fix -> planning