Closed Bug 211820 Opened 22 years ago Closed 22 years ago

Frame navigation (back/forward) seems random for multi-frame pages

Categories

(Core :: DOM: Navigation, defect)

x86
All
defect
Not set
minor

Tracking

()

RESOLVED DUPLICATE of bug 185793

People

(Reporter: indulis, Unassigned)

References

()

Details

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.5a) Gecko/20030703 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.5a) Gecko/20030703 If I try to navigate just one frame in a 2-frame (split screen) page, then the back/forward buttons seem to randomly apply to one frame, then the other. Reproducible: Always Steps to Reproduce: FOr an example, go to http://imaging-resource.com/IMCOMP/CDISPLAY.HTM select a camera in each frame, then select images in both frames until you end up with a high-res photo in each. I did this alternating between the frames (that is, click in LH frame, click in RH frame). Then try to navigate back in just one of the frames back to the originally displayed page. It isn't possible. For example, click in the LH frame blank area between the title, then press the browser "Back" button. CLick in the LH frame again and press the Back button. The RH frame goes back not the LH frame. Actual Results: The wrong frame goes back, and the navigation requests seem to randomly go to one frame then the other. Expected Results: Performed the navigation request on the frame that was under the cursor at the time, or that had the "focus" (i.e. the user had clicked on it). Alternatively, offer a specific frame back/forward navigation option that is sensitive to the "focussed" frame. Either: 1) the browser needs to be aware of which frame the user wants the action to be performed on (a "focus" on the frame, albeit invisible), or 2) back/forward menu selections that are in the RH button menu popup should apply to the frame that is currently under the cursor, or 3) the "this frame" submenu available from the RH button menu popup should have a "back/forward in this frame" menu item available, that applies to the frame currently under the cursor Thanks! Indulis PS I looked for the right bug category to put this in, can I suggest User Interface be added, or some other category that stands out for these types of bugs
Component->History: Session OS->All It works exactly I would expect it would using the back button. If I press Back, it goes back on the last thing I did. So if I went to a link on the right frame, then left frame, then left frame, and then pressed back 3 times, it would reverse the order: back on left, back on left, back on right. Now, the Back option in the context menu doesn't seem to care which frame I right-clicked on. But that is bug 185793. So I think this is either a duplicate or invalid.
Component: Browser-General → History: Session
OS: Linux → All
As Jason commented, the browser is working as it is currently designed. As he pointed out, bug 185793 is a request for enhancement that matches what you are looking for, so I'm duping this to that bug. You do have a nice testcase and you described the desired behavior well, so I strongly recommend that you take your comments from this bug and transfer them to 185793. *** This bug has been marked as a duplicate of 185793 ***
Status: UNCONFIRMED → RESOLVED
Closed: 22 years ago
Resolution: --- → DUPLICATE
OK done, moved copy of original text to other bug#- thanks for looking at this... I should have noticed that it was actually reverse-navigating with the back button. Thanks! Indulis
Component: History: Session → Document Navigation
QA Contact: general → docshell
You need to log in before you can comment on or make changes to this bug.