> (location.hashalways returns the initial hash value, no matter how
> HistoryImplSafari.java
> 8KDownload
Damn, that sucks. Can you explain exactly when the reloads are caused?
Just randomly when going forward/backward, or the very moment you
create a dynamic iframe?
On Aug 11, 8:02 pm, "Joel Webber" <j...@google.com> wrote:
> All,
>
> I believe I said something yesterday about how I was "really close" to
> getting history working correctly on Safari 2. Remind me never to say
> anything about a browser feature until the *last* bug is fixed.
>
> First a bit of 'history on history'. In GWT 1.3 , Safari's history support
> - Apps that depend on onHistoryChanged() to work (e.g . KitchenSink) will be
> ok.
> - Going out of an app (say, to about:blank) and backing into it will put it
> back in its previous state.
> - Hitting back or forward won't do squat.
>
> Thanks,
> joel.
>
> HistoryImplSafari.java
> 8KDownload
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Google Web Toolkit Contributors" group.
To post to this group, send email to Google-Web-Toolkit-Contributors...@googlegroups.com
To unsubscribe from this group, send email to Google-Web-Toolkit-Contributor s-unsu...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit-Contributors?hl=en
-~----------~----~----~----~-- ----~----~------~--~---
I'm gonna go dive in tonight, see if I can reproduce this, and then
see if there are any ways of generating dynamic iframes which does not
make the browser go haywire. Sigh. Where's leopard already?
On Aug 12, 9:15 pm, "Joel Webber" <j...@google.com> wrote:
> Yes, suck it does. I haven't been able to fully characterize the reloads,
> but I can give some anecdotal descriptions. If you use the attached
> HistoryImplSafari with KitchenSink, it works fine as long as you avoid the
> 'text' tab. When you first go to this tab, everything seems ok. It then
> refreshes the whole page, though, the next time you select a tab.
> After that, I've seen it get back into a semi-reasonable state, but I've
> also seen it go completely haywire, refreshing the whole page on every tab.
> To make matters worse, even a single refresh causes the history code to lose
> its in-memory stack. So even if we were able to live with the refreshes, it
> would be very difficult to keep track of the history stack.
>
> joel.
>
> On 8/12/07, Reinier Zwitserloot <reini...@gmail.com> wrote:
>
>
>
> > Damn, that sucks. Can you explain exactly when the reloads are caused?
> > Just randomly when going forward/backward, or the very moment you
> > create a dynamic iframe?
>
> > On Aug 11, 8:02 pm, "Joel Webber" <j...@google.com> wrote:
> > > All,
>
> > > I believe I said something yesterday about how I was "really close" to
> > > getting history working correctly on Safari 2. Remind me never to say
> > > anything about a browser feature until the *last* bug is fixed.
>
> > > First a bit of 'history on history'. In GWT 1.3, Safari's history
> > > - Apps that depend on onHistoryChanged() to work (e.g. KitchenSink) will
Have you seen this uber-hack? http://bloomd.home.mchsi.com/histapi/howitworks.html
Talk about a rube-goldberg hack (using scrollTop to store state instead of .hash, EVIL)
Have you seen this uber-hack? http://bloomd.home.mchsi.com/histapi/howitworks.html
Talk about a rube-goldberg hack (using scrollTop to store state instead of .hash, EVIL)
I dumped a save-history-even-on-reloads solution in a proof of concept
vanilla JS file in the issue, which uses a cookie hack to keep state.
But, yes, that sucks even if the history stack survives reloads.
I'm gonna go dive in tonight, see if I can reproduce this, and then
see if there are any ways of generating dynamic iframes which does not
make the browser go haywire. Sigh. Where's leopard already?
Last night I toyed around but didn't get any stable result. :/
Looks like the dummy implementation that correctly sets # on the URL
and correctly loads # from URL, but doesn't react at all to back or
forward buttons unless you have Safari3, is the lesser evil. The
random nature of when safari all of a sudden decides it's time to
reload the entire page for no reason is -really- frustrating. I
remember at least 3 different times when I thought for a moment that I
found a workaround, when I didn't. I can't imagine how often you've
run into that, Joel - your own "Mission Accomplished" flub is a
testament to how annoying this is. My hat goes off to your
persistence.
With safari3 on the way it's too tempting to just toss in the towel.
On Aug 13, 4:25 pm, "Joel Webber" <j...@google.com> wrote: