Closed
Bug 429811
Opened 16 years ago
Closed 16 years ago
Tag container isn't updated immediately when bookmark is removed
Categories
(Firefox :: Bookmarks & History, defect, P3)
Firefox
Bookmarks & History
Tracking
()
VERIFIED
FIXED
Firefox 3
People
(Reporter: whimboo, Assigned: dietrich)
References
Details
(Keywords: regression)
Attachments
(1 file)
1.64 KB,
patch
|
asaf
:
review+
mconnor
:
approval1.9+
|
Details | Diff | Splinter Review |
Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9pre) Gecko/2008041804 Minefield/3.0pre and on Windows XP
If you are adding new bookmark via copy&paste to a tag container or remove them on a later time the view isn't updated. This doesn't happen for bookmarks which were added via the tag field within the bookmark properties.
Steps to reproduce:
1. Create a fresh profile
2. Add a tag e.g. "Mozilla" to an already existing bookmark
3. Open history container and hit Cmd+C/Ctrl+C to copy the item
4. Open the tag container "Mozilla" and hit Cmd+V/Ctrl+V
=> You have to reopen the tag container to see the newly added bookmark
5. Delete the new bookmark from the tag container
=> You have to reopen the tag container again to see the updated view
As I said this only happens for bookmarks which were tagged via copy&paste into a tag container. I can see the mBatchInProgress Assertion here. So adding bug 423212 to the depends list.
Reporter | ||
Comment 1•16 years ago
|
||
The behavior changes a bit. Following STR shows the miss-behavior:
1. Adding two bookmarks and give both the same tag 'XXX'
2. Open the tag container 'XXX' and remove one of these bookmarks
=> The deleted bookmark is still shown until you reopen the tag container
Marco, could this be a regression from the patch which makes tag containers special folders?
Flags: blocking-firefox3?
Summary: Tag containers aren't updated immediately when adding/removing bookmarks → Tag container isn't updated immediately when bookmark is removed
Comment 2•16 years ago
|
||
could be, this is a live-update problem
Comment 3•16 years ago
|
||
We either need to fix this or disable copy/paste in these folders :(
Flags: blocking-firefox3? → blocking-firefox3+
Comment 4•16 years ago
|
||
comment #1 is about delete, so there's something more to check
Comment 5•16 years ago
|
||
(In reply to comment #0)
> I can see the mBatchInProgress Assertion here. So adding bug
> 423212 to the depends list.
i doubt that's related in any way, hwv let's see when we will catch the actual cause
Reporter | ||
Comment 6•16 years ago
|
||
Marco, shall I file a new bug for the copy&paste issue so we can concentrate on the delete action here?
Comment 7•16 years ago
|
||
i'd wait to see what we can solve here, we will always be able to fill a followup later if needed.
Assignee | ||
Updated•16 years ago
|
Assignee: nobody → dietrich
Updated•16 years ago
|
Whiteboard: [ETA ?]
Assignee | ||
Updated•16 years ago
|
Whiteboard: [ETA ?] → [swag: 1d]
Assignee | ||
Comment 8•16 years ago
|
||
always refresh if the container is open
marco, can you do first-r please?
Attachment #318639 -
Flags: review?(mak77)
Assignee | ||
Updated•16 years ago
|
Status: NEW → ASSIGNED
Keywords: regression
Priority: -- → P3
Whiteboard: [swag: 1d] → [has patch][needs review marco]
Target Milestone: --- → Firefox 3
Comment 9•16 years ago
|
||
Comment on attachment 318639 [details] [diff] [review]
fix
from what i see everything works and there is no big perf loose (that i have on tag remove if i kill the early return). So i'm fine with this.
Attachment #318639 -
Flags: review?(mak77) → review+
Assignee | ||
Updated•16 years ago
|
Attachment #318639 -
Flags: review+ → review?(mano)
Assignee | ||
Updated•16 years ago
|
Whiteboard: [has patch][needs review marco] → [has patch][needs review mano]
Comment 10•16 years ago
|
||
Will this fix just the Tag containers or does it also address the broader scope of bug 407443
Comment 11•16 years ago
|
||
should affect only tag containers as it is
Comment 12•16 years ago
|
||
Comment on attachment 318639 [details] [diff] [review]
fix
r=mano
Attachment #318639 -
Flags: review?(mano) → review+
Comment 13•16 years ago
|
||
Comment on attachment 318639 [details] [diff] [review]
fix
a=mconnor on behalf of 1.9 drivers
Attachment #318639 -
Flags: approval1.9+
Updated•16 years ago
|
Keywords: checkin-needed
Whiteboard: [has patch][needs review mano] → [has patch][has reviews][has approval]
Assignee | ||
Comment 14•16 years ago
|
||
Checking in toolkit/components/places/src/nsNavHistoryResult.cpp;
/cvsroot/mozilla/toolkit/components/places/src/nsNavHistoryResult.cpp,v <-- nsNavHistoryResult.cpp
new revision: 1.144; previous revision: 1.143
done
Status: ASSIGNED → RESOLVED
Closed: 16 years ago
Keywords: checkin-needed
Resolution: --- → FIXED
Whiteboard: [has patch][has reviews][has approval]
Comment 15•16 years ago
|
||
Verified fixed in Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9pre) Gecko/2008050604 Minefield/3.0pre.
Status: RESOLVED → VERIFIED
Reporter | ||
Updated•16 years ago
|
Flags: in-litmus?
Comment 16•16 years ago
|
||
Test case https://litmus.mozilla.org/show_test.cgi?searchType=by_id&id=7477 has been created in litmus for regression testing.
Flags: in-litmus? → in-litmus+
Reporter | ||
Comment 17•16 years ago
|
||
(In reply to comment #16)
> Test case https://litmus.mozilla.org/show_test.cgi?searchType=by_id&id=7477 has
> been created in litmus for regression testing.
It would be friendlier to restrict all of those steps to the Library window only, instead of having the need to open the history sidebar. Could you update this please?
Further we should deactivate this test until bug 410196 has been fixed.
Depends on: 410196
Flags: in-litmus+ → in-litmus?
Comment 18•16 years ago
|
||
The test case has been changed to reflect Henrik's suggestions and de-activated. I've added a comment to bug 410196 about the de-activated test case.(In reply to comment #17)
> (In reply to comment #16)
> > Test case https://litmus.mozilla.org/show_test.cgi?searchType=by_id&id=7477 has
> > been created in litmus for regression testing.
>
> It would be friendlier to restrict all of those steps to the Library window
> only, instead of having the need to open the history sidebar. Could you update
> this please?
>
> Further we should deactivate this test until bug 410196 has been fixed.
Comment 19•15 years ago
|
||
Bug 451915 - move Firefox/Places bugs to Firefox/Bookmarks and History. Remove all bugspam from this move by filtering for the string "places-to-b-and-h".
In Thunderbird 3.0b, you do that as follows:
Tools | Message Filters
Make sure the correct account is selected. Click "New"
Conditions: Body contains places-to-b-and-h
Change the action to "Delete Message".
Select "Manually Run" from the dropdown at the top.
Click OK.
Select the filter in the list, make sure "Inbox" is selected at the bottom, and click "Run Now". This should delete all the bugspam. You can then delete the filter.
Gerv
Component: Places → Bookmarks & History
QA Contact: places → bookmarks
You need to log in
before you can comment on or make changes to this bug.
Description
•