December 14, 2022, 8:37am
I filed an issue here:
06:55AM - 05 Nov 22 UTC
Command-A keyboard shortcut on PlatformIO Home screen highli
… ghts the whole screen in a useless way that can't be reverted by hitting escape.
I use Command-A frequently (more often when system text input behaviors such as double click to highlight a word aren't respected) and in Platform IO this results in really weird behavior of coloring the entire view frame in a light gray box that I can find no way to get rid of.
Steps to reproduce:
Go to PlatformIO home view and click anywhere inside the view (not on any button or anything)
See a gray box cover the view frame.
This same thing happens if I go to New Project, try to double/triple click the title (to highlight the entire word) and notice that it isn't highlighting. I observe the text cursor is blinking in the field. I hit Command-A to "select all" which is a very important Mac keyboard shortcut. Instead of highlighting the text (the indisputably proper platform behavior) a weird gray box is drawn. I can't find any way to make the box go away without losing my place, so I close the tab and open a fresh view which will no doubt be covered in the same gray box the next time a text field is broken and I instinctively hit Command-A again. It feels like this should at least be revertible with the Escape key, but that closes the dialog but doesn't hide the weird gray box.
Extension version: 2.5.5
VS Code version: Code 1.73.0 (8fa188b2b301d36553cbc9ce1b0a146ccb93351f, 2022-11-01T15:33:40.745Z)
OS version: Darwin arm64 21.2.0
|CPUs|Apple M1 Max (10 x 24)|
|GPU Status|2d_canvas: enabled<br>canvas_oop_rasterization: disabled_off<br>direct_rendering_display_compositor: disabled_off_ok<br>gpu_compositing: enabled<br>metal: disabled_off<br>multiple_raster_threads: enabled_on<br>opengl: enabled_on<br>rasterization: enabled<br>raw_draw: disabled_off_ok<br>skia_renderer: enabled_on<br>video_decode: enabled<br>video_encode: enabled<br>vulkan: disabled_off<br>webgl: enabled<br>webgl2: enabled<br>webgpu: disabled_off|
|Load (avg)|2, 3, 3|
|Memory (System)|64.00GB (17.98GB free)|
|Process Argv|--crash-reporter-id 0757656b-c7cc-4989-bd7b-234ec8586f4a|
I think I found code related to the issue (just a guess) here:
I’d love to poke around on this and see if I can find a fix, but I can’t find where this code lives on my machine (Mac, in case it matters) (I checked in ~/.vscode and ~/.platformio so far and didn’t find any other obvious places.)
Are there any pointers on where to find those files and test changes?