IPC handlers on webContents.ipc not unwrapped properly
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 35/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- electron, typescript
Research direction
Start by running the linked reproduction gist with Devtron and inspect the handlers bound through webContents.ipc. Compare the logged Handle, HandleOnce, SendSync On, and SendSync Once values with the already-correct Send On and Send Once values; done means each handler receives the original arguments rather than the wrapped object.
Written by the indexing model from the issue text.
Description
It looks like devtron is not properly unwrapping ipc handlers bound on webContents.ipc this gist https://gist.github.com/wbgsupport/8cb6257df3c50804675f8de6f0f7f73c reproduces the issue. All events show in devtron as expected but when the request reaches the handler it's not unwrapped. Using the gist the example output is shown in the console.
Handle: {
__uuid__devtron: 'deb2f126-07a2-49c2-98a4-6fb691ec33d4',
args: [ 'Hello World' ]
}
HandleOnce: {
__uuid__devtron: '4becdc5f-4821-42b7-ab88-cd8ac4862ee1',
args: [ 'Hello World' ]
}
Send On: Hello World
Send Once: Hello World
SendSync On: {
__uuid__devtron: '795a5dbc-16bb-4833-984d-7b068904f925',
args: [ 'Hello World' ]
}
SendSync Once: {
__uuid__devtron: '5eb677b7-07ae-4821-8d69-ea894e052c33',
args: [ 'Hello World' ]
}
- Dominant language
- TypeScript
- Stars
- 1.8k
- Forks
- 110
- Avg merge
- 2h 28m
- Merged PRs (30d)
- 5
Contributor guide
No contributing guide indexed for this repository
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 electron/devtron
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
-
GSoC 2025
Difficulty 5/5 Over a week Newbie friendliness 25/100
-
enhancement
Difficulty 4/5 3-5 days Newbie friendliness 30/100
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 45/100
All issues in electron/devtron
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
mksglu/context-mode#1200 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
jaegertracing/jaeger-ui#4506 ·
-
area:desktop area:ui bug platform:macos
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
anthropics/claude-code#96687 ·
-
good first issue
Difficulty 1/5 Under an hour Newbie friendliness 95/100
AOSSIE-Org/DebateAI#582 · 2 comments ·