Ticket #361 (closed Bug: fixed)

Opened 3 years ago

Last modified 3 years ago

editor not restored when moving in history (Opera)

Reported by: hallvord@… Owned by: hallvord@…
Priority: High Milestone: Opera Compatibility
Component: General Version:
Keywords: Cc:

Description

- load editor - go to another page by typing in URL field - go back

Problem: editor does not re-appear.

Either Opera does not keep its state correctly, or it self-destroys by doing someting in onunload and doesn't get a load event to restore itself. I'm not sure which it is.

Change History

Changed 3 years ago by byberg

Analysis shows that this is a history/page load bug in Opera, caused by a quite intricate code:

A page containing an iframe gets another iframe, created from within the first iframe. This new iframe's src is set to "javascript:void(0);" and is appended to the page's document before the original iframe. When accessing this page when navigating in history, the original iframe (and the new one) appears blank.

Changed 3 years ago by hallvord@…

this is probably ours too. seems we don't fire any unload events so it would be Opera's responsibility entirely to preserve DOM state.

Changed 3 years ago by hallvord@…

  • owner set to hallvord@…
  • status changed from new to assigned

Changed 3 years ago by hallvord@…

General issue about not losing DOM state of designMode documents on history navigation filed as Opera bug 260789. However.. that may not cover this bug entirely, since the whole toolbar disappears and not just the designMode stuff..?

Changed 3 years ago by hallvord@…

Right, byberg's comment and test case for Opera's bug 260427 covers the rest of this issue. Thanks Kåre :)

Changed 3 years ago by hallvord@…

  • status changed from assigned to closed
  • resolution set to fixed

This particular issue is fixed. Opera does loose any text input when moving in history, so there still is work to do! I'll make sure there is another bug on that.

Note: See TracTickets for help on using tickets.