GNOME Wayland: a window take records the window's client-side shadow as a black border
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 64/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Active
- Tech stack
- linux
- Domain
- audio-video-rtc, desktop-dev
Research direction
Reproduce on GNOME Wayland, then find the PipeWire capture helper and the place that logs capture started with the 1012×672 dimensions. Read how the stream's video crop metadata is exposed and compare it with the full buffer that is currently kept. Done means a window take is cropped to the visible window region (about 890×550 here), with no black border and matching logged dimensions.
Written by the indexing model from the issue text.
Description
On GNOME Wayland, recording a single GTK4 window gives a video larger than the window, with a black band all around it: the window's transparent client-side shadow is kept and recorded as black.
Steps
- GNOME 46 on Wayland. HUD or Record mode → record → in the portal picker, Application Window → a GTK4 window (Files here) → Share.
- Record a few seconds, then stop.
- Look at the take in the editor, or probe the file.
Expected: the window alone, at its own size.
Actual
- The file is 1012×672 for a window drawn at about 890×550.
- About 61 px of pure black surround it on every side: pixels (5,5), (30,30) and (60,60) are (0,0,0), and (70,70) is window content.
- The log reads
capture started {"width":1012,"height":672}. - The editor shows the window inside a black frame.
Seen on the 2.4.0-rc.1 AppImage, Ubuntu 24.04.4, GNOME Shell 46 on Wayland, AMD Radeon 610M (VA-API).
Likely cause (unverified)
The PipeWire helper keeps the whole buffer, shadow included, instead of cropping to the region the stream marks as the window's visible part (its video crop metadata).
- Dominant language
- TypeScript
- Stars
- 3.7k
- Forks
- 231
- Avg merge
- 1d 8h
- Merged PRs (30d)
- 150
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from getopenscreen/openscreen
-
macOS: the Save Diagnostics panel goes behind the editor after an app switch and can't be reachedOpenbug
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
getopenscreen/openscreen#1667 ·
Maintainers usually reply within 1 day
-
A freshly imported video or image shows 0:00.0 on its Media card until it is placed on the timelineOpenbug
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
getopenscreen/openscreen#1663 ·
Maintainers usually reply within 1 day
-
Native review wanted: machine-translated recording bar tooltips (14 locales)Possibly taken @auberginewly claimed this 45 days ago. Opengood first issue help wanted
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
getopenscreen/openscreen#913 · 5 comments ·
Maintainers usually reply within 1 day
-
Small papercuts from the 2.4.0-rc.1 end-to-end passPossibly taken @EtienneLescot claimed this today. Openbug
Difficulty 3/5 1-2 days Newbie friendliness 52/100
getopenscreen/openscreen#1668 ·
Maintainers usually reply within 1 day
-
GNOME Wayland: the Notes window does not stay on topPossibly taken @EtienneLescot claimed this today. Openbug
Difficulty 4/5 3-5 days Newbie friendliness 28/100
getopenscreen/openscreen#1666 ·
Maintainers usually reply within 1 day
All issues in getopenscreen/openscreen
Similar issues
-
community first-timers-only good first issue hacktoberfest help wanted low hanging fruit up-for-grabs
Difficulty 1/5 Under an hour Newbie friendliness 92/100
lingdojo/kana-dojo#34545 · 1 comment · 5 reactions ·
Maintainers usually reply within 1 day
-
blocklist addition
Difficulty 1/5 Under an hour Newbie friendliness 82/100
MetaMask/eth-phishing-detect#315455 ·
Maintainers usually reply within 1 day
-
area: telegram bug
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
griffinwork40/agent-afk#5275 ·
Maintainers usually reply within 1 day
-
documentation
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
erkamyaman/rust-anything#371 ·
Maintainers usually reply within 1 day
-
Widget: match the chat bubble color to the rest of the widgetPossibly taken @sethr07 claimed this today. Openenhancement frontend help wanted
Difficulty 2/5 Half a day Newbie friendliness 75/100
DeadantCo/answerLoopsdev#68 · 3 comments ·