Skip to content

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

@valadaptive

Description

@valadaptive

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething is brokeneframeRelates to epi and eframenative-linuxProblem specific to Linux

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions