Closed
Bug 816637
Opened 12 years ago
Closed 12 years ago
[SMS] [Keyboard performance] We need to remove the 'spinner' in 'loading' in order to avoid infinite rendering.
Categories
(Firefox OS Graveyard :: Gaia::SMS, defect, P1)
Tracking
(blocking-basecamp:+)
People
(Reporter: borjasalguero, Assigned: borjasalguero)
References
Details
Attachments
(1 file)
255 bytes,
text/html
|
vingtetun
:
review+
vingtetun
:
approval-gaia-v1+
|
Details |
This was not included in https://github.com/mozilla-b2g/gaia/pull/6720, and it's one of the key points for getting keyboard working properly.
Assignee | ||
Comment 1•12 years ago
|
||
Use 'Show frames per second' and 'Flash repainted area' for showing the problem.
Assignee | ||
Updated•12 years ago
|
Assignee: nobody → ttaubert
blocking-basecamp: --- → ?
Priority: -- → P1
Target Milestone: --- → B2G C2 (20nov-10dec)
Assignee | ||
Comment 2•12 years ago
|
||
https://github.com/mozilla-b2g/gaia/pull/6720#issuecomment-10862569
Assignee | ||
Updated•12 years ago
|
Assignee: ttaubert → fbsc
Assignee | ||
Comment 3•12 years ago
|
||
Attachment #686727 -
Flags: review?(21)
Assignee | ||
Comment 4•12 years ago
|
||
Comment on attachment 686727 [details]
PR
NOTE: If blocking-basecamp+ is set, just land it for now.
[Approval Request Comment]
Bug caused by (feature/regressing bug #):
User impact if declined:
Testing completed:
Risk to taking this patch (and alternatives if risky):
Attachment #686727 -
Flags: approval-gaia-master?(21)
Assignee | ||
Comment 5•12 years ago
|
||
This was the path that I was trying to send to [:ttaubert] https://bugzilla.mozilla.org/show_bug.cgi?id=816538#c5 , so please as a 'not-written rule'/convention take into account the review of the 'App owner' before merging directly.
Comment 6•12 years ago
|
||
(In reply to Borja Salguero [:borjasalguero] from comment #5) > This was the path that I was trying to send to [:ttaubert] > https://bugzilla.mozilla.org/show_bug.cgi?id=816538#c5 , so please as a > 'not-written rule'/convention take into account the review of the 'App > owner' before merging directly. I do. But it has been said multiple times to *not* use position: relative and to make divs of the size of the screen. There is even a video from Andreas about it. Futhermore -moz-element has some known issues with repainting that make the keyboard slow and NO it is not working correctly in Contacts as you mentioned in the comment. Contacts repaints all the app on every keystroke and this will go away once moz-element will be removed.
Assignee | ||
Comment 7•12 years ago
|
||
[:vingtetun] As I've said https://github.com/mozilla-b2g/gaia/pull/6720#issuecomment-10862569 Im not against the change of 'moz-element', I've tested the code and the transition is smooth and the code simple. In fact I was sending a patch to [:ttaubert] branch for the 'spinner' issue, but suddenly the PR was merged despite of https://bugzilla.mozilla.org/show_bug.cgi?id=816538#c5 (I was only asking the reasons for removing it, and I was testing the fix for the spinner). So please, before merging, and above everything when the owner of the app is requesting few minutes for reviewing, hold on until the review was done. Taking into consideration the people who was working in each app as reviewers I think is needed in order to keep the stability and consistency of Firefox OS. I've added the attachment for fixing the 'spinner' issue, because was the reason of CPU consumption and Keyboard performance.
Comment 8•12 years ago
|
||
The approach is good and does fix the leftovers I mentioned in bug 816538. Very nice. Typing reaches the same speed as in the calendar app. I added my thoughts to the PR.
Status: NEW → ASSIGNED
Assignee | ||
Comment 9•12 years ago
|
||
[:ttaubert] All your suggestions included. Thanks!
Comment 10•12 years ago
|
||
(In reply to Borja Salguero [:borjasalguero] from comment #7) > [:vingtetun] As I've said > https://github.com/mozilla-b2g/gaia/pull/6720#issuecomment-10862569 Im not > against the change of 'moz-element', I've tested the code and the transition > is smooth and the code simple. In fact I was sending a patch to [:ttaubert] > branch for the 'spinner' issue, but suddenly the PR was merged despite of > https://bugzilla.mozilla.org/show_bug.cgi?id=816538#c5 (I was only asking > the reasons for removing it, and I was testing the fix for the spinner). His bug was about removing moz-element. What is the relationship with the spinner? It's good to have a second bug for it. > > So please, before merging, and above everything when the owner of the app is > requesting few minutes for reviewing, hold on until the review was done. Review is not about adding more stuff on the pile. Small bugs are easier to scope and review and less regression prone. > I've added the attachment for fixing the 'spinner' issue, because was the > reason of CPU consumption and Keyboard performance. It is a *part* of the reason. And that's good that it's been finally fixed!
Comment 11•12 years ago
|
||
Comment on attachment 686727 [details]
PR
This is part of the underlying work for having a fast keyboard. Small changes that change the world. a=me.
Attachment #686727 -
Flags: review?(21)
Attachment #686727 -
Flags: review+
Attachment #686727 -
Flags: approval-gaia-master?(21)
Attachment #686727 -
Flags: approval-gaia-master+
Comment 12•12 years ago
|
||
https://github.com/mozilla-b2g/gaia/commit/9058317544abe7b4759c6535e1471c65ed9ef71f
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Updated•12 years ago
|
blocking-basecamp: ? → +
You need to log in
before you can comment on or make changes to this bug.
Description
•