zed/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
..
activity_indicator
ai chore: Fix clippy::needless_borrow up to an editor 2024-01-21 15:03:24 +01:00
assets
assistant Fix assistant panel header when viewing conversation history (#4160) 2024-01-19 11:00:22 -05:00
audio
auto_update Remove commented-out code in auto_update (#4149) 2024-01-18 23:12:42 -05:00
breadcrumbs
call chore: Fix clippy::needless_borrow up to an editor 2024-01-21 15:03:24 +01:00
channel chore: Fix clippy::needless_borrow up to an editor 2024-01-21 15:03:24 +01:00
cli
client chore: Fix clippy::needless_borrow up to an editor 2024-01-21 15:03:24 +01:00
clock
collab Fix cmd-k left 2024-01-22 08:38:20 -07:00
collab_ui Store a z-index id per-layer 2024-01-22 10:16:59 -05:00
collections
color
command_palette Make platform input handler private 2024-01-20 06:56:19 -08:00
copilot chore: Fix clippy::needless_borrow up to an editor 2024-01-21 15:03:24 +01:00
copilot_ui Make platform input handler private 2024-01-20 06:56:19 -08:00
db
diagnostics Port the rest of the app 2024-01-21 20:26:33 -08:00
editor Store a z-index id per-layer 2024-01-22 10:16:59 -05:00
feature_flags Use try_global() 2024-01-18 01:33:30 -05:00
feedback
file_finder Editor docs (#4097) 2024-01-18 00:48:37 +01:00
fs chore: Fix clippy::needless_borrow up to an editor 2024-01-21 15:03:24 +01:00
fsevent
fuzzy
git chore: Fix clippy::needless_borrow up to an editor 2024-01-21 15:03:24 +01:00
go_to_line Editor docs (#4097) 2024-01-18 00:48:37 +01:00
gpui Potential fix for #2422 (#4197) 2024-01-22 11:25:02 -07:00
gpui_macros Fix typos detected by crate-ci/typos 2024-01-17 14:31:21 -08:00
install_cli
journal Make platform input handler private 2024-01-20 06:56:19 -08:00
language chore: Fix clippy::needless_borrow up to an editor 2024-01-21 15:03:24 +01:00
language_selector Pull out fluent builder helpers into re-usable trait 2024-01-18 15:31:31 -08:00
language_tools lsp-log: Reemit Editors search events. 2024-01-22 14:02:48 +01:00
live_kit_client Adjust APIs for simpler examples in blog post 2024-01-17 21:19:28 -07:00
live_kit_server
lsp chore: Fix clippy::needless_borrow up to an editor 2024-01-21 15:03:24 +01:00
media
menu
multi_buffer chore: Fix clippy::needless_borrow up to an editor 2024-01-21 15:03:24 +01:00
node_runtime
notifications
outline Editor docs (#4097) 2024-01-18 00:48:37 +01:00
picker Wrap over picker's matches when reaching the end of the list 2024-01-18 16:54:35 +02:00
plugin
plugin_macros
plugin_runtime Update tenses of doc comment summary lines (#4161) 2024-01-19 11:18:50 -05:00
prettier
project chore: Fix clippy::needless_borrow up to an editor 2024-01-21 15:03:24 +01:00
project_panel Pull out fluent builder helpers into re-usable trait 2024-01-18 15:31:31 -08:00
project_symbols Editor docs (#4097) 2024-01-18 00:48:37 +01:00
quick_action_bar Editor docs (#4097) 2024-01-18 00:48:37 +01:00
recent_projects Fix typos detected by crate-ci/typos 2024-01-17 14:31:21 -08:00
refineable Fix typos detected by crate-ci/typos 2024-01-17 14:31:21 -08:00
rich_text chore: Fix clippy::needless_borrow up to an editor 2024-01-21 15:03:24 +01:00
rope
rpc Merge branch 'main' into language-api-docs 2024-01-18 15:06:45 -08:00
search Fix focus and re-focus of project-wide search 2024-01-18 15:05:45 +01:00
semantic_index Use try_global() 2024-01-18 01:33:30 -05:00
settings chore: Fix clippy::needless_borrow up to an editor 2024-01-21 15:03:24 +01:00
snippet
sqlez Fix typos detected by crate-ci/typos 2024-01-17 14:31:21 -08:00
sqlez_macros
story Finish documenting the action, asset, color, and element modules in GPUI 2024-01-20 20:15:23 -08:00
storybook Store a z-index id per-layer 2024-01-22 10:16:59 -05:00
sum_tree
terminal chore: Fix clippy::needless_borrow up to an editor 2024-01-21 15:03:24 +01:00
terminal_view Moved Frame struct into element context, to be close to it's associated methods 2024-01-21 20:52:24 -08:00
text
theme Add more terminal colors to the theme (#4168) 2024-01-19 14:22:53 -05:00
theme_importer Add more terminal colors to the theme (#4168) 2024-01-19 14:22:53 -05:00
theme_selector
ui Store a z-index id per-layer 2024-01-22 10:16:59 -05:00
util Introduce a ZED_MEASUREMENTS env var and use it to measure frame time 2024-01-22 11:39:20 +01:00
vcs_menu Fix typos detected by crate-ci/typos 2024-01-17 14:31:21 -08:00
vim Merge remote-tracking branch 'origin/main' into jk 2024-01-21 22:03:54 -07:00
welcome Fix typos detected by crate-ci/typos 2024-01-17 14:31:21 -08:00
workspace Store a z-index id per-layer 2024-01-22 10:16:59 -05:00
zed Resize Nightly icons to same scale as Stable/Preview (#4179) 2024-01-22 10:34:01 +01:00
zed_actions