Closed Bug 82457 Opened 24 years ago Closed 24 years ago

Dragging items on personal toolbar can lose bookmarks

Categories

(SeaMonkey :: Bookmarks & History, defect)

PowerPC
Mac System 8.5
defect
Not set
critical

Tracking

(Not tracked)

VERIFIED FIXED
mozilla0.9.1

People

(Reporter: sfraser_bugs, Assigned: hewitt)

References

Details

(Keywords: dataloss)

Attachments

(3 files)

It's possible to drag items around on the personal toolbar such that you lose them. Here's how: 1. Have several items on your PT 2. Drag the 2nd item to the left, and drop it on top of the 'Bookmarks' item. You'll get these assertions: ###!!! ASSERTION: illegal value: 'aIndex >= 1', file nsRDFContainer.cpp, line 283 ###!!! ASSERTION: unable to add bookmark to container: 'NS_SUCCEEDED(rv)', file nsBookmarksService.cpp, line 1473 3. Note that the item you dragged disappeared from its original location, and has now disappeared. Bad bad bad. This stuff needs to be paranoid about data loss
Severity: normal → critical
Keywords: dataloss
Sadly, I noticed this problem myself the day after I landed the last round of personal toolbar dnd fixes. Fixing this one is fairly straightforward. Maybe I can get it in for 0.9.1
Status: NEW → ASSIGNED
Attached patch patch to fixSplinter Review
Keywords: nsbeta1
Target Milestone: --- → mozilla0.9.1
This patch addresses three cases in which bookmarks will be lost when dragged around on the personal toolbar: 1. when a bookmark is dragged onto itself 2. when a bookmark is dragged onto a "fake" bookmark, like "Bookmarks" or "Shop" 3. when a bookmark is dragged onto an expanded folder, like an ftp or file url bookmark
Don't return a value and sr=blake.
Attached patch one more patchSplinter Review
r=sfraser
Approved when sr= is reached.
I pointed out the change that hewitt made in the new patch...my sr still stands.
Is bug 83008 a dup?
*** Bug 83008 has been marked as a duplicate of this bug. ***
a=blizzard for 0.9.1
fixed
Status: ASSIGNED → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
*** Bug 83371 has been marked as a duplicate of this bug. ***
VERIFIED Fixed
Status: RESOLVED → VERIFIED
Product: Browser → Seamonkey
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: