Files
oak-gpui/crates
Conrad Irwin a1c4716eeb Potential fix for #2422 (#4197)
- it seems like layer.drawable_size() is 0,0 in metal_renderer.rs:189 
- we set this in two places:
    - in response to a CALayerDelegate setFrameSize: event
- in response to a CALayerDelegate viewDidChangeBackingProperties:
event.
- it looks like if we don't set it in either of these cases we get a
different failure mode: the view is zoomed just wrong.
- That said, I can reproduce the screenshot if .scale_factor() returns
0.
- This might happen if [nativeWindow screen] is nil, which happens when
the window is off screen.
    - possible that zed started with offscreen window?
- I would expect that viewDidChangeBackingProperties would fire when
that changed.
    - potential fix: default to 2.0

Release Notes:

- Fixed Zed occasionally rendering blank on laungh
([#2422](https://github.com/zed-industries/community/issues/2422)).
2024-01-22 11:25:02 -07:00
..
2024-01-08 16:53:01 -07:00
2024-01-03 12:59:39 -08:00
2024-01-22 08:38:20 -07:00
2024-01-22 10:16:59 -05:00
2024-01-17 11:39:09 -05:00
2024-01-03 12:59:39 -08:00
2024-01-21 20:26:33 -08:00
2024-01-22 10:16:59 -05:00
2024-01-18 01:33:30 -05:00
2024-01-18 00:48:37 +01:00
2024-01-03 12:59:39 -08:00
2024-01-18 00:48:37 +01:00
2024-01-22 11:25:02 -07:00
2024-01-03 12:59:39 -08:00
2024-01-02 00:04:51 +01:00
2024-01-03 12:59:39 -08:00
2024-01-03 20:02:23 -05:00
2024-01-18 00:48:37 +01:00
2024-01-03 12:59:39 -08:00
2024-01-18 00:48:37 +01:00
2024-01-18 00:48:37 +01:00
2024-01-18 01:33:30 -05:00
2024-01-22 10:16:59 -05:00
2024-01-09 14:16:46 -08:00
2024-01-22 10:16:59 -05:00
2024-01-22 10:16:59 -05:00
2024-01-03 12:59:39 -08:00