Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open/save dialog is not modal #1572

Closed
basil opened this issue Mar 27, 2024 · 1 comment · Fixed by #1616
Closed

Open/save dialog is not modal #1572

basil opened this issue Mar 27, 2024 · 1 comment · Fixed by #1616

Comments

@basil
Copy link

basil commented Mar 27, 2024

On Linux, the open/save dialog is not modal, as I can click into the application behind it and make it disappear into the background.

Steps to Reproduce

Steps to reproduce the behavior:

  1. Open Fiddle
  2. Go to File, Open
  3. You see an Open dialog box
  4. Click the publish button in the application.

Expected behavior

Clicking into the application doesn't have any effect, and the open dialog remains open.

Actual Behavior

On Linux, clicking in the application while the open dialog is present will hide the open dialog in the background. It will then become impossible to find again without using inconvenient techniques like Alt-Tab through all open windows.

Information

Electron Fiddle: 0.36.2
OS: Ubuntu 22.04.4 LTS x86_64
Kernel: 5.15.0-101-generic
Desktop Environment: KDE Plasma
Window Manager: KWin
Theme: Breeze Dark [Plasma], Breeze [GTK2/3]
Icons: [Plasma], breeze-dark [GTK2/3]

Context

I know the problematic behavior is not intrinsic to Linux because my other KDE applications work as expected, as does Firefox. So this seems specific to Fiddle and/or Electron. For example, my other KDE applications gray out the application when the open dialog is open (like in macOS) and clicking into the grayed out area doesn't background the open dialog.

@dsanders11
Copy link
Member

We could improve this on Fiddle, but I think until electron/electron#32857 is fixed, there's going to continue to be buggy behavior on Linux.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants