positron icon indicating copy to clipboard operation
positron copied to clipboard

Positron Dark: selections are invisible in Jupyter-like code cells

Open lgaborini opened this issue 7 months ago • 1 comments

With Positron Dark theme, the selection background matches the active cell background color (the chunks of code that begin with # %%)

As an example: the function is highlighted

Image

No issues with Tomorrow Night Blue:

Image

No issues with selections outside of the active cell (cursor is on line 9):

Image

On Positron 2025.06.0 build 91

lgaborini avatar May 22 '25 22:05 lgaborini

Thank you for opening this issue. I've reproduced this and I'll send this to triage. We appreciate your help improving Positron and we’ll address it when we’re working on the next release; keep an eye on this issue for updates.

timtmok avatar May 23 '25 17:05 timtmok

This has been resolved.

As a note for QA folks: this only applies to code cells delineated by #%% in raw Python files; this does not appear in Notebooks.

samclark2015 avatar Jun 16 '25 18:06 samclark2015

Verified Fixed

Positron Version(s) : 2025.07.0-120
OS Version          : OSX

Test scenario(s)

Selected text in cell is now clearly visible in dark mode

Link(s) to TestRail test cases run or created:

testlabauto avatar Jun 17 '25 15:06 testlabauto