drawio-desktop: File picker fails on open, save, and export

Preflight Checklist

  • 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.

Describe the bug When I attempt to open, save, or export a file using drawio-desktop, the file picker fails to open. When I have started the application from the command line, I see the following: [5036:0915/171552.752134:ERROR:browser_main_loop.cc(269)] Gtk: gtk_native_dialog_run: assertion '!priv->visible' failed In every case, I see the file picker briefly, but it disappears. Note that the file picker does not open under the main drawio window, it either fails to open or to stay open.

To Reproduce Steps to reproduce the behavior:

  1. Start drawio (preferably from the command line)
  2. Go to File > Open

Or:

  1. Start drawio
  2. Add an element to the drawing
  3. Go to File > Save As…

Expected behavior The file picker opens, I am able to select a file and open it, or the file picker opens, I am able to name/rename the drawing and save it.

draw.io version (In the Help->About menu of the draw.io editor):

  • 5.2.7

Desktop (please complete the following information):

  • OS: xubuntu 20.04.3

Additional context I updated today. This did not happen in the previous version of drawio I was using (14.9.6)

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Reactions: 13
  • Comments: 26 (8 by maintainers)

Most upvoted comments

We reverted to Electron 13.4.0 in 15.3.8 to avoid this issue.

Same for (Linux Mint 20.2, drawio 15.3.5, AppImage)

[698488:0927/174047.536924:ERROR:sandbox_linux.cc(374)] InitializeSandbox() called with multiple threads in process gpu-process.
17:40:47.574 › Checking for update
17:40:48.467 › Update for version 15.3.5 is not available (latest version: 15.3.5, downgrade is disallowed).
[698450:0927/174059.055590:ERROR:browser_main_loop.cc(269)] Gtk: gtk_native_dialog_run: assertion '!priv->visible' failed
[698450:0927/174102.972435:ERROR:browser_main_loop.cc(269)] Gtk: gtk_native_dialog_run: assertion '!priv->visible' failed

I have the same problem on manjaro linux, even the window does not flash. I guess the reason is electron, or the Chromium version embedded in electron is too old. This log indicates that the error comes from the GTK framework used by the embedded Chromium. The old GTK and the latest X11 have compatibility issues. The browser I use is Chromium, which is the latest version, and it runs well on my computer. Lovely developers, it’s time to update electron.

Thanks for checking, we’ll pull the incorrect releases now. Please all revert to 15.1.3, thanks for your patience.

I have the same problem on Debian 11.0 with drawio 15.2.7.

Just tested on Ubuntu 20.04, issue remains on 15.3.7

We believe it’s https://github.com/electron/electron/pull/30927, which is fixed. Our release candidates are built, if anyone wants to test a specific build, let me know which.