Closed
Bug 594374
Opened 15 years ago
Closed 8 years ago
Opening Add-on detail view first flashes previously opened add-on page
Categories
(Toolkit :: Add-ons Manager, defect)
Toolkit
Add-ons Manager
Tracking
()
RESOLVED
INACTIVE
People
(Reporter: grenavitar, Assigned: Unfocused)
Details
Attachments
(1 file)
|
5.89 KB,
patch
|
mossop
:
review+
|
Details | Diff | Splinter Review |
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:2.0b6pre) Gecko/20100908 Firefox/4.0b6pre
Build Identifier: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:2.0b6pre) Gecko/20100908 Firefox/4.0b6pre
Opening Add-on detail view first flashes previously opened add-on page. Maybe this is because opening of detailed view is called before contents of detailed view is refreshed?
Reproducible: Always
Steps to Reproduce:
1. Open Add-on manager
2. Open detailed view of first add-on
3. Go back to list view
4. Open detailed view of another add-on
Actual Results:
You see the detail view of the first add-on, image included, flash on the screen before the second add-on detailed view is loaded.
Expected Results:
Normal loading of the add-on
Component: General → Add-ons Manager
Product: Firefox → Toolkit
Version: unspecified → Trunk
Updated•15 years ago
|
QA Contact: general → add-ons.manager
Comment 2•15 years ago
|
||
Bug 590218 is about styling, this is something else.
No longer blocks: 590218
| Assignee | ||
Comment 3•15 years ago
|
||
Fallout from the various recent changes to detail view. Will fix up the styling of the "loading" message while I'm at it.
Assignee: nobody → bmcbride
Status: NEW → ASSIGNED
| Assignee | ||
Updated•15 years ago
|
Whiteboard: [needs 601022]
It's still visible but that fast, that it's hard to distinguish both versions.
Whiteboard: [needs 601022]
| Assignee | ||
Comment 5•15 years ago
|
||
(In reply to comment #4)
> It's still visible
Seems I fixed the main regression, but we've always cleared the loading message too early. We clear it once the async call completes, but before any of the UI is actually updated. Patch coming up.
| Assignee | ||
Comment 6•15 years ago
|
||
(In reply to comment #5)
> but we've always cleared the loading message
> too early. We clear it once the async call completes, but before any of the UI
> is actually updated.
*sigh* Scratch that. Forgot the main loading attribute (which controls the visibility of the main content of the details view) is handled by the view manager now (which gets notified after all the UI is updated). gDetailsView.clearLoading() only clears the additional loading message - it doesn't show the main content anymore.
So as far as I can tell, this is indeed fixed. Tested manually by adding a forced delay in various parts of gDetailsView.show() and gDetailsView._updateView().
| Assignee | ||
Comment 7•15 years ago
|
||
This tests the problem that was solved in bug 601022.
Attachment #495805 -
Flags: review?(dtownsend)
Comment 8•15 years ago
|
||
Comment on attachment 495805 [details] [diff] [review]
Test v1
Slightly concerned over the racing timeouts here but it looks like they should only ever fire in order
Attachment #495805 -
Flags: review?(dtownsend) → review+
| Assignee | ||
Comment 9•15 years ago
|
||
Had forgotten about this.. just rebased to get it landed, and the test is failing now. Gonna investigate sometime this week.
Comment 10•8 years ago
|
||
Per policy at https://wiki.mozilla.org/Bug_Triage/Projects/Bug_Handling/Bug_Husbandry#Inactive_Bugs. If this bug is not an enhancement request or a bug not present in a supported release of Firefox, then it may be reopened.
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
Resolution: --- → INACTIVE
You need to log in
before you can comment on or make changes to this bug.
Description
•