-
Notifications
You must be signed in to change notification settings - Fork 30.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Window not focused on breakpoint hit when Chrome and VS Code maximized #116615
Comments
fyi @connor4312 |
Hi,
I found when it happens, and when not.
When I put Chrome window and VSCode window side-by-side, it works as
expected. Breakpoint line is immediately highlighted in VSCode. I put them
side-by-side just to take a screenshot for you, and I found that it worked.
However, as I only have one 15" screen on laptop, I run Chrome and VSCode
maximized. And this is when it's not happening. VSCode icon starts blinking
yellow, but when I expand it, no breakpoint highlight, and VSCode appears
to hang, it doesn't react to clicks. I need to flip to some other app, and
then back to VSCode so that it becomes responsive and shows breakpoint
highlight.
I used to be a desktop app developer, and experienced an identical issue
with our WPF app. There was something with focus on app activation. I know
VSCode is Electron based, but the behaviour seems identical to me.
Thanks,
Alex
…On Mon, Feb 15, 2021 at 10:51 AM Isidor Nikolic ***@***.***> wrote:
@zmechanic <https://github.com/zmechanic>
1. can you please share some minimal project for which you can
reproduce this?
2. Can you reproduce with VS Code insiders since we pushed some commit
that might fix this https://code.visualstudio.com/insiders/
3. Can you post a screenshot
fyi @connor4312 <https://github.com/connor4312>
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#116615 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ADEROOMG55F5YORWRSHXIZTS7D4CFANCNFSM4XSCGFFA>
.
|
So this sounds like focusing the window does not work if Chrome is open side by side. |
No, it's opposite. Side-by-side works OK. Both maximized doesn't work.
…On Mon, Feb 15, 2021 at 12:59 PM Isidor Nikolic ***@***.***> wrote:
So this sounds like focusing the window does not work if Chrome is open
side by side.
Sounds like an Electron issue, also assigning to @deepak1556
<https://github.com/deepak1556> since I know we already had users
complaining that window.focus sometimes does not work
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#116615 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ADEROONUQYBFDNPMS5JTPVTS7ELBRANCNFSM4XSCGFFA>
.
|
Can you check if the issue continues to happen when you start the app like |
You are right. The disable feature fixes the issue.
…On Mon, Feb 15, 2021 at 10:18 PM Robo ***@***.***> wrote:
Can you check if the issue continues to happen when you start the app like code
--disable-features=CalculateNativeWinOcclusion
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#116615 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ADEROOIZIW4BGCOLADXAYG3S7GMUZANCNFSM4XSCGFFA>
.
|
Thanks for checking, merging the issue to #114459. Please follow that issue for updates. |
Issue Type: Bug
Steps:
Expected:
Yellow highlight on line where breakpoint hit; being able to see current variable values.
Observed:
No higlight, VSCode halted (can't click inside). Need to switch to Chrome and back to VSCode. This will immediately indicate breakpoint line with yellow, and can see variables. Seems like focus issue.
VS Code version: Code 1.53.2 (622cb03, 2021-02-11T11:48:04.245Z)
OS version: Windows_NT x64 10.0.19041
System Info
gpu_compositing: enabled
multiple_raster_threads: enabled_on
oop_rasterization: enabled
opengl: enabled_on
protected_video_decode: unavailable_off
rasterization: enabled
skia_renderer: enabled_on
video_decode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
Extensions (3)
A/B Experiments
The text was updated successfully, but these errors were encountered: