ZIm/crates/collab_ui/src
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
..
collab_panel Update modal icon styles 2023-08-16 13:48:12 -04:00
collab_panel.rs Collapse offline section by default 2023-08-16 19:51:41 -07:00
collab_titlebar_item.rs Merge branch 'main' into collab-panel 2023-08-15 03:25:45 -07:00
collab_ui.rs Fix AppKit screen coordinate conversion leading to wrong window bounds 2023-08-17 15:23:28 -07:00
contact_notification.rs Remove Dismiss and RespondToContactRequest internal actions 2023-04-28 15:56:41 +02:00
face_pile.rs Limit number of participants shown in channel face piles 2023-08-14 17:11:03 -07:00
incoming_call_notification.rs Fix AppKit screen coordinate conversion leading to wrong window bounds 2023-08-17 15:23:28 -07:00
notifications.rs Add components example 2023-08-15 03:06:43 -07:00
project_shared_notification.rs Fix AppKit screen coordinate conversion leading to wrong window bounds 2023-08-17 15:23:28 -07:00
sharing_status_indicator.rs Add components example 2023-08-15 03:06:43 -07:00