Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Swipe left/right on message to perform action #1426

Closed
ghsrcgh opened this issue Jun 5, 2016 · 31 comments · Fixed by #6335
Closed

Swipe left/right on message to perform action #1426

ghsrcgh opened this issue Jun 5, 2016 · 31 comments · Fixed by #6335
Labels
type: enhancement New features or improvements to existing features.

Comments

@ghsrcgh
Copy link

ghsrcgh commented Jun 5, 2016

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

@philipwhiuk philipwhiuk added the type: enhancement New features or improvements to existing features. label Jun 6, 2016
@rcorre
Copy link

rcorre commented Sep 22, 2016

Maybe swipe left to archive, as well.

@jszwedko
Copy link

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

@lbdroid
Copy link

lbdroid commented Sep 30, 2017

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.

@jszwedko
Copy link

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

@qrovira
Copy link

qrovira commented Nov 17, 2017

Having this configurable could be a good option

@qrovira
Copy link

qrovira commented Nov 18, 2017

@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?

@qrovira
Copy link

qrovira commented Nov 18, 2017

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 :)

@qrovira
Copy link

qrovira commented Nov 20, 2017

Also relevant: #2807

@mordae
Copy link

mordae commented Jan 28, 2018

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?

@ghost

This comment has been minimized.

@sylvainsab
Copy link

sylvainsab commented Jun 24, 2018

#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.

@cketti cketti changed the title Swipe right - delete message (like in iOS and AquaMail for Android) Swipe left/right on message to perform action Jul 12, 2018
@Kadumi

This comment has been minimized.

@ikcalB

This comment has been minimized.

@geekpete

This comment has been minimized.

@ikcalB

This comment has been minimized.

@waldyrious

This comment has been minimized.

@sobuj53

This comment has been minimized.

@bonjour81

This comment has been minimized.

@PrismaComputer

This comment has been minimized.

@xCozmox

This comment has been minimized.

@Goldmaster

This comment was marked as off-topic.

@lindoman
Copy link

I would really like this feature. I used to use Aquamail also, and not only is it configurable in Aquamail, but also there were different actions depending on how far you swiped and in which direction... up to three per direction I seem to remember, with very good visual and even haptic feedback (if you wanted) so you could tell what action you were about to take.

@xCozmox

This comment was marked as off-topic.

@sssemil

This comment was marked as outdated.

@Sokratte

This comment was marked as off-topic.

@Offerel

This comment was marked as off-topic.

@MattiasTR

This comment was marked as off-topic.

@Rudi9719

This comment was marked as off-topic.

@FBachofner

This comment was marked as off-topic.

@acitonic
Copy link

acitonic commented Dec 9, 2022

It would be great if this feature will be added, maybe as option in th settings. I'm working a lot with folders, so it'll be great if I could just swipe for sort or deleting.
So 2 configurable swipe actions in the mail list would be perfect.

This is an issue which is requested so often and for over 5 years. I don't really understand why it's still not implemented? Very sadly.....

@PrismaComputer
Copy link

This feature is already added and this Issue should be closed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: enhancement New features or improvements to existing features.
Projects
None yet
Development

Successfully merging a pull request may close this issue.