You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
Run any eframe demo app on Linux
Try to close the window while it's minimized, either using the "Close" option in the taskbar's context menu, or Ctrl+C
Observe that the window is not closed
Un-minimize the window
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
The text was updated successfully, but these errors were encountered:
Fix: The viewport stops working when the program is minimized.
Fix: Logically, the weird parts have been normalized.
**Issue :**
The viewport stops working when the program is minimized.
* Related emilk#3321
* Related emilk#3877
* Related emilk#3985
* Closesemilk#3972
* Closesemilk#4772
* Related emilk#4832
* Closesemilk#4892
**Solution :**
When `request_redraw()` is performed in Minimized state, the occasional
screen tearing phenomenon has disappeared.
( Probably expected to be the effect of emilk#4814 )
To address the issue of the `Immediate Viewport` not updating in
Minimized state, we can call `request_redraw()`.
hacknus
pushed a commit
to hacknus/egui
that referenced
this issue
Oct 30, 2024
Fix: The viewport stops working when the program is minimized.
Fix: Logically, the weird parts have been normalized.
**Issue :**
The viewport stops working when the program is minimized.
* Related emilk#3321
* Related emilk#3877
* Related emilk#3985
* Closesemilk#3972
* Closesemilk#4772
* Related emilk#4832
* Closesemilk#4892
**Solution :**
When `request_redraw()` is performed in Minimized state, the occasional
screen tearing phenomenon has disappeared.
( Probably expected to be the effect of emilk#4814 )
To address the issue of the `Immediate Viewport` not updating in
Minimized state, we can call `request_redraw()`.
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:
Expected behavior
The window closes immediately when it's told to, instead of when it's visible
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: