Ticket #2207 (closed defect: wontfix)

Opened 8 weeks ago

Last modified 7 weeks ago

Replacing an embedded page causes firefox back button to stop working when the IT Mill application is contained in a frame

Reported by: hadrianus Owned by: Jouni Koivuviita
Priority: undefined Milestone: User Interface Library 5.3.0 RC
Component: undefined Version: 5.2.10
Keywords: Cc:
Known Issue description:
Hours estimate: Deadline (dd.mm.yyyy):
Known Issue version (since): Known Issue title:
Hours done: Depends to:
Affects documentation: no
Known Issue workaround:
Affects release notes: no Contract: Efecte

Description

The steps to reproduce:

1) Start the attached web application: the upper frame contains some links and the lower frame contains the example application showing google search page

2) Click a link on the google search page (e.g. Images of Kuvahaku)

3) Click the browser back button (it should work at this stage)

4) Click the "Next page" button on the IT Mill application

5) Click a link on the opened page (e.g. Kuvahaku)

6) Click the browser back button: it does not work any more

When the application is opened in top frame the back button does not stop working with the steps above. Also, if the page is refreshed it works when it is used on the first external page shown right after refreshing. Also when the same embedded component is reused, the back button does not stop working with the steps: Click button with text "Reuse embedded..." and refresh the whole page before trying the steps above.

Attachments

src.zip (2.7 kB) - added by hadrianus 8 weeks ago.
backbuttontest.war (3.7 MB) - added by hadrianus 8 weeks ago.

Change History

Changed 8 weeks ago by hadrianus

Changed 8 weeks ago by hadrianus

Changed 8 weeks ago by hadrianus

In our application we use embedded components in the following way:

The left part of a split pane contains links to configured report sets (reports are graph images or tables, a report set contains 1-4 reports).

The right part of the split pane contains the reports in embedded components in a grid.

The back button stops working when the report set is changed.

Changed 8 weeks ago by Jouni Koivuviita

  • owner changed from ticketmaster to Jouni Koivuviita
  • status changed from new to accepted

There seems to be inconsistencies how browsers handle the embedded IFRAME history state changes, and the problem is most likely some sort of optimization when multiple frames inside each other are involved in the process.

I doubt there is much we can do about this issue, but I will discuss it with our other developers tomorrow.

I might suggest that you change the other test URL to something other than ”www.fi” (which redirects to ”02.fi”) since it causes a JavaScript error at least in IE.

Changed 8 weeks ago by Joonas Lehtinen

  • milestone set to User Interface Library 5.3.0 RC

Changed 7 weeks ago by Joonas Lehtinen

  • status changed from accepted to closed
  • resolution set to wontfix

It seems that this is impossible to resolve in current browsers. Back-button control can not be fully supported if IT Mill Toolkit is embedded in an iframe/frame.

Note: See TracTickets for help on using tickets.