Closed Bug 590714 Opened 14 years ago Closed 14 years ago

Move Bookmarks dialog broken

Categories

(SeaMonkey :: Bookmarks & History, defect)

defect
Not set
normal

Tracking

(blocking-seamonkey2.1 final+)

RESOLVED FIXED
seamonkey2.1b1
Tracking Status
blocking-seamonkey2.1 --- final+

People

(Reporter: vshalimhr, Assigned: kairo)

References

Details

Attachments

(3 files)

User-Agent: Mozilla/5.0 (Windows NT 5.2; rv:2.0b4pre) Gecko/20100817 SeaMonkey/2.1a3 Build Identifier: Mozilla/5.0 (Windows NT 5.2; rv:2.0b4pre) Gecko/20100817 SeaMonkey/2.1a3 The "Choose Folder" seems to be broken: 1) It doesn't display the existing folders. 2) Clicking its "New Folder" button does nothing visible (and there are no errors in the Error Console) - see cfdlg.png screenshot. 3) Clicking its "OK" buttons results in an assertion failure (see cfdlg.ok_assert.png screenshot): ASSERT: selectedNode must be set in a single-selection tree with initial selection set Stack Trace: 0:MBD_onOK([object Event]) 1:anonymous([object Event]) 2:_fireButtonEvent(accept) 3:_doButtonCommand(accept) 4:_handleButtonCommand([object XULCommandEvent]) Reproducible: Always Steps to Reproduce: 1. Open Bookmarks Manager. 2. Select (hilight) a bookmark. 3. Select "Edit -> Move..." from the menu. 4. Click the "New Folder" or the "OK" button. Actual Results: See the Details. Expected Results: The dialog should display the existing folders. Clicking the "New Folder" should open a folder creation dialog. Clicking the "OK" button should, um, just work like an ordinary OK button - close the dialog and apply any changes made. :)
Attached image Screenshot: cfdlg.png
Show an empty "Choose Folder" dialog and Error Console with no errors after clicking the "New Folder" button.
Comment on attachment 469195 [details] Screenshot: cfdlg.png Show an empty "Choose Folder" dialog and Error Console with no errors after clicking the "New Folder" button.
Shows an assertion failure after clicking the "OK" button.
Comment on attachment 469198 [details] Screenshot: cfdlg.ok_assert.png Shows an assertion failure after clicking the "OK" button.
Sorry for the dup comments - I misunderstood the "Comment" text field in the attachment creation form.
Summary: Bookmark folder selection dialog is broken. → Move Bookmarks dialog broken
Build identifier: Mozilla/5.0 (X11; Linux x86_64; rv:2.0b5pre) Gecko/20100826 SeaMonkey/2.1b1pre I created a new profile and the error still appears. I didn't import new bookmarks. When I click OK, Linux command line display: [root@venuse seamonkey]# /usr/local/seamonkey/2_1_x_Eng/seamonkey -no-remote -P 2.1 ASSERT: selectedNode must be set in a single-selection tree with initial selection set After the closing of all windows Bookmark Manager Error Console display: Error: An error occurred updating the cmd_selectAll command: [Exception... "'[JavaScript Error: "this._view.result is null" {file: "chrome://communicator/content/places/controller.js" line: 181}]' when calling method: [nsIController::isCommandEnabled]" nsresult: "0x80570021 (NS_ERROR_XPC_JAVASCRIPT_ERROR_WITH_DETAILS)" location: "JS frame :: chrome://global/content/globalOverlay.js :: goUpdateCommand :: line 80" data: yes] Source File: chrome://global/content/globalOverlay.js Line: 86
blocking-seamonkey2.1: --- → ?
Could reproduce it with Mozilla/5.0 (X11; Linux x86_64; rv:2.0b5pre) Gecko/20100827 SeaMonkey/2.1b1pre I get also a warning opening the move bookmark dialog, but don't know if it's related to this bug: WARNING: Context has no global.: file <path>/comm-central/mozilla/dom/base/nsJSEnvironment.cpp, line 2518
Status: UNCONFIRMED → NEW
Ever confirmed: true
OS: Windows Server 2003 → All
Hardware: x86 → All
Version: unspecified → Trunk
(In reply to comment #7) > WARNING: Context has no global.: file > <path>/comm-central/mozilla/dom/base/nsJSEnvironment.cpp, line 2518 That is usually the sign of a much larger problem... Have either of you tested on an optimized build, and can you test with the newest nightly? Do either of you have access to a non-linux machine and can verify if it happens there too? [If not I'll check on windows later]
Mozilla/5.0 (Windows NT 5.1; rv:2.0b6pre) Gecko/20100907 SeaMonkey/2.1b1pre When I open Bookmark Manager, Error Console display: CoCreateInstance() FAILED. (In reply to comment #0) > The "Choose Folder" seems to be broken: > 1) It doesn't display the existing folders. > 2) Clicking its "New Folder" button does nothing visible (and there are no > errors in the Error Console) - see cfdlg.png screenshot. > 3) Clicking its "OK" buttons results in an assertion failure (see > cfdlg.ok_assert.png screenshot): > ASSERT: selectedNode must be set in a single-selection tree with initial > selection set > Stack Trace: > 0:MBD_onOK([object Event]) > 1:anonymous([object Event]) > 2:_fireButtonEvent(accept) > 3:_doButtonCommand(accept) > 4:_handleButtonCommand([object XULCommandEvent]) It is diplay too.
(In reply to comment #9) > When I open Bookmark Manager, Error Console display: > > CoCreateInstance() FAILED. I also get this on every occasion I use a menu, so probably not related to the problem here.
Aqualon, have I make stacktrace with WinDbg?
(In reply to comment #6) > After the closing of all windows Bookmark Manager Error Console display: > > Error: An error occurred updating the cmd_selectAll command: [Exception... > "'[JavaScript Error: "this._view.result is null" {file: > "chrome://communicator/content/places/controller.js" line: 181}]' when calling > method: [nsIController::isCommandEnabled]" nsresult: "0x80570021 > (NS_ERROR_XPC_JAVASCRIPT_ERROR_WITH_DETAILS)" location: "JS frame :: > chrome://global/content/globalOverlay.js :: goUpdateCommand :: line 80" data: > yes] > Source File: chrome://global/content/globalOverlay.js > Line: 86 Mozilla/5.0 (Windows NT 5.1; rv:2.0b6pre) Gecko/20100912 Firefox/4.0b6pre SeaMonkey/2.1b1pre It display only when didn't open Error console window during the test Bookmark Manager.
(In reply to comment #6) > Error: An error occurred updating the cmd_selectAll command: [Exception... > "'[JavaScript Error: "this._view.result is null" {file: > "chrome://communicator/content/places/controller.js" line: 181}]' when calling > method: [nsIController::isCommandEnabled]" nsresult: "0x80570021 > (NS_ERROR_XPC_JAVASCRIPT_ERROR_WITH_DETAILS)" location: "JS frame :: > chrome://global/content/globalOverlay.js :: goUpdateCommand :: line 80" data: > yes] > Source File: chrome://global/content/globalOverlay.js > Line: 86 FWIW, i get the same in Mozilla/5.0 (Windows NT 5.1; rv:2.0b7pre) Gecko/20100919 Firefox/4.0b7pre, of course for a different File: "chrome://browser/content/places/controller.js" line: 179 Bug in the shared Places Code?
(In reply to comment #13) > Bug in the shared Places Code? At least that's the same code. Please file a bug on Firefox bookmarks and history for that, though, and note it there, as we'll need patches on both sides, reviewed by both teams, in any case. Does the Move Bookmarks window work in Firefox trunk?
Attached patch fix it!Splinter Review
It might be better to link the correct CSS file to get the XBL applied... Addressing review to Ian as he reviewed the original patch. ;-)
Assignee: nobody → kairo
Status: NEW → ASSIGNED
Attachment #478538 - Flags: review?(iann_bugzilla)
blocking-seamonkey2.1: ? → final+
Target Milestone: --- → seamonkey2.1b1
Attachment #478538 - Flags: review?(iann_bugzilla) → review+
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Mozilla/5.0 (Windows NT 5.1; rv:2.0b7pre) Gecko/20100926 Firefox/4.0b7pre SeaMonkey/2.1b1pre It works fine now
(In reply to comment #9) > When I open Bookmark Manager, Error Console display: > > CoCreateInstance() FAILED. It's trying to detect nVidia 3D Vision. See bug 598328.
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: