nextcloud-drawio icon indicating copy to clipboard operation
nextcloud-drawio copied to clipboard

Confirmation on closing / unsaved changes

Open pawelrojek opened this issue 7 years ago • 3 comments

I accidentally closed my tab with a keyboard shortcut today (while editing draw.io file)...

There should be a confirmation dialog when closing tab. Especially, if there are unsaved changes.

pawelrojek avatar May 08 '17 11:05 pawelrojek

It also happend to me that I want to click on the top menu bar (File, Edit, ...) and accidentally click on the text overlay of the nextcloud top left menu items. Nextcloud then directly leaves draw.io without warning or saving.

This is a UI issue. The mouse over labels of the nextcloud items sit directly over the menu bar of draw.io

A confirmation like on pressing Close, which prevents leaving could address this problem.

sthag avatar Jun 29 '17 07:06 sthag

For some reason, this suddenly works now :) I think draw.io fixed this issue, and because this plugin uses draw.io in an iframe, it works in Nextcloud. When I click on the Nextcloud logo or close the tab, now I get this dialog: screen shot 2017-07-19 at 13 21 08

mpodshivalin avatar Jul 19 '17 10:07 mpodshivalin

I lost my changes when i clicked the save button. The Problem was that the request was not successful so the nextcloud triggered a reload of the page. I think it wasn't successful because my session expired.

mjohenneken avatar May 06 '18 17:05 mjohenneken