Closed
Bug 1149869
Opened 10 years ago
Closed 10 years ago
Repeatedly adding and removing an item from reader mode causes duplicate items to appear in the sidebar
Categories
(Firefox Graveyard :: Reading List, defect)
Firefox Graveyard
Reading List
Tracking
(firefox38 verified, firefox39 fixed, firefox40 verified)
VERIFIED
FIXED
Firefox 40
People
(Reporter: markh, Assigned: markh)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
(deleted),
patch
|
Unfocused
:
review+
Sylvestre
:
approval-mozilla-aurora+
Sylvestre
:
approval-mozilla-beta+
|
Details | Diff | Splinter Review |
STR:
* With or without syncing enabled, open a page in reader mode and repeatedly click the "+-" button.
Actual:
* Duplicate items stack up in the sidebar, which is fixed on restart.
Expected:
* No dupes.
The problem is that the sidebar only removes the node from its map on the transitionend event. If the item is re-added before this event fires it gets confused. The fix is to remove the item from the map directly in onItemDeleted.
Attachment #8586534 -
Flags: review?(bmcbride)
Updated•10 years ago
|
Attachment #8586534 -
Flags: review?(bmcbride) → review+
Updated•10 years ago
|
Assignee: nobody → mhammond
Blocks: 1132074
Status: NEW → ASSIGNED
Iteration: --- → 40.1 - 13 Apr
Flags: qe-verify?
Flags: firefox-backlog+
Assignee | ||
Comment 1•10 years ago
|
||
https://hg.mozilla.org/integration/fx-team/rev/3eb16083368b
The problem was introduced in bug 1147444, so blocking that - if that gets uplifted this needs to as well.
(FTR, I accidentally pushed an empty commit as https://hg.mozilla.org/releases/mozilla-aurora/rev/69327970ef09 which TomCat said he'd back out for me - needinfo him to make sure that isn't forgotten)
Blocks: 1147444
Flags: needinfo?(cbook)
Updated•10 years ago
|
Flags: qe-verify? → qe-verify+
QA Contact: andrei.vaida
Comment 2•10 years ago
|
||
(In reply to Mark Hammond [:markh] from comment #1)
> https://hg.mozilla.org/integration/fx-team/rev/3eb16083368b
>
> The problem was introduced in bug 1147444, so blocking that - if that gets
> uplifted this needs to as well.
>
> (FTR, I accidentally pushed an empty commit as
> https://hg.mozilla.org/releases/mozilla-aurora/rev/69327970ef09 which TomCat
> said he'd back out for me - needinfo him to make sure that isn't forgotten)
Hey Ryan, qbackout fails here (abort: stdin: no diffs found) so do we need to do anything here ?
Flags: needinfo?(ryanvm)
Comment 3•10 years ago
|
||
Nothing to back out of the diff is empty. What's done is done at this point.
Flags: needinfo?(ryanvm)
Updated•10 years ago
|
Flags: needinfo?(cbook)
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 40
Comment 5•10 years ago
|
||
Verified fixed on Nightly 40.0a1 (2015-04-02), using Windows 7 (x64), Ubuntu 14.04 (x64) and Mac OS X 10.9.5.
Status: RESOLVED → VERIFIED
Updated•10 years ago
|
Assignee | ||
Comment 6•10 years ago
|
||
(In reply to Mark Hammond [:markh] from comment #1)
> The problem was introduced in bug 1147444, so blocking that - if that gets
> uplifted this needs to as well.
Fat log of good that did me - that bug got uplifted :(
Assignee | ||
Comment 7•10 years ago
|
||
Comment on attachment 8586534 [details] [diff] [review]
0010-Bug-XXXXXXX-prevent-duplicate-readinglist-items-from.patch
Approval Request Comment
[Feature/regressing bug #]: readinglist
[User impact if declined]: Items may be added multiple times
[Describe test coverage new/current, TreeHerder]: Already landed on central
[Risks and why]: None
[String/UUID change made/needed]: None
Attachment #8586534 -
Flags: approval-mozilla-beta?
Attachment #8586534 -
Flags: approval-mozilla-aurora?
Comment 9•10 years ago
|
||
Comment on attachment 8586534 [details] [diff] [review]
0010-Bug-XXXXXXX-prevent-duplicate-readinglist-items-from.patch
Should be in 38 beta 3
Attachment #8586534 -
Flags: approval-mozilla-beta?
Attachment #8586534 -
Flags: approval-mozilla-beta+
Attachment #8586534 -
Flags: approval-mozilla-aurora?
Attachment #8586534 -
Flags: approval-mozilla-aurora+
Comment 10•10 years ago
|
||
Comment 11•10 years ago
|
||
Comment 12•10 years ago
|
||
Verified fixed on 38.0b3-build1 (20150409144858) as well, using Ubuntu 14.04 (x64), Windows 8.1 (x64) and Mac OS X 10.9.5.
Comment 14•10 years ago
|
||
Removing qe-verify flag as it was verified on Firefox 38 Beta and Firefox 40 Nightly.
Flags: qe-verify+
Updated•9 years ago
|
Product: Firefox → Firefox Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•