Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Trap candidate: event-timestamp-ns

Open
#12 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Feature
Clarity
Clearly specified
Activity status
Active
Tech stack
c
Domain
devtools, testing

Research direction

First, find a public SDL3 port, commit, or issue that shows this timestamp bug and comment with the real code; the issue says work starts only after confirmation. Then read CONTRIBUTING.md’s “Adding a trap” instructions and copy the mouse-logical-coords fixture that pushes and polls events. Add the card to plugins/sdl3-porter/skills/sdl3-porter/references/events.md; done means fixtures pass CI on Windows, Linux, and macOS with SDL 3.2.0 and 3.4.18, and the candidate is removed from the README list.

Written by the indexing model from the issue text.

Description

help wanted trap candidate

What changed: SDL_Event's timestamp is now in nanoseconds, from SDL_GetTicksNS(). SDL2 code that compares it with SDL_GetTicks() or treats it as milliseconds is off by a factor of a million. (migration guide)

Why it's a candidate: it compiles cleanly and can be proven headless, but no port has shown it in real code yet. It becomes a trap, with fixtures and an eval case, when a port or an issue shows it. If your SDL3 port ran into it, comment with the code.

Taking it on: first comment with the real code that shows it: a public SDL3 port, commit or issue where it caused a bug. Once I confirm it qualifies, follow "Adding a trap" in CONTRIBUTING.md and copy mouse-logical-coords, the one fixture that pushes and polls events with SDL_PushEvent. The card goes in plugins/sdl3-porter/skills/sdl3-porter/references/events.md, which would get its first trap. The fixtures have to pass CI on Windows, Linux and macOS against SDL 3.2.0 and 3.4.18, and the PR removes the id from the README's list of candidates. I run the eval case myself, because evals use a repository secret.

Dominant language
C
Stars
1
Forks
1
Avg merge
13m
Merged PRs (30d)
3

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from hazeliscoding/sdl3-porter

All issues in hazeliscoding/sdl3-porter

Similar issues

More C issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.