question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

'Your changes will not be saved' alert window when trying to reload a web page

See original GitHub issue

Describe the bug

‘Your changes will not be saved’ alert window when trying to reload web page. The cause of this issue are https://github.com/eclipse/che-theia/pull/634 changes

Che version

  • latest
  • nightly
  • other: please specify

Steps to reproduce

  1. Start workspace from any devfile.
  2. Try to reload web page.

Expected behavior

The page was reloaded

Runtime

  • kubernetes (include output of kubectl version)
  • Openshift (include output of oc version)
  • minikube (include output of minikube version and kubectl version)
  • minishift (include output of minishift version and oc version)
  • docker-desktop + K8S (include output of docker version and kubectl version)
  • other: (please specify)

Screenshots

screencast-che-eclipse-che 10 33 177 124 nip io-2020 02 21-12_34_51

Installation method

  • chectl
  • che-operator
  • minishift-addon
  • I don’t know

Environment

  • my computer
    • Windows
    • Linux
    • macOS
  • Cloud
    • Amazon
    • Azure
    • GCE
    • other (please specify)
  • other: please specify

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:10 (10 by maintainers)

github_iconTop GitHub Comments

3reactions
rhoppcommented, Feb 21, 2020

@vzhukovskii This failure is happenig in the legacy java-selenium suite. We still have some tests there… They run as PR check on eclipse/che repo and right now, they are kind of “hidden” - We have a task in the current sprint to improve the reporting from this job.

1reaction
rhoppcommented, Feb 24, 2020

IMHO this behavior change is “UX downgrade”. In my opinion, the confirmation should appear only when data loss is at place (aka. some editor is not saved).

Anyway… Until this gets sorted, @SkorikSergey we can put back the previous behavior by setting this in user preferences before actually running the test (the same way, that @Ohrimenko1988 is doing this for example for setting the terminal type to dom)

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to reload a page without "Changes you made may not be ...
The most common solutions, such as location.reload() did not work as the page shows the prompt "Changes you made may not be saved."....
Read more >
Solved: Disable alert "Changes you made may not be saved."...
Yeah I have written on change client script. I have tried to clear the value before redirection but above pop up appears first...
Read more >
Need the custom message to display instead of "Changes you ...
It works fine but it always throw the different message as “Changes you made may not have been saved.”, instead I need my...
Read more >
Prevent leaving the page using plain JavaScript - Code Maven
We just need to assign a function to the window.onbeforeunload attribute and that function needs to return something. That will tell the browser ......
Read more >
Fix site display issues with Compatibility View in Internet ...
Open Internet Explorer, select the Tools button , and then select Compatibility View settings. Under Add this website, enter the URL of the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found