Kong / Kong/insomnia

Menu bar pulldowns open in wrong position on Windows 11

Open
#6,489 0 comments 1 reaction 0 assignees View on GitHub
B-bug N-investigation O-windows S-unverified
Dominant language
TypeScript
Stars
40k
Forks
2.4k
Avg merge
2d 13h
Merged PRs (30d)
61

Description

### Expected Behavior

The menu bar pulldowns should open right underneath the menu item, and aligned with it.

### Actual Behavior

The menu bar pulldowns open to the top and left of where they should. The offset appears to be approximately 0.5em up, 3em left.

### Reproduction Steps

1. Start Insomnia (2023.5.0 or later).
2. Use the mouse to pull down the "Help" menu (or any menu in the menubar).

### 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

After verifying the latest (2023.5.8) had this issue, I reinstalled 2023.4.0 (last version before Electron 25) to verify the issue was fine. I then installed 2023.5.0 and was able to reproduce the issue; the attached screen record is from that version.

https://github.com/Kong/insomnia/assets/183046/99c7df45-7ff9-413b-abdc-6a03be654db1

### Insomnia Version

2023.5.8

### What operating system are you using?

Windows

### Operating System Version

Windows 11 Enterprise, Version 22H2, OS Build 22621.2134, Windows Feature Experience Pack 1000.22659.1000.0

### Installation method

winget

### Last Known Working Insomnia version

2023.4.0

Contributor guide

Open the contributing guide

Research direction

Reproduce the menu bar positioning problem on Windows 11 with Insomnia 2023.5.8, then compare it with 2023.4.0, the last known working version, and the Electron 25 transition. Trace the menu bar pulldown positioning entry point and verify that menus open directly beneath and aligned with their items.

Written by the indexing model from the issue text.

Assessment

Tech stack
electron, typescript
Domain
desktop
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.