Closed Bug 130429 Opened 22 years ago Closed 22 years ago

back/forward history menus have wrong titles for frames

Categories

(Core :: DOM: Navigation, defect)

x86
Windows 2000
defect
Not set
normal

Tracking

()

RESOLVED WONTFIX
mozilla1.1beta

People

(Reporter: gekacheka, Assigned: radha)

References

()

Details

From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:0.9.9) Gecko/20020311
BuildID:    2002031104 (0.9.9)

Navigating a site with frames (such as the Java API documentation)
faithfully produces the page title in both the tab title and the frame
title, but the titles are incorrect in the back and forward button
history drop downs.  In fact, the *current* page title can
appear there (it shouldn't if it is a new page not visited before).


Reproducible: Always
Steps to Reproduce:
1. Start a new tab (control-t) 
2. goto http://java.sun.com/j2se/1.4/docs/api/index.html
   "Overview" appears in tab title and frame title.
3a. in lower left pane, click 1st link: "AbstractAction".  
    AbstractAction appears in right pane, and
    "AbstractAction" appears in tab title and frame title.
 b. in lower left pane, click 2nd link: "AbstractBorder".
    AbstractBorder appears in right pane, and
    "AbstractBorder" appears in tab title and frame title.
 c. in lower left pane, click 3nd link: "AbstractButton".
    AbstractButton appears in right pane
    "AbstractButton" appears in tab title and frame title.
4. click the downward triangle (v) under the back (<) button.

Actual Back History
  All Classes
  All Classes
  Abstract Button (current page!?)

Expected Back History
  AbstractBorder
  AbstractAction
  Overview

5. click on "Abstract Button" in this back history menu.
   Overview page appears in right pane
   "Overview" appears in tab title and page title
6. click the downward triangle (v) under the forward (>) button

Actual Forward History
  All Classes
  All Classes
  All Classes

Expected Forward History
  AbstractAction
  AbstractBorder
  AbstractButton
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Target Milestone: --- → mozilla1.1beta
This site specifically sets the title for the parent document (thro' onLoad
handler) everytime a page is loaded in any subframe. This looks good and fine
when you are looking at the title bar and the tab title. But this confuses some
of the data structures that docshell and session history maintain and  therefore
shows wrong titles in the go/back and forward menus. I don't this problem in
other frameset pages. Marking "won't Fix". 
Status: ASSIGNED → RESOLVED
Closed: 22 years ago
Resolution: --- → WONTFIX
Radha's helpful diagnosis narrows down the problem and shows it may not be as
general as implied by the title, but I still think there is a bug here to be fixed.

1. The history session should not become 'confused' as Radha put it.
2. There is no more 'correct' way of making title of the main pane visible in
titlebars and history (other panes are for navigation, and a static frameset
title is not helpful in the back/forward history).
3. Internet Explorer (6) displays the history titles correctly in its back and
forward button drop downs.
4. javadocs are a highly visible frameset, used by thousands of Java programmers
many times a day, not only for the standard java apis but also for as the
generated documentation for libraries.   These developers may try
Mozilla/Netscape, but this problem may contribute to perceiving Mozilla/Netscape
as still somewhat broken compared to IE, and thus they may be less likely to
support it.

So I think there is still a bug to be fixed, though it may be low priority. 
Perhaps leave the bug open and change the milestone to 'future' rather than
closing it as 'wont fix'?   Or should I submit a new bug report?
*** Bug 283549 has been marked as a duplicate of this bug. ***
Component: History: Session → Document Navigation
QA Contact: claudius → docshell
You need to log in before you can comment on or make changes to this bug.