positron icon indicating copy to clipboard operation
positron copied to clipboard

positron notebooks: kernel menu closing unexpectedly

Open midleman opened this issue 1 month ago • 3 comments

System details:

Positron Version: 2025.11.0 build 181
Code - OSS Version: 1.104.0
Commit: e769efbc381fb15a7e3e8383546a5e3f40715bd8
Date: 2025-10-24T07:11:57.728Z
Electron: 37.3.1
Chromium: 138.0.7204.235
Node.js: 22.18.0
V8: 13.8.258.31-electron.0
OS: Darwin arm64 25.0.0

Describe the issue:

The first time I try to open the kernel selection menu on a new notebook it automatically closes. ~NOTE: This applies to web only~ <--- I see it in Electron too now. Although it's harder to repro, but the e2e tests hit it all the time so I had to do some janky things to make it able for the tests to run

Steps to reproduce the issue:

  1. Launch Positron web
  2. Create a new notebook - wait for interpreter to finish loading
  3. Click the kernel selection menu
  4. Verify context menu displays which allows you to interact with kernel - FAIL

https://github.com/user-attachments/assets/001f11d9-e4a7-4e8f-ab1a-ff6d7787d96d

Expected or desired behavior:

When the user clicks on a button to open the kernel menu, it should work.

Notes

This is especially problematic for e2e tests because I'm doing stupid things to work around this menu auto-closing to interact with the kernel.

midleman avatar Oct 24 '25 13:10 midleman