Closed
Bug 830222
Opened 11 years ago
Closed 11 years ago
Opening an SMS thread scrolls through full history of SMS messages in thread
Categories
(Firefox OS Graveyard :: Gaia::SMS, defect)
Tracking
(blocking-b2g:-, b2g18+ fixed)
RESOLVED
FIXED
blocking-b2g | - |
People
(Reporter: jaws, Assigned: etienne)
References
Details
(Whiteboard: [EU_TPE_TRIAGED])
Attachments
(1 file, 1 obsolete file)
4.74 KB,
patch
|
borjasalguero
:
review+
vingtetun
:
approval-gaia-v1+
|
Details | Diff | Splinter Review |
This is in build 20130110070201 on the beta channel. When entering an SMS thread, the last message is displayed and then the viewport jumps to the first message and scrolls down to the last message. This is not 100% reproducible, but it is quite jarring and annoying when it happens. I still want to log this bug in case others are experiencing it and in the hopes that we will get better STR.
Reporter | ||
Comment 1•11 years ago
|
||
These steps are reproducible for me 100% of the time. STR: Open the SMS app and enter a thread that is longer than the viewport. Press the home button Re-enter the SMS app Upon reentering the SMS app, the previously selected thread will be scrolled from top to bottom.
Reporter | ||
Updated•11 years ago
|
blocking-basecamp: --- → ?
Comment 2•11 years ago
|
||
Basecamp? has been retired. Please use tef? and tracking-b2g?
Updated•11 years ago
|
Updated•11 years ago
|
Assignee: nobody → fbsc
Assignee | ||
Comment 4•11 years ago
|
||
Currently *every* time the SMS app becomes visible we re-render all the threads and the current conversation. I'm attaching a patch that fixes the |updateTimeHeaders| function, allowing us to avoid all this re-rendering.
Assignee: fbsc → etienne
Blocks: 806592
Assignee | ||
Comment 5•11 years ago
|
||
Testing completed: dogfooded
Attachment #704530 -
Flags: review?(21)
Attachment #704530 -
Flags: approval-gaia-master?(21)
Comment 6•11 years ago
|
||
Hi Etienne, I was checking your code, but I dont know why we have to remove 'onVisibilityChange'. I know what you are trying to solve, but 'visibility' event it's needed in order to refresh the info of a thread. For example, imagine the following scenario: - Open SMS App, and go to thread '+34612123123' - Open Contacts - Create contact 'Robert' with '+34612123123' - Go back to SMS App With this change in the visibility, we could check again if the info of the contact is up-to-date. Removing this visibility management, we are loosing this functionality.
Assignee | ||
Comment 7•11 years ago
|
||
(In reply to Borja Salguero [:borjasalguero] from comment #6) > Hi Etienne, > I was checking your code, but I dont know why we have to remove > 'onVisibilityChange'. I know what you are trying to solve, but 'visibility' > event it's needed in order to refresh the info of a thread. > For example, imagine the following scenario: > - Open SMS App, and go to thread '+34612123123' > - Open Contacts > - Create contact 'Robert' with '+34612123123' > - Go back to SMS App > > With this change in the visibility, we could check again if the info of the > contact is up-to-date. Removing this visibility management, we are loosing > this functionality. Updating the patch right away!
Comment 8•11 years ago
|
||
Etienne, Im gonna take the review of this patch ok? I would like to test it once you have the fix of contacts!
Updated•11 years ago
|
Attachment #704530 -
Flags: review?(fbsc)
Assignee | ||
Comment 9•11 years ago
|
||
(In reply to Borja Salguero [:borjasalguero] from comment #8) > Etienne, Im gonna take the review of this patch ok? I would like to test it > once you have the fix of contacts! np, wasn't sure you were back from PTO.
Assignee | ||
Comment 10•11 years ago
|
||
Note: this patch is meant to be a surgical as possible.
Attachment #704530 -
Attachment is obsolete: true
Attachment #704530 -
Flags: review?(fbsc)
Attachment #704530 -
Flags: review?(21)
Attachment #704530 -
Flags: approval-gaia-master?(21)
Attachment #704546 -
Flags: review?(fbsc)
Attachment #704546 -
Flags: approval-gaia-master?(21)
Updated•11 years ago
|
Attachment #704546 -
Flags: review?(fbsc) → review+
Comment 11•11 years ago
|
||
Thanks etienne! This patch fix the annoying effect of re-rendering. Making some test I've discovered a small issue while editing SMSs, but I've filed a new bug for it https://bugzilla.mozilla.org/show_bug.cgi?id=833010. Thanks!
Attachment #704546 -
Flags: approval-gaia-master?(21) → approval-gaia-master+
Comment 12•11 years ago
|
||
https://github.com/mozilla-b2g/gaia/commit/bd8ad2a34f0ac3fa7e1a0da6dbde89b973ec537d
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
status-b2g18:
--- → fixed
You need to log in
before you can comment on or make changes to this bug.
Description
•