usebruno / bruno

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

When configuring environments, cannot select any environment except the first #2667

Closed AlexKubiesa closed 1 month ago

AlexKubiesa commented 2 months ago

I have checked the following:

Describe the bug

On the page for configuring environments (environments dropdown > Configure), whenever I try to select an environment other than the first one, the selection jumps back to the first environment.

I did not have this problem on Windows 10, but I noticed the problem recently when I started using Ubuntu 22.04.

.bru file to reproduce the bug

environments.zip

Screenshots/Live demo link

Screencast from 07-19-2024 10:22:46 AM.webm

sfreeman422 commented 2 months ago

+1 seeing this on 1.21.0 using snap on ubuntu 22.04

sfreeman422 commented 2 months ago

Pulled down latest from source and not seeing this issue. Wondering if a new release needs to go out on snap/apt/etc?

sfreeman422 commented 2 months ago

PR #2660 reverts PR #2640 which appears to resolve this issue... what's interesting is the #2640 was not a part of any release per GitHub.

@AlexKubiesa can you confirm if you are using the apt, .deb or snap version of Bruno? I am wondering if perhaps we are both using Snap and snap was released on a version that is not the version listed in GitHub?

Of note, this bug was not present when I was using version 1.20.3 however it is present now that I have upgraded to 1.21.0. Something in between these releases is causing the issue :monocle_face:

Since current main is not causing this issue I am wondering if we can trigger a release @helloanoop @sanjai0py

AlexKubiesa commented 1 month ago

Yes, I'm using the snap version of Bruno

sanjai0py commented 1 month ago

Hey @AlexKubiesa, I apologize for the inconvenience caused by the bug. The snap build was triggered after the PR https://github.com/usebruno/bruno/pull/2640 was merged, which caused the bug. Although it has been reverted, the snap release had already been published.

Therefore, please revert back to the version before 1.21.0 until the fix is released by the end of the day.

sanjai0py commented 1 month ago

Hey @AlexKubiesa, the version 1.22.0 has been released early for Snap with a fix for the issue. The other Linux builds will follow. Thank you for your patience!

AlexKubiesa commented 1 month ago

I have updated now and the bug is fixed. Thank you!

sanjai0py commented 1 month ago

Closing this issue is marked as resolved. Thank you, @AlexKubiesa, for reporting this issue!