Closed Bug 406340 Opened 17 years ago Closed 16 years ago

Sidebar fails to load bookmarks after Print Preview

Categories

(Firefox :: General, defect, P2)

x86
Windows XP
defect

Tracking

()

RESOLVED DUPLICATE of bug 406697

People

(Reporter: adchatzi, Assigned: dietrich)

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9b2pre) Gecko/2007120105 Minefield/3.0b2pre
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9b2pre) Gecko/2007120105 Minefield/3.0b2pre

When there is a bookmark loaded in the sidebar and you choose Print Preview, 
the error console says:
Error: uncaught exception: [Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIWebProgress.removeProgressListener]"  nsresult: "0x80004005 (NS_ERROR_FAILURE)"  location: "JS frame :: chrome://browser/content/web-panels.js :: unload :: line 87"  data: no]

After closing the Print Preview and try to open an other bookmark, it fails to load in the sidebar and the error console says:
Error: uncaught exception: [Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIWebNavigation.document]"  nsresult: "0x80004005 (NS_ERROR_FAILURE)"  location: "JS frame :: chrome://global/content/bindings/browser.xml :: get_contentDocument :: line 0"  data: no]

The sidebar stills showing the bookmark loaded before Print Preview and it just change the title each time you try to load any other bookmark.

Reproducible: Always

Steps to Reproduce:
1. Set at least two bookmarks to load in the side bar, in the properties menu
2. Click the bookmark and notice that it s loaded in the sidebar
3. From the File menu choose the Print Preview and when finished choose to close the Print Preview window. Notice that the title of the page shown in the sidebar disappears.
4. From the Bookmarks menu click on the other bookmark set to load in the side bar. 
Actual Results:  
The title in the sidebar changes to the title of the bookmark selected to load but the selected bookmark never loads

Expected Results:  
The selected bookmark should load in the sidebar
If you close and reopen the sidebar the bug still occurs. The only way to solve it is to restart ff
[Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.9b3pre) Gecko/2008011305 Minefield/3.0b3pre] (nightly) (W2Ksp4)

Confirming.

Seen with steps from bug 406697:
Closing the sidebar gives the first exception.
Trying to load another bookmark gives the second exception.
(No need to use Print Preview.)
Severity: normal → major
Status: UNCONFIRMED → NEW
Depends on: 406697
Ever confirmed: true
Flags: blocking-firefox3?
Version: unspecified → Trunk
Depends on: 410559
Flags: blocking-firefox3? → blocking-firefox3+
Priority: -- → P2
Assignee: nobody → dietrich
No longer depends on: 410559
I can't test the "Print Preview" step as I have no printer set up.
Nevertheless, the 2 exceptions where later reported in bug 406697 comment 19,
and this bug is otherwise the same as that other (later) bug.

Andreas, could you confirm that "Print Preview" does nothing special here, and was similar to closing and reopening the sidebar ?
Status: NEW → RESOLVED
Closed: 16 years ago
No longer depends on: 406697
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.