Fix Ctrl+Q to close embedded browser in Electron version #19
No reviewers
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Public/castroix!19
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "copilot/fix-control-q-close-issue"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Ctrl+Q was not closing the embedded browser when a webpage was loaded. The handler only attempted to close external processes, which doesn't apply to URL-based services that open in BrowserView.
Changes
renderer.js: Modified Ctrl+Q handler to check if embedded browser is active before deciding action
home-viewis hidden: close browser and return to home screentest_electron.js: Added
testKeyboardShortcuts()to verify handler logicDocumentation: Updated keyboard shortcut tables in README-ELECTRON.md and ARCHITECTURE.md
Implementation
Original prompt
💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.