Kong / Kong/insomnia

Very easy to accidentally delete a collection when using the drop down menu

Open
#6,686 4 comments 7 reactions 0 assignees View on GitHub
B-bug S-unverified
Dominant language
TypeScript
Stars
40k
Forks
2.4k
Avg merge
2d 13h
Merged PRs (30d)
61

Description

### Expected Behavior

When clicking the dropdown menu on a collection it should be shown without clicking on any option
![image](https://github.com/Kong/insomnia/assets/21181510/8edd0f33-d119-4a78-9917-b2ae3f390aa5)

### Actual Behavior

When clicking on the drop down menu the click immediately extends to the delete option and the collection is deleted. This has happened to me several times forcing me to re import everything. There should be a way to undo this delete at least.

### Reproduction Steps

Go to a collection
Click on dropdown menu
Menu pops up
Click immediately applied to delete option

In order to reproduce the dropdown menu must appear on top of the mouse pointer.

### Is there an existing issue for this?

- [X] I have searched the [issue tracker](https://www.github.com/Kong/insomnia/issues) for this problem.

### Additional Information

_No response_

### Insomnia Version

2023.5.8

### What operating system are you using?

Windows

### Operating System Version

Windows 10

### Installation method

Download from insomnia

### Last Known Working Insomnia version

NA

Contributor guide

Open the contributing guide

Research direction

No source file or test is named. Start by reproducing the collection dropdown behavior on Windows, then trace the collection menu entry point and its delete action; done means opening the menu does not accidentally delete the collection and the reported reproduction steps no longer trigger deletion.

Written by the indexing model from the issue text.

Assessment

Tech stack
electron, typescript
Domain
desktop, frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.