mirror of
https://github.com/anomalyco/hex.git
synced 2026-11-28 13:02:21 +01:00
| Filename | Latest commit message | Latest commit date |
|---|---|---|
* meetings: a lab keeps the recording indicator on the display it was dragged to Labs › Indicator on any display (labs.meeting_indicator_display, off by default, macOS and Windows) lets a release of the recording capsule or a panel capsule land in the nearest corner of the display under the pointer, measured by that display's own size, and pins the window there with Rune's DisplayTarget::Native. The landed display is saved beside the corner as meetings.recording_indicator_display, the OS's own name for it (the monitor's device name on Windows, the CGDirectDisplayID on macOS), and every capsule shows there from then on; a display that is gone falls back to the primary display and keeps the saved name. Landing on another display jumps instead of gliding, since a glide is measured within one display. Off, every release and every show takes the primary-display path exactly as before, and the saved display is ignored. A native Wayland capsule has no display to measure, so Linux does not list the card. The inherited pill now takes the offer's corner and display explicitly, so a later drag measures from where its window really is. Not verified on real multi-monitor hardware on either OS, and the macOS and Windows halves were not compiled for Hex itself (no macOS SDK here; the Windows C dependencies need ml64.exe), though scrawl-capture's monitor helper was checked for x86_64-pc-windows-msvc. Also refreshes the Labs and What's new goldens, which were already stale on dev from #2650 (clipboard phrase). * meetings: put the indicator back on the primary display with the lab off, and land where the pointer is Review fixes for the display lab: - `placement::place_on` always sets the display target now: the saved display while the lab is on, and `DisplayTarget::Primary` while it is off, so turning the lab off mid-session brings a capsule pinned to another display back instead of leaving the window there while every release measures the primary one. The pure choice is `screen::placed_target`, tested. - `screen::displays` reports whether the pointer is actually on one of the displays it lists (`Displays { all, pointer }`). A release with no pointer display (a failed cursor read, or a gap between two displays) now measures the display it was dragged on instead of treating the first entry as the landing display. New test: `a_pointer_on_no_display_lands_where_it_was_dragged`. - A saved display that is gone resolves through `screen::target_in_displays`, a pure function now, with `a_saved_display_that_is_gone_is_the_primary_target`. - An accepted offer hands the pill the capsule's own corner and display, not the saved anchor, so a drag that has not reached settings yet still lands the recording where its window is. - `hex settings` help for `labs.meeting_indicator_display` says "(macOS and Windows)", and the labs and meetings maps name the real test list and say the lab off explicitly returns a capsule to the primary display. |
||
| .. | ||
| capture | ||
| capture-core | ||
| console | ||
| router | ||