[GH-ISSUE #2625] [bug]: Reclicking on the request currently selected/in use creates an entirely new unsaved instance of it #866

Closed
opened 2026-03-16 17:29:33 +03:00 by kerem · 3 comments
Owner

Originally created by @rofe-dl on GitHub (Aug 30, 2022).
Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/2625

Is there an existing issue for this?

  • I have searched the existing issues

Current behavior

When I have a request selected and in use, if I click on it again, the green dot goes away from it. Then, if I try to click on any other request or even the same request again, it prompts the save/discard box even though I made no changes to this request.

Steps to reproduce

  1. Select a request from the right panel.
  2. Select it again and watch the green dot disappear.
  3. Make no changes to the request.
  4. Try to change to a different request or re-select the same one.
  5. The discard/save prompt shows up.

Environment

Production

Version

Cloud

Originally created by @rofe-dl on GitHub (Aug 30, 2022). Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/2625 ### Is there an existing issue for this? - [X] I have searched the existing issues ### Current behavior When I have a request selected and in use, if I click on it again, the green dot goes away from it. Then, if I try to click on any other request or even the same request again, it prompts the save/discard box even though I made no changes to this request. ### Steps to reproduce 1. Select a request from the right panel. 2. Select it again and watch the green dot disappear. 3. Make no changes to the request. 4. Try to change to a different request or re-select the same one. 5. The discard/save prompt shows up. ### Environment Production ### Version Cloud
kerem 2026-03-16 17:29:33 +03:00
Author
Owner

@liyasthomas commented on GitHub (Aug 30, 2022):

This is an expected behaviour.

<!-- gh-comment-id:1231793618 --> @liyasthomas commented on GitHub (Aug 30, 2022): This is an expected behaviour.
Author
Owner

@rofe-dl commented on GitHub (Aug 30, 2022):

Oh, okay. Is there a reason it's designed like that? Like, usually in programs when I click on an already selected item, it does nothing.

<!-- gh-comment-id:1231849870 --> @rofe-dl commented on GitHub (Aug 30, 2022): Oh, okay. Is there a reason it's designed like that? Like, usually in programs when I click on an already selected item, it does nothing.
Author
Owner

@AndrewBastin commented on GitHub (Sep 5, 2022):

Umm, it is because we wanted to provide a way for the user to detach the editing request in the session from the save location. This is a temporary hacky fix until we implement the tabs system.

See: https://github.com/hoppscotch/hoppscotch/issues/2431#issuecomment-1159400418

Closing as duplicate.

<!-- gh-comment-id:1236735802 --> @AndrewBastin commented on GitHub (Sep 5, 2022): Umm, it is because we wanted to provide a way for the user to detach the editing request in the session from the save location. This is a temporary hacky fix until we implement the tabs system. See: https://github.com/hoppscotch/hoppscotch/issues/2431#issuecomment-1159400418 Closing as duplicate.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/hoppscotch#866
No description provided.