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

On Linux, the window doesn't close unless it's unminimized #4772

Open
valadaptive opened this issue Jul 3, 2024 · 0 comments
Open

On Linux, the window doesn't close unless it's unminimized #4772

valadaptive opened this issue Jul 3, 2024 · 0 comments
Labels
bug Something is broken eframe Relates to epi and eframe native-linux Problem specific to Linux

Comments

@valadaptive
Copy link
Contributor

Describe the bug

On Linux, if you close an eframe window when it's minimized, nothing will happen until the window is un-minimized, at which point the window will close:

Peek.2024-07-03.11-15.mp4

This appears to happen on both the glow and wgpu backends.

To Reproduce
Steps to reproduce the behavior:

  1. Run any eframe demo app on Linux
  2. Try to close the window while it's minimized, either using the "Close" option in the taskbar's context menu, or Ctrl+C
  3. Observe that the window is not closed
  4. Un-minimize the window
  5. Observe that it closes itself

Expected behavior

The window closes immediately when it's told to, instead of when it's visible

Desktop (please complete the following information):

  • OS: Fedora 40 (X11)
  • Version: v0.28.0
@valadaptive valadaptive added the bug Something is broken label Jul 3, 2024
@emilk emilk added eframe Relates to epi and eframe native-linux Problem specific to Linux labels Jul 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something is broken eframe Relates to epi and eframe native-linux Problem specific to Linux
2 participants