insomnia icon indicating copy to clipboard operation
insomnia copied to clipboard

quick search loading too long (>5 seconds)

Open quyennguyenvu opened this issue 1 year ago • 10 comments

Expected Behavior

The quick search should appear and be immediately ready for typing after pressing Cmd+P. Small delay is acceptable

Actual Behavior

After pressing Cmd+P, it takes too long to load.

https://github.com/user-attachments/assets/8db56924-b9cd-4ba9-9fa5-d9a8d407e0f8

Reproduction Steps

No response

Is there an existing issue for this?

Which sync method do you use?

  • [ ] Git sync.
  • [x] Insomnia Cloud sync.
  • [ ] Local only

Additional Information

I have three projects, eight collections, and over 100 requests. I also installed the insomnia-plugin-request-body-hmac plugin, but even when it’s disabled, the issue persists.

Insomnia Version

v11.3.0

What operating system are you using?

macOS

Operating System Version

MacOS Sequoia 15.5

Installation method

download

Last Known Working Insomnia version

No response

quyennguyenvu avatar Jul 29 '25 08:07 quyennguyenvu

I'm on Ubuntu 25.04, and have noticed this for 1 or 2 months now, but can't pin it to a specific version. I have 48 collections and probably hundreds of requests with histories.

bobflorian avatar Aug 01 '25 12:08 bobflorian

That happened to me too

barney-castalk avatar Aug 07 '25 04:08 barney-castalk

Having the same issue, really annoying. One thing I noticed is that the number of expanded folders on the left sidebar has a really big impact on it. If they are all collapsed it is working fine, but after expanding to about 20 requests it is getting frustratingly slow

rafa-cos avatar Aug 11 '25 16:08 rafa-cos

+1 this has been happening to me for a few months.

Specs M3 MacBook Pro 16 inch OS: Sequoia 15.6

Insomnia Info Version: Insomnia 11.4.0 Build date: 7/30/2025 OS: Darwin arm64 24.6.0 Electron: 35.1.5 Node: 22.14.0 Node ABI: 133 V8: 13.4.114.21-electron.0 Architecture: arm64

aakopianlz avatar Aug 18 '25 21:08 aakopianlz

It started happening in version 11.2.0. I know this because I have it running on two MacBook Pros and once it started happening on one of them, I stopped updating the other, so it is stuck at 11.1.0.

I believe that this is the commit that introduced the bug:

https://github.com/Kong/insomnia/commit/ecb1ca7e0fa32d2519313a41c1c1382d2655272e#diff-eaee02f756f18ee13021322ccc26e6fa4c8e88a87b4ef0d71bd5d6c352861cc7

jonking-ajar avatar Aug 19 '25 20:08 jonking-ajar

We plan to upgrade react-aria-components to the latest version to resolve this issue.

xiaodemen avatar Aug 20 '25 08:08 xiaodemen

Fyi @xiaodemen @jackkav @notjaywu when using Toggle Header / isMinimal this bug does not happen.

Image

Might not be related to react aria components. Reproducible in scratchpad.

When using default header, opening the quick search prints thousands of log messages during loading:

entry.client-BwMAjjog.js:sourcemap:1 12:36:49.013 › Matched leaf route at location "/organization/org_scratchpad/project/proj_scratchpad/workspace/wrk_scratchpad/debug/request-group/fld_2d59ae191f7d40da976e727f75079c78" does not have an element or Component. This means it will render an <Outlet /> with a null value by default resulting in an "empty" page.

And when it's isMinimal true / header is untoggled - it only prints about 4 of these.

Hope you folks are doing well. Happy almost friday. Peace and love ❤️

filfreire-parable avatar Sep 04 '25 11:09 filfreire-parable

thanks @filfreire-parable, I toggled off header and it shows up as fast as it should be. But still, this is a bug need to be resolved.

quyennguyenvu avatar Sep 04 '25 16:09 quyennguyenvu

@filfreire-parable's workaround works for the initial loading delay (which is a huge improvement), but the input seems to have a debounce issue, if I type at a normal speed, it only captures about 25% of what I type.

jonking-ajar avatar Sep 04 '25 23:09 jonking-ajar

@filfreire-parable's workaround works for the initial loading delay (which is a huge improvement), but the input seems to have a debounce issue, if I type at a normal speed, it only captures about 25% of what I type.

Same here. Effectively unusable. Been awhile since I used search, so don't know when it started.

Version: Insomnia 12.1.0 Build date: 11/21/2025 OS: Darwin arm64 24.6.0 Electron: 38.4.0 Node: 22.20.0 Node ABI: 139 V8: 14.0.365.10-electron.0 Architecture: arm64

distantcompany avatar Dec 01 '25 15:12 distantcompany