Closed Bug 381255 Opened 19 years ago Closed 18 years ago

Drag and Drop to Bookmarks result in an Assertion failed

Categories

(Firefox :: Bookmarks & History, defect, P2)

x86
All
defect

Tracking

()

VERIFIED FIXED
Firefox 3

People

(Reporter: cbook, Assigned: mak)

References

Details

(Keywords: assertion)

Attachments

(3 files)

Attached image assertion
Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9a5pre) Gecko/20070519 Minefield/3.0a5pre ID:2007051900 [cairo] from experimental tinderbox. ASSERT: Inseration point for menupopup view during a drag must be -1 (see screenshot) STR: take a url from the url bar and try to drop the url into the bookmark menu. Don`t open the Bookmark Menu and also result in this assertion.
I think this is a dupe of / related to bug 337761.
Depends on: 337761
Attached image Screenshot #2
My version of stack trace
My OS WinXP + SP2 UA: Mozilla/5.0 (Windows; U; Windows NT 5.1; ru; rv:1.9a5pre) Gecko/20070521 Minefield/3.0a5pre
Keywords: assertion
OS: Windows Vista → All
Version: unspecified → Trunk
trying the STRs with Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9b4pre) Gecko/2008021304 Firefox/3.0.0.0 ID:2008021304 i don't get an assertion, just the bookmark menu isn't opening, but the bookmark is being added in the end.
Carsten, Were you still seeing the assertion in Gecko/2008022604 ? Was it fixed by Gecko/2008022704 ? "Or" do you confirm comment 7 (= the assertion was already fixed) ? Or is it still there ? The menu not opening is/was bug 337761 !
Depends on: 389931
No longer depends on: 337761
(In reply to comment #8) > Carsten, Or someone else. > Were you still seeing the assertion in Gecko/2008022604 ? > Was it fixed by Gecko/2008022704 ? These dates are from regular nightlies (related to bug 389931 fix), not "experimental tinderbox" builds...
Flags: blocking-firefox3?
Component: Bookmarks → Places
Flags: blocking-firefox3? → blocking-firefox3+
Priority: -- → P2
QA Contact: bookmarks → places
Target Milestone: --- → Firefox 3
Assignee: nobody → mak77
Attached patch patchSplinter Review
the only problem i still see here is a Error: aPopup is undefined Source file: chrome://browser/content/places/menu.xml Line: 494 in the error console, when dropping directly onto "bookmarks" in the main menu bar, still dropping works fine... dropping inside a menupopup is working here, most probably because of recent work onto the menupopup binding and target corrections. Moreover the code that generated that assertion is gone during those changes. About the remaining error, we are calling rebuild without passing in the popup name, but actually we don't really need to rebuild, iteminserted feels like doing a good work by itself. I've done some cleanup.
Attachment #307558 - Flags: review?(mano)
Status: NEW → ASSIGNED
Comment on attachment 307558 [details] [diff] [review] patch r=mano
Attachment #307558 - Flags: review?(mano) → review+
Keywords: checkin-needed
Whiteboard: [has patch][has review]
Checking in browser/base/content/browser-places.js; /cvsroot/mozilla/browser/base/content/browser-places.js,v <-- browser-places.js new revision: 1.112; previous revision: 1.111 done
Status: ASSIGNED → RESOLVED
Closed: 18 years ago
Keywords: checkin-needed
Resolution: --- → FIXED
Whiteboard: [has patch][has review]
verified with: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9b5pre) Gecko/2008032106 Minefield/3.0b5pre
Status: RESOLVED → VERIFIED
No longer depends on: 389931
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.

Attachment

General

Created:
Updated:
Size: