Fix an empty Outputs tab in the screen-share picker
Symptom
The screen-share picker opens but the "Outputs"/"Screens" tab is completely empty: you can only pick individual windows. Picking "Region" records a black screen. Running the picker by hand prints only (hyprland-preview-share-picker:269939): Gtk-CRITICAL **: gtk_flow_box_set_max_children_per_line: assertion 'n_children > 0' failed.
Cause
Two distinct causes seen in the wild. (1) On Omarchy, custom_picker_binary = hyprland-preview-share-picker in ~/.config/hypr/xdph.conf replaces the stock Qt picker with a GTK preview picker that can fail to render output thumbnails on some GPUs. The outputs are actually there but invisible. (2) Multi-monitor setups where the picker renders outputs off-screen. The entries exist but are not shown.
Fix
First, try navigating blind: the entries are often present but not painted. Focus the Outputs tab and press the arrow keys, then Enter.
If that fails, capture a debug log to confirm outputs are being enumerated:
hyprland-preview-share-picker --debug --logs /tmp/picker.log
grep -i output /tmp/picker.log
A line like transmitted image for output eDP-2 means the output is there and only the rendering is broken.
Fall back to the stock Qt picker by commenting out the custom binary in ~/.config/hypr/xdph.conf:
screencopy {
allow_token_by_default = true
# custom_picker_binary = hyprland-preview-share-picker
}
Then:
systemctl --user restart xdg-desktop-portal-hyprland.service
The stock hyprland-share-picker lists outputs as plain text rows and works where the preview picker does not.
Verify
Re-open the share dialog. The Outputs tab lists your monitors by connector name (eDP-1, DP-3, HDMI-A-1) and selecting one produces live video rather than black.