Canvas and macOS host improvements
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 25/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- macos, zig
- Domain
- desktop
Research direction
Start with the linked PRs #471–#480, using each PR's listed scope to choose one independent improvement rather than treating this tracker as a single task. Done means the selected improvement has a resolved scope and its corresponding PR is ready to merge.
Written by the indexing model from the issue text.
Description
Sup, everyone!
I'm porting ProUI, to Native SDK and I bring SDK improvements that were required to make it work. This issue is to keep track of stuff and explain the PR shotgun.
Matching ProUI's designs and the density of the demo apps built with it required some updates to the SDK in a few of places.
I made those changes in a fork I could develop with, but it'd be nice to have them in the SDK as it'll benefit everyone using it, not just ProUI
Some of the fixes:
- Rounded
clip_contentsurfaces cut their children square on every backend. - Drop shadows on macOS rendered at about 1% strength and pointed the wrong way vertically.
- ProMotion displays were capped at 60 Hz.
- A dropped scroll report could leave the native scroller and the canvas content permanently out of step.
- An open accordion containing a closed one never became interactive.
- Wrapped paragraphs could be measured at the wrong width and overlap the next sibling.
I've also added general mechanisms for things ProUI needed that would be beneficial to other projects using Native SDK: widget painters, app-level input hooks, SliderRange, side-anchored overlays, and composed tooltips.
| PR | What |
|---|---|
| #471 | Canvas fixes: paragraph and overlay measurement, container borders, nested accordions, animation transforms |
| #472 | Letter spacing, authored text size and line height, rounded content clips on every backend (wire format v6) |
| #473 | Widget painters and custom-control seams (cursor override, automation hover) |
| #474 | Slider source ranges, vertical flush button groups, app input hooks |
| #475 | Side-anchored overlays, docked modals, modal dismissal, menu safe triangle, composed tooltips, checked native menu items |
| #476 | Layout memoization, desktop budgets, virtual-list row reuse, animation continuity |
| #477 | File path dialogs for Zig apps, app-owned pixels, real-time audio output |
| #478 | macOS shadow, stroke, font, and accessibility fixes |
| #479 | macOS scrolling reliability, display-rate pacing, GPU compositing |
| #480 | GPU scenes rendered into registered images (builds on #479) |
The fixes (#471, #478, and most of #479) should be uncontroversial and I welcome design feedback on:
- the painter API in #473 (a function pointer plus a fixed
[8]f32payload) - the
SliderRangemodel in #474 - the overlay placement additions in #475
- whether real-time audio output (#477) and GPU scenes (#480) belong in the SDK at all. I feel like it's neat, but idk
Everything is split so it can be merged independently except #480, which builds on #479
Thx, see you tomorrow ▲
- Dominant language
- Zig
- Stars
- 7.9k
- Forks
- 335
- Avg merge
- 10h 33m
- Merged PRs (30d)
- 147
Getting set up
- No Dockerfile or Docker Compose file
- No 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 vercel-labs/native
-
Per-view widget layout budget (1024 nodes) drops whole frames on real multi-pane app viewsPossibly taken @slicenferqin claimed this 100 days ago. Open
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
vercel-labs/native#408 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
vercel-labs/native#387 ·
Maintainers usually reply within 1 day
-
macOS: the window frame event reports the frame size where everything else expects the content sizeOpen
Difficulty 1/5 Under an hour Newbie friendliness 84/100
vercel-labs/native#355 ·
Maintainers usually reply within 1 day
-
cef.zig: InstallResult.archive_path leaks on successPossibly taken @versecafe claimed this 206 days ago. Open
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
vercel-labs/native#32 ·
Maintainers usually reply within 1 day
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
vercel-labs/native#957 ·
Maintainers usually reply within 1 day
All issues in vercel-labs/native
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Maintainers usually reply within 1 day
-
GUI: the space panel stays stale after a run stops with no spacePossibly taken @nikkexe0-del claimed this today. Openbug
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
xevrion/hatchzip#237 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
flathub/org.ardour.Ardour#89 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Javis603/token-monitor#1861 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 92/100
Maintainers usually reply within 1 day