Skip to content

tye-exe/egui_no_close

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This repository shows a bug with eframe (while using Wayland) where the previous window remains (and cannot be closed) until the "run_native" method is called again, upon which it is replaced. Or the application exits, which is not always desirable.

Reproduce

To reproduce this build and run this project with cargo run while using Wayland and click on the window close button to see the issue occur. Compiling to X11 can be forced be unsetting the "WAYLAND_DISPLAY" environment variable (unset by default in flake.nix). Running the application via Xwayland produces the correct behaviour.

Observed Behaviour

The window remains open until a new eframe instance is launched.

Video Example: video

Expected Behaviour

There should be no eframe window open after it is closed.

Addition Info

  • This bug does not occur when using X11
  • It is not seen in this demonstration, but I know that the application update calls stop after the "x" button is pressed.

About

Eframe not closing bug

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors