Ticket #1484566 (closed Feature Requests: fixed)

Opened 15 months ago

Last modified 3 months ago

could backspace please be (optionally?) captured?

Reported by: memoryhole Owned by: ksteinhoff
Priority: 5 Milestone: 0.2-beta
Component: Client Scripts Version: 0.1-rc1
Severity: normal Keywords:
Cc: steinhof@…

Description

For many folks, when we select emails and press the backspace key, we expect those emails to be deleted. Instead, we end up triggering the <Back> command of our web browser, which takes us back to, for example, the last email we composed. This is really irritating. I know some folks love their back shortcut, but could roundcube at least provide an option to capture this keypress event and delete emails rather than go <Back>?

Attachments

backspace.patch (0.8 kB) - added by ksteinhoff 4 months ago.

Change History

Changed 15 months ago by jpingle

Out of curiosity, what client deletes using the backspace key? Thunderbird doesn't do anything when it is pressed, while Outlook and Outlook Express go up a folder.

It doesn't seem like very intuitive behavior to me...

Changed 15 months ago by memoryhole

They do on Macintosh computers. Apple's Mail.app deletes when the backspace key is pressed, as does Thunderbird and Microsoft Entourage from Office X.

Changed 14 months ago by skrieg

On Gnu/Linux and win32 platforms Thunderbird does not use Backspace to delete messages.

I think it's a bad idea to overwrite Firefox's major keyboard shortcuts.

btw there is a "delete" key on every keyboard. Maybe could we use the delete key to delete messages?

Changed 14 months ago by memoryhole

RoundCube already accepts the "forward-delete" key as a synonym for "delete message", but there isn't a delete key on my laptop. There's a key labeled "delete", but it's really the backspace key. Not everyone has a forward-delete key. Check out the keyboards of the Apple MacBook? Pro laptops: http://a248.e.akamai.net/7/248/2041/1319/store.apple.com/Catalog/regional/amr/macbookpro/img/gallery-big-07.jpg

However, going back one page in RoundCube is mostly useless. All it usually does is sends you back to the compose window of the last message you sent. This is highly confusing for people who are not used to the "backspace-goes-back-one-page" key combo, but are instead used to "backspace-deletes-a-message" in their own email clients.

Changed 10 months ago by seansan

  • milestone set to 0.2-beta

tchja? Maybe someone with a mac to review/decide? 0.1.5

Changed 4 months ago by ksteinhoff

  • owner set to ksteinhoff
  • status changed from new to assigned

Changed 4 months ago by ksteinhoff

Changed 4 months ago by ksteinhoff

  • cc steinhof@… added

The patch I just attached captures backspace and deletes the selected messages.

Should this be made optional?

Changed 4 months ago by thomasb

The default behavior of the backspace key should also be prevented. Some browsers do a history.back when hitting backspace.

Changed 3 months ago by thomasb

  • status changed from assigned to closed
  • resolution set to fixed

Applied to trunk in r1742

Note: See TracTickets for help on using tickets.