Comments (13)
Autosave
and Draft save
are two different things apparently.
In the Simple theme UI, you can find the Draft option here:
( Click on: (...) → Settings → Drafts... )
Setting Draft save interval [sec] (0 to disable) Autosave is a disabled menu item, so how would I go about setting the interval to 0?
from drawio-desktop.
from drawio-desktop.
Will be fixed in the next release
Thanks @JeroenOortwijn for the detailed analysis
from drawio-desktop.
In desktop release 22.1.16.
from drawio-desktop.
@davidjgraph can you reopen this please? I'm getting this issue in v23.1.5 all the time.
I have a feeling that it is related to files being stored in OneDrive, but I am unsure.
If I get the unsaved file, saved it locally, then close the file in draw.io, and close draw.io fully, I still get the same "unsaved" file if I reopen draw.io.
from drawio-desktop.
I have this same issue on mac osx
from drawio-desktop.
Same here, and quite annoying. Clearly a significant bug, and has been around for a long time.
from drawio-desktop.
Can you please provide specific steps to reproduce?
from drawio-desktop.
I'm experiencing the same problem with v22.0.3.
What happens on my system is the following:
- I open the file
Communication overview.drawio
. - After waiting for like 10 seconds, I make one change (move a line segment).
- Immediately the red
Unsaved changes. Click here to save.
notice appears. - 5 seconds after step 3 the file
.$Communication overview.drawio.dtmp
gets created.
Situation 1
If I click on the red Unsaved changes. Click here to save.
notice before the file .$Communication overview.drawio.dtmp
gets created, the following happens:
- The file
Communication overview.drawio
gets updated. - 5 seconds after step 3 the file
.$Communication overview.drawio.dtmp
still gets created.
When I now close draw.io, and reopen the file Communication overview.drawio
, it will show the Unsave changes
dialog.
Situation 2
If I click on the red Unsaved changes. Click here to save.
notice after the file .$Communication overview.drawio.dtmp
gets created, the following happens:
- The file
Communication overview.drawio
gets updated. - The file
.$Communication overview.drawio.dtmp
gets removed.
When I now close draw.io, and reopen the file Communication overview.drawio
, it will not show the Unsave changes
dialog.
Draw.io preferences
My draw.io preferences:
{
"language": "en",
"configVersion": null,
"customFonts": [],
"libraries": "general;uml;er;bpmn;flowchart;basic;arrows2",
"customLibraries": [
"L.scratchpad"
],
"plugins": [],
"recentColors": [
"FFFFFF",
"FF6666",
"FF0000",
"FF4444",
"FF7777",
"FF3333",
"FF9999",
"FFCCCC",
"CCCCCC",
"E6E6E6"
],
"formatWidth": 240,
"createTarget": false,
"pageFormat": {
"x": 0,
"y": 0,
"width": 1169,
"height": 827
},
"search": true,
"showStartScreen": false,
"gridColor": "#e0e0e0",
"darkGridColor": "#6e6e6e",
"autosave": false,
"resizeImages": null,
"openCounter": 159,
"version": 18,
"unit": 2,
"isRulerOn": false,
"ui": "simple",
"darkMode": false,
"sketchMode": false,
"pages": true
}
from drawio-desktop.
Workaround
Setting Draft save interval [sec] (0 to disable):
from 5
to 0
causes the .$Communication overview.drawio.dtmp
to not appear anymore and "fixes" this bug.
Draw.io preferences
My new draw.io preferences:
{
"language": "en",
"configVersion": null,
"customFonts": [],
"libraries": "general;uml;er;bpmn;flowchart;basic;arrows2",
"customLibraries": [
"L.scratchpad"
],
"plugins": [],
"recentColors": [
"FFFFFF",
"FF6666",
"FF0000",
"FF4444",
"FF7777",
"FF3333",
"FF9999",
"FFCCCC",
"CCCCCC",
"E6E6E6"
],
"formatWidth": 240,
"createTarget": false,
"pageFormat": {
"x": 0,
"y": 0,
"width": 1169,
"height": 827
},
"search": true,
"showStartScreen": false,
"gridColor": "#e0e0e0",
"darkGridColor": "#6e6e6e",
"autosave": false,
"resizeImages": null,
"openCounter": 162,
"version": 18,
"unit": 2,
"isRulerOn": false,
"ui": "simple",
"darkMode": false,
"sketchMode": false,
"pages": true,
"draftSaveDelay": 0
}
from drawio-desktop.
from drawio-desktop.
This just occurred for me in v23.0.2. I get an "unsaved diagram" every time I open draw.io desktop with an earlier version of the diagram that I have definately saved. I can even save it, close draw.io, and then when I open it, draw.io shows the same unsaved diagram again.
I repeated this 6 times, but then i removed Documents\.$myfile.drawio.bkp, and the problem stopped. Shouldn't draw.io be removing this file?
Note: My Documents folder is in OneDrive. Maybe there is some interaction going on here.
from drawio-desktop.
The original issue is fixed, I'm going to close this.
We're aware that there are significant problems when saving to a OneDrive sync'ed folder, but all other cloud storage syncs work fine, I think there's something wrong with OneDrive's implementation.
from drawio-desktop.
Related Issues (20)
- NAN,211,199 is not a useful color pick result HOT 1
- macOS move Menu to Menu Bar HOT 2
- Containers not collapsing or expanding (macOS app v24.6.1)
- Not possible to expand/collapse containers anymore. HOT 11
- PDF final size not matching page size - Windows HOT 4
- Exporting .drawio to SVG by using command line and svgdata plugin
- It is not possible to use <include-shape> HOT 1
- Copy & paste to current instead of original position
- styling of table inside text box/shape
- AppImage fails to start on Ubuntu
- Dynamic SVG export Theme using the CLI HOT 3
- Support for Native Windows ARM64 devices. HOT 1
- Complete Freeze when writing in the middle
- New connectors for systemic design maps
- The end points of a line are not aligned exactly with the grid points, when the unit is set to "Millimeters"
- Colors (default »white«/»black«) are inverted after export/print (maybe dark theme related) again
- Support of textbox scaling with preserving relative styles
- Drawio's performance hindered by huge custom libraries
- Adding freeform tool to top tool bar HOT 6
- Unintuitive behavior handling read-only files HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from drawio-desktop.