Back button on Firefox 52 hangs with "Loading..."

Bug #1686315 reported by Jiang
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
OpenStack Dashboard (Horizon)
Fix Released
Medium
Vladislav Kuzmin

Bug Description

Openstack Ocata. First select a label, such as Project/Compute/Instances. Then select another label, such as Project/Compute/Images. Finally, go to the previous page by click the button of Firefox(the back button of firefox on the top left), the page will always show Loading.

Revision history for this message
Akihiro Motoki (amotoki) wrote :

In my understanding, this is the expected behavior. There is less value to show old contents because the actual information may changes since then. I would like to hear opinions from others.

Revision history for this message
David Lyle (david-lyle) wrote :

Horizon caches very little data, none across requests. So loading every page must be loaded when requested. The only exceptions are in the fully angularized views like images where going between the details view and the main view will not require a full page reload.

Revision history for this message
David Lyle (david-lyle) wrote :

Unless you mean that the loading symbol never goes away, then we could potentially have an issue. Could you please clarify?

David Lyle (david-lyle)
Changed in horizon:
status: New → Incomplete
Revision history for this message
Jiang (jiangpf) wrote :

Yes, I can see the contents of the page after click the back button, but the loading symbol never goes away, I can not do anything, unless the page is refreshed manually.
I do these on chrome, there is no such problem. I only found the problem on Firefox.

Changed in horizon:
status: Incomplete → New
Revision history for this message
Gary W. Smith (gary-w-smith) wrote :

I see this, too.

summary: - Loading all the time on Firefox 52
+ Back button on Firefox 52 hangs with "Loading..."
Changed in horizon:
status: New → Confirmed
Revision history for this message
Kyrylo Romanenko (kromanenko) wrote :

I can see this bug with Firefox 53.0.3 (64-bit)

Ying Zuo (yingzuo)
Changed in horizon:
importance: Undecided → Medium
Ruslan Aliev (raliev)
Changed in horizon:
assignee: nobody → Ruslan Aliev (raliev)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to horizon (master)

Fix proposed to branch: master
Review: https://review.openstack.org/524948

Changed in horizon:
status: Confirmed → In Progress
Changed in horizon:
assignee: Ruslan Aliev (raliev) → Vladislav Kuzmin (vkuzmin-u)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to horizon (master)

Reviewed: https://review.openstack.org/524948
Committed: https://git.openstack.org/cgit/openstack/horizon/commit/?id=7b45b7ae4b175afdfdb512ed87f425cc4f402f51
Submitter: Zuul
Branch: master

commit 7b45b7ae4b175afdfdb512ed87f425cc4f402f51
Author: Ruslan Aliev <email address hidden>
Date: Sun Dec 3 12:27:40 2017 +0400

    Fix back button on Firefox and Safari

    Firefox (and Safari) uses bfcache (back-forward cache)
    to load re-visited pages. The solution is to force a reload
    when page is loaded from bfcache, so back button will work
    correctly.
    More information can be found here [1] and here [2].

    [1] https://madhatted.com/2013/6/16/you-do-not-understand-browser-history
    [2] https://stackoverflow.com/questions/8788802/prevent-safari-loading-from-cache-when-back-button-is-clicked

    Change-Id: If023bca7c73f983e55c383856e304379c7b8be3a
    Closes-bug: #1686315

Changed in horizon:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to horizon (stable/pike)

Fix proposed to branch: stable/pike
Review: https://review.openstack.org/539484

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to horizon (stable/pike)

Reviewed: https://review.openstack.org/539484
Committed: https://git.openstack.org/cgit/openstack/horizon/commit/?id=18d84210a58e458fe32b7481725e018370c40530
Submitter: Zuul
Branch: stable/pike

commit 18d84210a58e458fe32b7481725e018370c40530
Author: Ruslan Aliev <email address hidden>
Date: Sun Dec 3 12:27:40 2017 +0400

    Fix back button on Firefox and Safari

    Firefox (and Safari) uses bfcache (back-forward cache)
    to load re-visited pages. The solution is to force a reload
    when page is loaded from bfcache, so back button will work
    correctly.
    More information can be found here [1] and here [2].

    [1] https://madhatted.com/2013/6/16/you-do-not-understand-browser-history
    [2] https://stackoverflow.com/questions/8788802/prevent-safari-loading-from-cache-when-back-button-is-clicked

    Change-Id: If023bca7c73f983e55c383856e304379c7b8be3a
    Closes-bug: #1686315
    (cherry picked from commit 7b45b7ae4b175afdfdb512ed87f425cc4f402f51)

tags: added: in-stable-pike
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/horizon 13.0.0.0rc1

This issue was fixed in the openstack/horizon 13.0.0.0rc1 release candidate.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/horizon 12.0.3

This issue was fixed in the openstack/horizon 12.0.3 release.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.