Skip to content

Fix viewport not working when minimized#5042

Merged
emilk merged 2 commits intoemilk:masterfrom
rustbasic:patch109
Sep 1, 2024
Merged

Fix viewport not working when minimized#5042
emilk merged 2 commits intoemilk:masterfrom
rustbasic:patch109

Conversation

@rustbasic
Copy link
Copy Markdown
Contributor

@rustbasic rustbasic commented Aug 31, 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.

Solution :

When request_redraw() is performed in Minimized state, the occasional screen tearing phenomenon has disappeared.
( Probably expected to be the effect of #4814 )

To address the issue of the Immediate Viewport not updating in Minimized state, we can call request_redraw().

@emilk emilk changed the title Fix: The viewport stops working when the program is minimized. Fix viewport not working when minimized Sep 1, 2024
@emilk emilk added bug Something is broken eframe Relates to epi and eframe labels Sep 1, 2024
@emilk emilk merged commit 2a6a130 into emilk:master Sep 1, 2024
@emilk emilk added the viewports multiple viewports, viewports API label Sep 1, 2024
486c pushed a commit to 486c/egui that referenced this pull request 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 pull request 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

Labels

bug Something is broken eframe Relates to epi and eframe viewports multiple viewports, viewports API

Projects

None yet

Development

Successfully merging this pull request may close these issues.

On Linux, the window doesn't close unless it's unminimized When the program is minimized, the viewport stops working.

2 participants