Closed
Bug 924760
Opened 12 years ago
Closed 7 years ago
[email] gmail/smart folder edge case: messages in the "starred" folder disappear if their flags/stars are removed and do not come back if the unflag operation is undone
Categories
(Firefox OS Graveyard :: Gaia::E-Mail, enhancement, P5)
Firefox OS Graveyard
Gaia::E-Mail
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: sync-1, Unassigned)
Details
Attachments
(5 files)
Firefox os v1.1
Mozilla build ID:20130916041201
Created an attachment (id=530651)
logcat.log
DEFECT DESCRIPTION:
The "undo" button is invalid when tap on the flag button in the star folder on gmail account
REPRODUCING PROCEDURES:
1.Have an email account with some flag emails set up on the device.
2.Enter the star folder->Tap on the flag button to mark the email.
3.Click "undo" button->refresh the flag mails->you will find the mail disappear ->ko
EXPECTED BEHAVIOUR:
Click the "undo" button,the mail also should be the star.
ASSOCIATE SPECIFICATION:
TEST PLAN REFERENCE:
TOOLS AND PLATFORMS USED:
USER IMPACT:
mid
REPRODUCING RATE:
5/5
For FT PR, Please list reference mobile's behavior:
| Reporter | ||
Comment 10•12 years ago
|
||
Comment 11•12 years ago
|
||
The logs indicated that the undo operation was working fine but the other stuff was a little concerning until I realized you were talking about the special gmail starred folder.
The situation is basically this:
- We remove the stars from the messages. gmail *immediately* expunges the messages so they are no longer present in the folder. gmail has a per-user IMAP implementation setting (accessible from the web UI, not IMAP) that lets the user indicate whether messages should be expunged immediately or not, which I believe defaults to immediate. Which is why we're seeing this. We don't realize the messages went away.
- We go to perform the 'undo' operation and it appears to succeed to us, possibly because we're using +FLAGS.SILENT. Because we didn't realize that the messages were already expunged, we assume the messages are still there and present them as such.
- During the refresh we realize the messages are gone.
No matter how we address this, this is a somewhat tricky one. In order of increasing user-friendliness and increasing complexity we could:
- Disable the 'undo' option in known "smart folder" situations keyed on the type of smart folder. (We do understand what the 'starred' folder is.)
- Maybe not use SILENT to detect deltas directly, etc.
- Just be better about automatically synchronizing when we see the "* N expunged" message and then using gmail's CONDSTORE support to bring ourselves up-to-date quickly.
- Have specialized gmail support to track the unique message id for the message and to understand that we can re-apply the change in the all mail folder.
Unstarring messages from the starred folder accidentally and being unable to fix it does seem fairly annoying, so the last one would probably be most ideal. It also need not be entirely gmail specific...
Severity: normal → enhancement
Priority: P2 → P5
Summary: [Buri][Email] The "undo" button is invalid when tap on the flag button in the star folder → [email] gmail/smart folder edge case: messages in the "starred" folder disappear if their flags/stars are removed and do not come back if the unflag operation is undone
Comment 12•7 years ago
|
||
Firefox OS is not being worked on
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•