max-mapper / max-mapper/tabby

Toggle DevTools is toggling the Electron Devtools, not <webview>

Open
#10 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

help wanted
Dominant language
JavaScript
Stars
345
Forks
19
PR merge metrics
No merged PRs in 30d

Description

So this isn't so easy, honestly. Something I had issues implementing with Lowbrow.

Essentially you have to get the current window's current webview and then call <webview>.openDevTools() (sadly there is no toggleDevTools()). But that's not all, as <webview> tags can't have docked DevTools :(

Contributor guide

No contributing guide indexed for this repository

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.

Research direction

Locate the handler for the Toggle DevTools command and inspect how the current window’s webview is selected. Verify Electron’s DevTools behavior, then confirm the command targets that webview rather than the Electron window; the issue notes that docked DevTools are unavailable.

Written by the indexing model from the issue text.

Assessment

Tech stack
electron, javascript
Domain
desktop
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.