bevy icon indicating copy to clipboard operation
bevy copied to clipboard

Fix missed `RenderDevice::configure_surface` call on window size change

Open HackerFoo opened this issue 3 years ago • 2 comments

Objective

On iOS devices, the old code would sometimes miss changes and not call RenderDevice::configure_surface appropriately, leaving the screen at the wrong size when rotating.

Solution

Change the ExtractedWindow::size_changed field to a size_change_pending flag that is only cleared after calling configure_surface.

Changelog

Fixed: Windows may not be configured on size changes.

HackerFoo avatar Aug 14 '22 22:08 HackerFoo

@HackerFoo this needs to be rebased following windows-as-entities.

alice-i-cecile avatar Feb 13 '23 18:02 alice-i-cecile

Can anyone still reproduce this? It's quite old.

NthTensor avatar Aug 24 '24 03:08 NthTensor

Backlog cleanup: closing due to inactivity. Probably best to wait for a further bug report if this is still an issue 2 years down the track.

bas-ie avatar Oct 05 '24 02:10 bas-ie