Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Collapse-all json keybind in response preview stalls program on very large json response #7825

Open
1 task done
nbird11 opened this issue Aug 9, 2024 · 1 comment
Open
1 task done
Labels
B-bug Bug: general classification S-unverified Status: Unverified by maintainer

Comments

@nbird11
Copy link

nbird11 commented Aug 9, 2024

Expected Behavior

I expected to see the collapsed json after a bit of time waiting, as the response is very large (200,000 lines).

Actual Behavior

The program stalls and is unresponsive even 5 mins after trying the keybind to collapse-all.

Reproduction Steps

The endpoint I hit is privileged, but any uri that returns a response of type application/json that is ~200,000 lines long and contains many different objects and lists should produce the same result.

  1. GET /uri/that/produces/large/json
  2. In Preview, select Visual Preview or Source Code
  3. Press keybind for collapse-all ( Ctrl+Shft+- ; Cmd+Shft+- )

Is there an existing issue for this?

Additional Information

This alert message shows up almost immediately.
Screenshot 2024-08-09 at 10 57 48 AM
Clicking Reload does not change the stalled state of the program and another alert usually appears soon after.
Clicking Cancel and then closing and reopening the program returns it to normal.

Insomnia Version

9.3.3

What operating system are you using?

macOS

Operating System Version

macOS Sonoma Version 14.6

Installation method

Downloaded from insomnia.rest

Last Known Working Insomnia version

No response

@nbird11 nbird11 added B-bug Bug: general classification S-unverified Status: Unverified by maintainer labels Aug 9, 2024
@notjaywu
Copy link
Contributor

Similar issue: #793

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
B-bug Bug: general classification S-unverified Status: Unverified by maintainer
Projects
None yet
Development

No branches or pull requests

2 participants