Kong / Kong/insomnia

Whole UI disappears when switching between requests

Open
#5,592 6 comments 2 reactions 0 assignees View on GitHub
B-bug S-unverified
Dominant language
TypeScript
Stars
40k
Forks
2.4k
Avg merge
2d 13h
Merged PRs (30d)
61

Description

### Expected Behavior

Being able to use the app

### Actual Behavior

Can't do anything other than restart the whole application to bring back the UI, only to face the same issue after ~5 clicks.

### Reproduction Steps

1. Open insomnia
2. Navigate to the collection with a few variables defined in the environment
3. Switch 3-5 times between different requests

### Is there an existing issue for this?

- [X] I have searched the [issue tracker](https://www.github.com/Kong/insomnia/issues) for this problem.

### Additional Information

The issue occurs only in the collection where I have a bunch of variables referencing each other in the base environment: JSONPath, simple variables, Response -> body attribute, and array item. I don't see this issue in the collection with just a single '_.ip' or '_.baseUrl' var.

This is how the problem looks like
![image](https://user-images.githubusercontent.com/101173198/209797169-3b3f986b-00b6-41f2-b222-d3893e9bae31.png)

Trying to import this collection to another insomnia instance gives the following error
![image](https://user-images.githubusercontent.com/101173198/209797335-64c5f9e5-3e6e-4eac-bb02-19fd4363f896.png)

### Insomnia Version

2022.7.0

### What operating system are you using?

Windows

### Operating System Version

Windows 10 Pro 21H2 OS build 19044.2364

### Installation method

download from insomnia.rest long time ago, updated to current version via insomnia app

### Last Known Working Insomnia version

_No response_

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the failure in Insomnia 2022.7.0 on Windows 10: open a collection with chained environment variables and switch between requests several times. Compare it with a collection containing only simple variables, and use the reported UI disappearance and collection import failure as the completion criteria.

Written by the indexing model from the issue text.

Assessment

Tech stack
electron, typescript
Domain
desktop, frontend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.