You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I agree to follow the Code of Conduct that this project adheres to.
I have searched the issue tracker for a feature request that matches the one I want to file, without success.
You must agree to search and the code of conduct. You must fill in this entire template. If you delete part/all or miss parts out your issue will be closed.
If you are technical, you should reporting bugs along the lines of https://marker.io/blog/how-to-write-bug-report. If you are not technical, we will make allowances, please try to make an effort to understand the process.
Describe the bug
When creating a new local (device-saved) diagram it gets opened in a new tab but then when you save that diagram - it gets downloaded on each save
To Reproduce
Steps to reproduce the behavior:
Go to a secure site (like https://app.diagrams.net/) using modern browser (to utilize window.showOpenFilePicker)
Chose to store diagrams on a device
Create a diagram selecting some file
Modify & save it, verify it's saved silently,
Create another diagram using the File → New... menu item
Select another file
The second diagram gets opened in a new tab
Modify that new diagram and save it, verify it gets downloaded
Expected behavior
I don't think it's possible to pass a file handler between windows (even same-origin ones) so I would think on changing LocalFile save behavior: if we don't have any file handler (exactly when we have a new tab opened) and the native window.showOpenFilePicker method is supported - call it.
Screenshots
If applicable, add screenshots to help explain your problem.
draw.io version (In the Help->About menu of the draw.io editor):
draw.io version 24.8.1
Desktop (please complete the following information):
OS: [e.g. iOS]
Browser [e.g. chrome, safari]
Browser Version [e.g. 22]
Smartphone (please complete the following information):
Device: [e.g. iPhone6]
OS: [e.g. iOS8.1]
Browser [e.g. stock browser, safari]
Version [e.g. 22]
I tested the problem in incognito/private mode with all browser extensions switched off, write "yes" below:
yes
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered:
Preflight Checklist
You must agree to search and the code of conduct. You must fill in this entire template. If you delete part/all or miss parts out your issue will be closed.
If you are technical, you should reporting bugs along the lines of https://marker.io/blog/how-to-write-bug-report. If you are not technical, we will make allowances, please try to make an effort to understand the process.
Describe the bug
When creating a new local (device-saved) diagram it gets opened in a new tab but then when you save that diagram - it gets downloaded on each save
To Reproduce
Steps to reproduce the behavior:
window.showOpenFilePicker
)File → New...
menu itemExpected behavior
I don't think it's possible to pass a file handler between windows (even same-origin ones) so I would think on changing
LocalFile
save behavior: if we don't have any file handler (exactly when we have a new tab opened) and the nativewindow.showOpenFilePicker
method is supported - call it.Screenshots
If applicable, add screenshots to help explain your problem.
draw.io version (In the Help->About menu of the draw.io editor):
Desktop (please complete the following information):
Smartphone (please complete the following information):
I tested the problem in incognito/private mode with all browser extensions switched off, write "yes" below:
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: