Summary: | It's easy to close web access by mistake | ||
---|---|---|---|
Product: | ThinLinc | Reporter: | Pierre Ossman <ossman> |
Component: | Web Access | Assignee: | Bugzilla mail exporter <bugzilla-qa> |
Status: | NEW --- | ||
Severity: | Normal | ||
Priority: | P2 | ||
Version: | trunk | ||
Target Milestone: | MediumPrio | ||
Hardware: | PC | ||
OS: | Unknown | ||
See Also: | https://bugzilla.cendio.com/show_bug.cgi?id=4755 | ||
Acceptance Criteria: |
Description
Pierre Ossman
We used to have some protection for this in the form of a "beforeunload" handler. It was removed in r31661 for bug 5845. That was a vendor drop where we got this upstream commit: https://github.com/novnc/noVNC/commit/3e3eec28f34005b6967c69b2da469fa9b2ea12bc We removed it because the browsers had indicated that it was going away because they considered it too disruptive. It seems they've mellowed a bit and now consider it a legitimate thing for preventing unsaved data to be lost. They still warn that there are many cases where it still isn't shown, though. It could be worth looking at bringing that back. The message is controlled by the browser, and isn't fantastic. But it is hopefully better than the current situation where you have to reopen a tab and log in again. MDN has some guidelines how this event should be used. And it should not be used the way we used to. So a simple revert is probably not the best approach. |