Closed
Bug 734893
Opened 13 years ago
Closed 13 years ago
LinkTextView in the tabs tray can be slow to draw
Categories
(Firefox for Android Graveyard :: General, defect)
Tracking
(blocking-fennec1.0 +)
VERIFIED
FIXED
Firefox 14
Tracking | Status | |
---|---|---|
blocking-fennec1.0 | --- | + |
People
(Reporter: aaronmt, Assigned: sriram)
References
Details
Attachments
(1 file)
5.66 KB,
patch
|
mfinkle
:
review+
blassey
:
review+
|
Details | Diff | Splinter Review |
bug 708266 added a LinkTextView to the tabs-tray. On occasion, when opening the tabs tray, I notice that the link is slow to draw (~1/1.5s). In talks on IRC, it's possible that this due to blocking DB access. This bogs down responsiveness of the complete UI showing.
--
Tested via:
Samsung Galaxy Nexus (Android 4.0.2)
Nightly (03/12)
Mozilla/5.0 (Android; Mobile; rv:13.0) Gecko/13.0 Firefox/13.0a1
Comment 2•13 years ago
|
||
Why does this require a DB call at all?
Comment 3•13 years ago
|
||
(In reply to Paul [sabret00the] from comment #2)
> Why does this require a DB call at all?
So we can hide the link if you don't have any data to see
Comment 4•13 years ago
|
||
(In reply to Mark Finkle (:mfinkle) from comment #3)
> (In reply to Paul [sabret00the] from comment #2)
> > Why does this require a DB call at all?
>
> So we can hide the link if you don't have any data to see
If a user has sync set up, they likely have data to see. If not there's nothing wrong with a screen saying "No tabs from other devices" or less desirable would be to assume there's tabs available until the query says otherwise. Both would be preferable over the current implementation.
Reporter | ||
Comment 5•13 years ago
|
||
"No tabs from other devices", would require the same db check.
Comment 6•13 years ago
|
||
After the fact, once you've already pulled up the screen.
Comment 7•13 years ago
|
||
Is this still happening on today's build for people? I also noticed this 3 days ago, but today's nightly build seems much more quicker to draw. (03-15-2012, galaxy nexus)
Reporter | ||
Comment 8•13 years ago
|
||
Nominating for poor performance perception in the product.
Updated•13 years ago
|
blocking-fennec1.0: --- → ?
Updated•13 years ago
|
Assignee: nobody → sriram
blocking-fennec1.0: ? → +
Assignee | ||
Comment 9•13 years ago
|
||
This patch sends a simplified query to the database.
Also, the GeckoAsyncTask uses priority to do certain tasks with higher priority.
Attachment #606770 -
Flags: review?(mark.finkle)
Comment 10•13 years ago
|
||
Comment on attachment 606770 [details] [diff] [review]
Patch
Looks ok to me. Asking Brad for a quick review on the GeckoAsyncTask change.
It would be nice to get performance feedback on this patch before it lands. Hopefully Tony or Aaron can test a build on their phones.
Attachment #606770 -
Flags: review?(mark.finkle)
Attachment #606770 -
Flags: review?(blassey.bugs)
Attachment #606770 -
Flags: review+
Comment 11•13 years ago
|
||
Comment on attachment 606770 [details] [diff] [review]
Patch
Review of attachment 606770 [details] [diff] [review]:
-----------------------------------------------------------------
::: mobile/android/base/GeckoAsyncTask.java
@@ +53,2 @@
> public void execute(final Params... params) {
> + Runnable r = new Runnable() {
move this Runnable out of the function:
UITaskRunnable implements Runnable {
public void run() {
...
}
}
public void execute(final Params... params) {
Attachment #606770 -
Flags: review?(blassey.bugs) → review+
Reporter | ||
Updated•13 years ago
|
Status: NEW → ASSIGNED
Assignee | ||
Comment 12•13 years ago
|
||
Comment 13•13 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 14
Comment 14•13 years ago
|
||
status-firefox13:
--- → fixed
status-firefox14:
--- → fixed
Comment 15•13 years ago
|
||
Links show instantly on Aurora 15.0a2 2012-06-09 and Nightly 16.0a1 2012-06-10 on the HTC Desire running Android 2.2. Marking the issue as verified.
Status: RESOLVED → VERIFIED
Updated•13 years ago
|
status-firefox13:
fixed → ---
status-firefox14:
fixed → ---
Updated•4 years ago
|
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•