Kong / Kong/insomnia

Right click on a URL from the Preview tab opens both Context Menu and system browser.

Open
#2,839 6 comments 0 reactions 0 assignees View on GitHub
needs-triage O-windows waiting-for-team
Dominant language
TypeScript
Stars
40k
Forks
2.4k
Avg merge
2d 13h
Merged PRs (30d)
61

Description

**Describe the bug**
Right click on a URL from the Preview tab opens both Context Menu and system browser.

**To Reproduce**
Steps to reproduce the behavior:
1. Receive any JSON which contains one or more valid HTTP(s) links.
2. Right click on a highlighted link, assuming to open a context menu.
3. Observe the context menu opens and then immediately a default system browser opens as well, navigating you to the link's URL.

**Expected behavior**
I expect only the Context Menu to pop up, and never the browser.

**Desktop (please complete the following information):**
Version: Insomnia Core 2020.4.2
Release date: 10/21/2020
OS: Windows_NT x64 10.0.19042
Electron: 9.1.1
Node: 12.14.1
V8: 8.3.110.13-electron.0
Architecture: x64
node-libcurl: libcurl/7.69.1-DEV OpenSSL/1.1.1d zlib/1.2.11 WinIDN libssh2/1.9.0_DEV nghttp2/1.40.0

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the issue in the Preview tab on Windows with JSON containing an HTTP or HTTPS link, then investigate how highlighted links handle right-click and browser navigation. Done means right-clicking a highlighted link opens only the context menu and does not launch the system browser.

Written by the indexing model from the issue text.

Assessment

Tech stack
electron, typescript
Domain
desktop, frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.