We experienced a similar issue a while ago.

This was related to explicitly submitting a form so that the browser's 
password save dialog can kick in.

In our case we found that the page reload was caused by not explicitly 
cancelling the corresponding SubmitEvent on submit.

Once we added *event.cancel()*, the page did no longer reload.

@Override 
public void onSubmit(SubmitEvent event) { 
// This is very important or we end up at onModuleLoad again and start from 
scratch. 
// We need to submit this form so that the browser's password save dialog 
can kick in. 
* event.cancel();*
 // continue...
} 
}); 

Hope this helps in one way or another.
grue schrieb am Mittwoch, 8. Februar 2023 um 14:21:19 UTC+1:

> I agree. However, if I comment out the script tag that loads the 
> nocache.js the problem is gone. That's why I suspect that GWT is somehow 
> involved.
>
> On Wednesday, 8 February 2023 at 14:04:20 UTC+1 Michael Joyner wrote:
>
>> We see the same behavior here. I'm convinced it is some sort of FF bug. 
>> Why else would a page reload increase the number of times the entry point 
>> is entered? Is not a page reload supposed to be the same as opening it up 
>> in a new tab while discarding all previous JS states?
>>
>>
>> On 2/8/23 07:02, 'grue' via GWT Users wrote:
>>
>> I have deployed the example app here:
>>
>> http://test7.pb3.technology/TestGWT/
>>
>> On Wednesday, 8 February 2023 at 11:47:43 UTC+1 grue wrote:
>>
>>> I have tested it on MacOS 12.6.3 and Ubuntu and Windows 10 and in deploy 
>>> mode but I also see the issue in development mode.
>>>
>>> Michael
>>>
>>>
>>> On Wednesday, 8 February 2023 at 10:32:38 UTC+1 [email protected] 
>>> wrote:
>>>
>>>> Following question:
>>>> - What OS?
>>>> - Do you try in development mode or deployment mode?
>>>>
>>>> Thanks,
>>>> Lofi
>>>>
>>>> grue schrieb am Dienstag, 7. Februar 2023 um 14:03:25 UTC+1:
>>>>
>>>>> I have observed a weird behaviour when opening a GWT app in Firefox. 
>>>>> When I first open the page everything is normal but once I refresh the 
>>>>> page 
>>>>> all resources including the index.html get fetched twice. If I refresh 
>>>>> the 
>>>>> page once more everything gets fetched three times and so on... (see 
>>>>> screenshot attached)
>>>>> I see this behaviour only on FF, even on a freshly installed one and 
>>>>> after clearing all the caches and data.
>>>>> To reproduce the issue I created a minimalistic GWT app at 
>>>>> https://github.com/mgrue/TestGWT
>>>>> Reproducing is a bit tricky since sometimes the app behaves normal but 
>>>>> once you close the tab and open a new on or restart FF the weird 
>>>>> behaviour 
>>>>> is back. I tested the app both on Wildfly and Jetty (I have included a 
>>>>> Dockerfile) but can't see any difference.
>>>>>
>>>>> I'd really appreciate if someone could help me figuring out what's 
>>>>> going on here.
>>>>>
>>>>> Thank you very much in advance!
>>>>> Michael
>>>>>
>>>>> [image: Screen Shot 2023-02-07 at 1.40.03 PM.png]
>>>>>
>>>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "GWT Users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to [email protected].
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/google-web-toolkit/e2a0a891-04e1-4bd8-9e7f-8047fab9ea8en%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/google-web-toolkit/e2a0a891-04e1-4bd8-9e7f-8047fab9ea8en%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>>
>>

-- 
You received this message because you are subscribed to the Google Groups "GWT 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-web-toolkit/5b7aaa1d-fdc4-41fd-ab3b-7620a8c0fb4an%40googlegroups.com.

Reply via email to