Vanwege onderhoudswerkzaamheden die uw ervaring zouden moeten verbeteren, heeft deze website beperkte functionaliteit. Als een artikel uw probleem niet verhelpt en u een vraag wilt stellen, kan onze ondersteuningsgemeenschap u helpen in @FirefoxSupport op Twitter en /r/firefox op Reddit.

Zoeken in Support

Vermijd ondersteuningsscams. We zullen u nooit vragen een telefoonnummer te bellen, er een sms naar te sturen of persoonlijke gegevens te delen. Meld verdachte activiteit met de optie ‘Misbruik melden’.

Meer info

Deze conversatie is gearchiveerd. Stel een nieuwe vraag als u hulp nodig hebt.

Page fails to render when navigated to while Windows is locked.

  • 3 antwoorden
  • 1 heeft dit probleem
  • 1 weergave
  • Laatste antwoord van viperidae

more options

I have a single page webapp with an inactivity timer that calls window.location.replace when there is no activity for a period of time. If this happens while Windows is locked, the new url is called (it hits the server), the address bar is updated correctly but the page that is displayed is still the old one.

The app is built in GWT 2.5.1

I've tried window.location.assign as well.

I have a single page webapp with an inactivity timer that calls window.location.replace when there is no activity for a period of time. If this happens while Windows is locked, the new url is called (it hits the server), the address bar is updated correctly but the page that is displayed is still the old one. The app is built in GWT 2.5.1 I've tried window.location.assign as well.

Alle antwoorden (3)

more options

Have you tried just editing the window.location directly?

e.g: window.location = 'https://mozilla.org';

+ You're currently Firefox 17 as 'Question Details' says, what about Firefox 21? same?

more options

window.location = '....'; fails even worse. It doesn't work as expected even when the workstation is unlocked. I tried window.location.href as well. I'm using Firefox 17 as it is the ESR version.

more options

The problem with window.location is a GWT issue. Using the correct reference $wnd.location it works as my original post. Fine when workstation unlocked, page not rendered when locked.

Moving the mouse up over the address bar causes the page to render.

It's like firefox has gone "my window isn't visible so I won't update it" and when something triggers a re-paint, like moving the mouse over some chrome, it repaints everything correctly