usebruno / bruno

Opensource IDE For Exploring and Testing Api's (lightweight alternative to postman/insomnia)
https://www.usebruno.com/
MIT License
27.07k stars 1.24k forks source link

Collapse Json not work and find box not show #2580

Open fernandomacho opened 4 months ago

fernandomacho commented 4 months ago

I have checked the following:

Describe the bug

When you click on a json node, the json element does not collapse. When you search on an answer, the search box is hidden.

.bru file to reproduce the bug

No response

Screenshots/Live demo link

Search box imagen

dev-abir commented 4 months ago

I can't reproduce the issue, please specify your OS and post a screenshot.

fernandomacho commented 4 months ago

MacOS

https://github.com/usebruno/bruno/assets/62182142/71c9d2e7-aaa9-4c87-8614-98ed547dcb4b

At the end of the capture press CMD+F and you can see that the search box does not appear. This is happening since version 1.19.0 if I remember correctly

dev-abir commented 4 months ago

Not sure then, that might be a mac-specific issue. You may check errors in the console, or try launching it from terminal - it might show you some errors.

I am using ubuntu, bruno version 1.18.0

fernandomacho commented 4 months ago

I confirm that with version 1.20.0 both the collapsing of the elements and the search work correctly imagen The error appears from version 1.20.1

Its-treason commented 4 months ago

Works fine with the OpenSource version of 1.20.2, but does not work with the released version.

So one from the Bruno Team has to fix this: @sanjai0py @lohit-1

exotexot commented 4 months ago

Also happens for me. MacOS; M3 CPU, v1.20.2

nicolasloontjens commented 4 months ago

Also happens from me. Updated yesterday from 1.20 to 1.20.2 and have had the problem since. I'm using Windows 11, build 23H2. Downgrading to 1.20 fixes it again.

Moghul commented 4 months ago

Happens to me as well on Kubuntu 22.04, Bruno v1.20.2

danielfiniki commented 4 months ago

Same behavior with Bruno v1.20.1 on Arch (6.9.8-arch1-1 with Plasma 6.1.2).

The only error I see if I start it from the console is "ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncParametersIfAvailable() failed for 1 times!", but that's probably not related and just a Electron+Wayland topic as reported here.

sfreeman422 commented 4 months ago

Also happening to me on 1.20.2, snap install for Ubuntu 22.04

sfreeman422 commented 4 months ago

Works fine with the OpenSource version of 1.20.2, but does not work with the released version.

So one from the Bruno Team has to fix this: @sanjai0py @lohit-1

Can confirm that this is true. When I clone the repo and run locally, all is well but the release does not have this behavior.

Drnkmstr commented 4 months ago

I'm on Bruno 1.20.4 and I still have this issue, it was fine until 1.20.1.

MacOS 14.5, M3 Max

sanjai0py commented 4 months ago

Sorry for the inconvenience caused by this bug. The bug was caused by the recent changes made in the codemirror editor. We are fixing it, and the community can expect a patch release soon!

diegocam commented 4 months ago

In the meantime, for all of us experiencing this error, a temporary way to make it work:

  1. Place the cursor where you want it to fold/unfold
  2. Press CMD+Shift+[ to fold
  3. Press CMD+Shift+] to unfold