Omasnap scroll capture is black: screenshot-selection.lua still sets no_screen_share on the omasnap layer
System details
AMD Ryzen 7 7840HS (Radeon 780M) + RTX 4060 Mobile, Omarchy 4.0.0.r7314 (dev), omasnap 1.23.0, Hyprland 0.56.2 (local build with an unrelated input patch)
What's wrong?
default/hypr/apps/screenshot-selection.lua still sets no_screen_share = true on the omasnap layer. Hyprland draws an excluded layer's full bounds black in output captures, transparent areas included. The scroll overlay covers the whole monitor, so every frame Omasnap grabs through its live region is solid black and scroll capture never stitches (it sees a single block).
Omasnap removed this property from its recommended Hyprland setup in omacom/omasnap@282b3381 (fixes omacom/omasnap#128), two days after it landed here in e265934b. Its README now says not to set it; ordinary captures are unaffected because they grab the screen before the overlay appears.
Repro:
omasnap --scroll, select a region over a scrollable window, pick Auto ↓: nothing stitches.- With the overlay open,
grim /tmp/a.pnggives a fully black image. - Add
hl.layer_rule({ match = { namespace = "^omasnap$" }, no_screen_share = false })to the user config andhyprctl reload: grim shows the desktop and scroll capture stitches normally.
Fix: drop no_screen_share = true from that rule. Trade-off: the Omasnap overlay shows up in screen shares while it is open.