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

When the program is minimized, the viewport stops working. #3972

Closed
rustbasic opened this issue Feb 5, 2024 · 0 comments · Fixed by #5042
Closed

When the program is minimized, the viewport stops working. #3972

rustbasic opened this issue Feb 5, 2024 · 0 comments · Fixed by #5042
Labels
bug Something is broken native-windows Running on native Windows OS viewports multiple viewports, viewports API

Comments

@rustbasic
Copy link
Contributor

When a new Immediate Viewport is opened and the program is minimized,
the new Immediate Viewport remains displayed on the screen but becomes unresponsive.
When the program is restored from the minimized state, the Immediate Viewport starts functioning again.

This issue occurs after a recent update.
In previous versions, the new Immediate Viewport was not displayed on the screen when the program was minimized.

OS: Window 10
egui version: master branches

@rustbasic rustbasic added the bug Something is broken label Feb 5, 2024
@emilk emilk added native-windows Running on native Windows OS viewports multiple viewports, viewports API labels Feb 5, 2024
@rustbasic rustbasic changed the title Immediate Viewport not hidden when program is minimized When the program is minimized, the viewport stops working. Feb 19, 2024
@emilk emilk closed this as completed in 2a6a130 Sep 1, 2024
486c pushed a commit to 486c/egui that referenced this issue Oct 9, 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
* Closes emilk#3972
* Closes emilk#4772
* Related emilk#4832 
* Closes emilk#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
* Closes emilk#3972
* Closes emilk#4772
* Related emilk#4832 
* Closes emilk#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()`.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment