You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Unfocused editors should regain focus (be un-dimmed) on scroll #191671
*duplicateIssue identified as a duplicate of another issue(s)accessibilityKeyboard, mouse, ARIA, vision, screen readers (non-specific) issuesbugIssue identified by VS Code Team member as probable bugworkbench-dim-unfocusedRelated to the accessibility.dimUnfocused.* feature
Right now the feature uses a set of CSS rules, I don't think it would be possible to fix this problem without hooking up some events. For example if we could listen to an editor scroll event and treat it as focused for x seconds after that?
I can scroll in the dimmed editor. This feels weird to me.
FWIW, this matches the native behavior in OS X. (Notice how I can scroll in the other Chrome window, even though the one with this issue in it is in front and focused.) I thought it was a little weird when I first discovered it in OS X, too, but you get used to it pretty quickly.
It's not the scrolling part which is weird. That's normal in all popular window systems. The dimming part is quite annoying though. It's clear you're using that part of the window and want to see the contents better, IMO.
So I don't think it should necessarily "regain focus" as the issue suggest, but more like "regain brightness". If not by default then with a "Scrolling unfocused editor disables dimming" kind of setting.
It's not the scrolling part which is weird. That's normal in all popular window systems. The dimming part is quite annoying though.
Ah - that makes more sense. Thanks for clarifying.
I don't think it should necessarily "regain focus" as the issue suggest, but more like "regain brightness". If not by default then with a "Scrolling unfocused editor disables dimming" kind of setting.
Could be a setting, but FWIW, now that I've started using the feature, I like the way it works currently. The high-level objective of the feature to is make it clear to the user which view will be affected by keyboard input (so I can stop typing git push into random files, for example), and the answer to that question doesn't change if I scroll an unfocused view.
Thanks for creating this issue! We figured it's covering the same as another one we already have. Thus, we closed this one as a duplicate. You can search for similar existing issues. See also our issue reporting guidelines.
*duplicateIssue identified as a duplicate of another issue(s)accessibilityKeyboard, mouse, ARIA, vision, screen readers (non-specific) issuesbugIssue identified by VS Code Team member as probable bugworkbench-dim-unfocusedRelated to the accessibility.dimUnfocused.* feature
Activity
Tyriar commentedon Aug 29, 2023
Right now the feature uses a set of CSS rules, I don't think it would be possible to fix this problem without hooking up some events. For example if we could listen to an editor scroll event and treat it as focused for x seconds after that?
lobsterkatie commentedon Aug 30, 2023
FWIW, this matches the native behavior in OS X. (Notice how I can scroll in the other Chrome window, even though the one with this issue in it is in front and focused.) I thought it was a little weird when I first discovered it in OS X, too, but you get used to it pretty quickly.
Screen.Recording.2023-08-30.at.11.28.20.AM.mov
Destroy666x commentedon Sep 10, 2023
It's not the scrolling part which is weird. That's normal in all popular window systems. The dimming part is quite annoying though. It's clear you're using that part of the window and want to see the contents better, IMO.
So I don't think it should necessarily "regain focus" as the issue suggest, but more like "regain brightness". If not by default then with a "Scrolling unfocused editor disables dimming" kind of setting.
lobsterkatie commentedon Sep 13, 2023
Ah - that makes more sense. Thanks for clarifying.
Could be a setting, but FWIW, now that I've started using the feature, I like the way it works currently. The high-level objective of the feature to is make it clear to the user which view will be affected by keyboard input (so I can stop typing
git pushinto random files, for example), and the answer to that question doesn't change if I scroll an unfocused view.JimGitFE commentedon Dec 2, 2023
In case someone is wondering how to disable Dim Unfocused
Open Accessibility SettingsAccesibility > Dim UnfocusedAs per vscode August Release
Tyriar commentedon Dec 19, 2024
Merging into #236576
/duplicate
vs-code-engineering commentedon Dec 19, 2024
Thanks for creating this issue! We figured it's covering the same as another one we already have. Thus, we closed this one as a duplicate. You can search for similar existing issues. See also our issue reporting guidelines.
Happy Coding!