Closed
Bug 1089668
Opened 10 years ago
Closed 10 years ago
Fix NPE when setting pressed state on TabStripItemView
Categories
(Firefox for Android Graveyard :: General, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
Firefox 36
People
(Reporter: lucasr, Assigned: lucasr)
References
Details
Attachments
(1 file)
(deleted),
patch
|
mcomella
:
review+
|
Details | Diff | Splinter Review |
The pressed state sometimes is triggered in a runnable internally and might run after the item view has been detached.
Assignee | ||
Comment 1•10 years ago
|
||
Assignee | ||
Updated•10 years ago
|
Attachment #8511998 -
Flags: review?(michael.l.comella)
Comment 2•10 years ago
|
||
Comment on attachment 8511998 [details] [diff] [review]
Avoid NPE on parent when tab strip item is pressed (r=mcomella)
Review of attachment 8511998 [details] [diff] [review]:
-----------------------------------------------------------------
(In reply to Lucas Rocha (:lucasr) from comment #0)
> The pressed state sometimes is triggered in a runnable internally and might
> run after the item view has been detached.
This seems like a pretty hard-to-find side-effect for users of TwoWayView - perhaps there is some way to fix this upstream?
Attachment #8511998 -
Flags: review?(michael.l.comella) → review+
Assignee | ||
Comment 3•10 years ago
|
||
(In reply to Michael Comella (:mcomella) from comment #2)
> Comment on attachment 8511998 [details] [diff] [review]
> Avoid NPE on parent when tab strip item is pressed (r=mcomella)
>
> Review of attachment 8511998 [details] [diff] [review]:
> -----------------------------------------------------------------
>
> (In reply to Lucas Rocha (:lucasr) from comment #0)
> > The pressed state sometimes is triggered in a runnable internally and might
> > run after the item view has been detached.
>
> This seems like a pretty hard-to-find side-effect for users of TwoWayView -
> perhaps there is some way to fix this upstream?
This bug is specific to our UI because we invalidate the parent when one of the child views is pressed (to update the dividers). Not something that can/should be fixed upstream.
Assignee | ||
Comment 4•10 years ago
|
||
Comment 5•10 years ago
|
||
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 36
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
•