zed/crates
Max Brunsfeld 802911d742
Fix AppKit screen coordinate conversion leading to wrong window bounds (#2856)
Fixes
https://linear.app/zed-industries/issue/Z-1510/join-project-notification-takes-up-full-screen-on-a-second-monitor

There were multiple mistakes in the positioning of Zed's notification
windows, one of which lead to the notifications taking up the full
screen on secondary displays 😱 .
* Wrong sign for the vertical padding (moving the window *upward*
instead of downward)
* Using the screen's full frame instead of its "visible frame" (which
accounts for app menu bar)
* Wrong coordinate translation between our coordinates and AppKit's
coordinates. Regardless of which display a given window appears on, the
coordinate translation needs to use the height of the *main* display.

Release Notes:

- Fixed a bug where call notifications were accidentally full-screen on
all displays except the main display.
2023-08-17 16:24:46 -07:00
..
activity_indicator Add components example 2023-08-15 03:06:43 -07:00
ai Fix dock resizing 2023-08-16 19:47:54 -07:00
audio Lazily initialize and destroy the audio handle state on call initiation and end 2023-08-15 23:19:11 -07:00
auto_update Add components example 2023-08-15 03:06:43 -07:00
breadcrumbs Add components example 2023-08-15 03:06:43 -07:00
call Lazily initialize and destroy the audio handle state on call initiation and end 2023-08-15 23:19:11 -07:00
cli Prevent duplicate instances by coordinating via a socket 2023-07-07 14:19:44 -04:00
client Add fix for lost channel update bug 2023-08-17 00:56:21 -07:00
clock Fixed a bug where buffer saved clocks would desynchronize in rare execution paths 2023-06-07 16:10:45 -07:00
collab Collab panel touch ups (#2855) 2023-08-17 01:09:01 -07:00
collab_ui Fix AppKit screen coordinate conversion leading to wrong window bounds (#2856) 2023-08-17 16:24:46 -07:00
collections Move command palette filter into collections crate 2023-03-28 20:13:17 -07:00
command_palette Move more window methods off AsyncAppContext 2023-08-08 11:38:07 -06:00
context_menu Add components example 2023-08-15 03:06:43 -07:00
copilot Add components example 2023-08-15 03:06:43 -07:00
copilot_button Add components example 2023-08-15 03:06:43 -07:00
db Simplify db tests 2023-07-14 16:09:02 -07:00
diagnostics Additional status bar styles 2023-08-15 15:32:14 -04:00
drag_and_drop Add components example 2023-08-15 03:06:43 -07:00
editor Better multibuffer tests 2023-08-16 23:38:11 +03:00
feedback Merge branch 'main' into collab-panel 2023-08-15 03:25:45 -07:00
file_finder Store an AnyWindowHandle in WindowContext 2023-08-08 11:08:37 -06:00
fs Fix pathspec in staged_statuses 2023-07-23 21:36:29 -07:00
fsevent 🎨 Specify more dependencies at the workspace level 2023-04-24 17:41:55 -07:00
fuzzy remove commented line 2023-02-27 12:06:10 -08:00
git Clean up final remaining code paths calling old diff update method 2023-05-25 14:41:09 -04:00
go_to_line Store an AnyWindowHandle in WindowContext 2023-08-08 11:08:37 -06:00
gpui Fix AppKit screen coordinate conversion leading to wrong window bounds (#2856) 2023-08-17 16:24:46 -07:00
gpui_macros Move gpui derives tests into gpui crate to avoid dependency cycles 2023-08-16 10:19:20 +03:00
install_cli 🎨 Specify more dependencies at the workspace level 2023-04-24 17:41:55 -07:00
journal Enable test-support on editor in tests 2023-05-20 09:54:38 -06:00
language Fix code that identifies language via extension 2023-08-08 21:35:11 -04:00
language_selector Add components example 2023-08-15 03:06:43 -07:00
language_tools Add components example 2023-08-15 03:06:43 -07:00
live_kit_client Put LiveKitBridge Swift build directory in target 2023-07-28 18:53:24 -04:00
live_kit_server 🎨 Specify more dependencies at the workspace level 2023-04-24 17:41:55 -07:00
lsp Strip off inlay hints data that should be resolved 2023-08-14 22:50:55 +03:00
media Update rust-bindgen dev-dependencies 2023-06-04 23:34:22 -04:00
menu Position and style the channel editor correctly 2023-08-08 14:06:29 -07:00
node_runtime Reattempt Node installation if the installation itself errors 2023-07-28 15:24:40 -04:00
outline feat(workspace): allow alternative actions to open files and symbols in split 2023-07-14 21:49:15 +02:00
picker Merge branch 'main' into collab-panel 2023-08-15 03:25:45 -07:00
plugin 🎨 Specify more dependencies at the workspace level 2023-04-24 17:41:55 -07:00
plugin_macros Fix typos 2023-06-02 22:02:19 -04:00
plugin_runtime Fix typos 2023-06-02 22:02:19 -04:00
project Use InlayHint instead of Inlay where appropriate 2023-08-16 23:38:11 +03:00
project_panel Fix dock resizing 2023-08-16 19:47:54 -07:00
project_symbols Remove TestAppContext::add_view 2023-08-07 22:46:48 -06:00
quick_action_bar Fix rebase issues 2023-08-16 23:38:11 +03:00
recent_projects Add PathExt trait (#2823) 2023-08-03 18:57:43 -04:00
rope Simplify InlayMap::splice interface 2023-06-29 22:25:49 +03:00
rpc Implement calling contacts into your current channel 2023-08-15 14:56:54 -07:00
search Do not leak pane handles 2023-08-16 23:38:11 +03:00
semantic_index catchup with main 2023-08-01 10:40:38 -04:00
settings Accept null as a valid action, to disable a keystroke 2023-07-04 21:11:28 +03:00
snippet 🎨 Specify more dependencies at the workspace level 2023-04-24 17:41:55 -07:00
sqlez Fix typos 2023-06-02 22:02:19 -04:00
sqlez_macros 🎨 Specify more dependencies at the workspace level 2023-04-24 17:41:55 -07:00
staff_mode 🎨 Specify more dependencies at the workspace level 2023-04-24 17:41:55 -07:00
sum_tree Fix warnings surfaced in Rust 1.71 2023-08-02 09:19:23 -07:00
terminal Return to master branch of alacritty 2023-08-17 15:31:27 -07:00
terminal_view Fix dock resizing 2023-08-16 19:47:54 -07:00
text Remove excessive hint update queries 2023-06-30 22:03:21 +03:00
theme Draft quick actions bar 2023-08-16 23:38:11 +03:00
theme_selector feat(workspace): allow alternative actions to open files and symbols in split 2023-07-14 21:49:15 +02:00
util Fix code that identifies language via extension 2023-08-08 21:35:11 -04:00
vcs_menu Merge branch 'main' into collab-panel 2023-08-15 03:25:45 -07:00
vim Run until parked when setting editor's state via EditorTestContext 2023-08-15 13:42:54 -07:00
welcome feat(workspace): allow alternative actions to open files and symbols in split 2023-07-14 21:49:15 +02:00
workspace Fix dock resizing 2023-08-16 19:47:54 -07:00
xtask Fixup xtask compilation 2023-06-22 18:06:52 +02:00
zed Do not leak pane handles 2023-08-16 23:38:11 +03:00
zed-actions Add Sign in button for an unregistered user 2023-06-15 22:05:43 -07:00