script-lab-2017 icon indicating copy to clipboard operation
script-lab-2017 copied to clipboard

Excel steals focus and keyboard input from the Script Lab pane

Open Narvey opened this issue 7 years ago • 3 comments

Expected Behavior

When I click or select text in the code editor, any subsequent keystrokes should be sent to the code editor, of course.

Current Behavior

Sometimes, (and various things will start/stop this behavior on an inconsistent basis, including alt-tab), the keystrokes (including Delete, yikes!) apply to the excel spreadsheet, and goof up the data in my spreadsheet cells, even when it looks like focus is in the code editor. I've a hunch this is related to the other focus issues in #383, but it manifests itself differently.

Context

I was simply trying to type in the ScriptLab code editor.

Your Environment

  • Version used: 1.1.0
  • Excel 2016 MSO (16.0.4498.1000) (hey that's weird, I had to use the old Office 2013 Addins method, why don't I have ribbon buttons for Code and Run!?)
  • Operating System and version (desktop or mobile): Windows 10 Enterprise (Desktop)
  • User ID: cj3kbqoq40000456yevcdphsl

Narvey avatar Jul 13 '17 18:07 Narvey

Same question

changguangyu avatar Jan 19 '18 01:01 changguangyu

@saunders77 , do you know if we have an in-house repro/understanding of what is happening? It seems like an underlying platform issue, not Script-Lab specific...

Zlatkovsky avatar Jan 19 '18 17:01 Zlatkovsky

@Zlatkovsky, yeah, especially since something seems fishy about my install (it reports itself as 2016 MSO, but it doesn't have ribbom buttons for Code and Run like Excel 2016 is supposed to).

Narvey avatar Jan 19 '18 18:01 Narvey