K-9: Swipe left/right on message to perform action

Created on 5 Jun 2016  路  19Comments  路  Source: k9mail/k-9

Expected behaviour

Swipe right on message in the message list may delete message (like in iOS and AquaMail for Android).

Actual behaviour

Swipe do nothing. There is no such feature.

Steps to reproduce

  1. Just try to swipe on the message in message list. Nothing. Only context menu if you will hold your finger on message.

    Environment

K-9 Mail version: 5.0.10

Android version: 6.0.1

Account type (IMAP, POP3, WebDAV/Exchange): POP3

enhancement

Most helpful comment

Same here. It is on the default app on my Sony Xperia. I also was perplexed by the possibility of accidentally deleting emails at first but it turns out it doesn't happen and I use the function a lot.

Here is how it is configured in my app :

  • Swipe left : sort/archive
  • Swipe right : delete
  • Long touch : select

It is really handy that way.

All 19 comments

Maybe swipe left to archive, as well.

The Gmail app also has this feature; I find it very useful to quickly sort out messages I don't care about.

NO.
That is the stupidest thing that could possibly ever be added.
I don't need any email to be randomly deleted by an unintentional sideways slip.

And as it happens, that motion IS mapped to a function in k9mail -- SELECT.

The gmail app handles the occasional accidental swipes via an "undo". Both desires could be satisfied by making it an optional feature.

Having this configurable could be a good option

@lbdroid would something like this be fairly acceptable in terms of functionality? Being opt-in, it should not disrupt the current UX too much.

As a side note, i just quickly put this together, and I'm by no means an android developer myself, so it would need a thorough review before i consider making a pull request out of that.

@jszwedko thoughts?

To just add some concerns from my side:

  • Current code does not do select/deselect as it states around, it actually does toggle-select regardless of the swipe direction. Git history did not show anything on a quick scan.
  • There's no feedback for the actions taken, unlike some other apps like gmail, whcih means it's hard to be sure if you deleted or archived emails. Better feedback (eg transitions or bubble) could be helpful, but I feel that's a completely separate feature anyway.
  • Other actions could be useful (flagging? starring? mark as spam?)
  • I'm not completely happy with the naming/namespacing of some of the bits in my commit :)

Also relevant: #2807

This is implemented by AquaMail by displaying an icon of the action that will happen upon completing the swipe and an undo popup. It is extremely comfortable when you go for the inbox-0 strategy of archiving processed mail.

Do you accept bounties?

Hello
I stumbled on this thread via Google.
I switched from iPhone to Android 2 weeks ago and tried several email apps.
K-9 and aqua remained on my "desktop". I cannot delete aqua because it has this really efficient swiping feature...
I'd be glad if it was added to k-9, too!
BTW. : some iPhone app (mail?) even featured three actions with swipe. But that was quite error prone for me.

Same here. It is on the default app on my Sony Xperia. I also was perplexed by the possibility of accidentally deleting emails at first but it turns out it doesn't happen and I use the function a lot.

Here is how it is configured in my app :

  • Swipe left : sort/archive
  • Swipe right : delete
  • Long touch : select

It is really handy that way.

I would love that feature. Just moved from a Samsung to a Nokia phone und thus missing this standard of Samsung mail.

+1. helps for fast cleanup of inbox/folders!

Really useful feature, make it configurable, pick a sensible default.

Who the heck is marking all supporting comments as spam or off-topic? Pls provide other means to vote if you don't want that in the bugtracker!

Pls provide other means to vote

@ikcalB the comment reactions (馃憤) are precisely such an alternative.

Hi, a issue Ability to quickly delete messages from the message list: #623 has been closed and Design Overhaul moved this from To Do to Done, but the feature doesn't work. When I try to swipe a mail nothing happens. It's it normal?
I'm using k-9 v 5.6 on Android 9.0

Hi! All email apps I tested have this feature (Gmail, aquamail, BlueMail, maildroid, edison, fairEmail, outlook...)
Any news on k9?

We're also looking forward to see this feature. But, as mentioned before, actions should be configurable anyway. It's impossible to predict which action the user would intuitively assume on swiping left right.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

digitalcraftsman picture digitalcraftsman  路  3Comments

j-ed picture j-ed  路  3Comments

philipwhiuk picture philipwhiuk  路  3Comments

Agno94 picture Agno94  路  3Comments

asbach2 picture asbach2  路  3Comments