Skip to content
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

Potential listview CSS regression #171754

Closed
rzhao271 opened this issue Jan 19, 2023 · 2 comments · Fixed by #171797 or #171809
Closed

Potential listview CSS regression #171754

rzhao271 opened this issue Jan 19, 2023 · 2 comments · Fixed by #171797 or #171809
Assignees
Labels
insiders-released Patch has been released in VS Code Insiders
Milestone

Comments

@rzhao271
Copy link
Contributor

I opened the Settings editor, hovered over a setting, and noticed a new grey line appear to the left of the settings.

This issue occurs with the default light and dark themes.

New line on the left of the settings

@rebornix
Copy link
Member

I found that when calling updateOptions, if we don't pass in the style override anymore, it will be reset to default

if (e.affectsConfiguration('workbench.list.smoothScrolling')) {
this.updateOptions({

I put this fix for notebook 6d6d9bd but I wonder if it's unexpected @aeschli

@aeschli
Copy link
Contributor

aeschli commented Jan 20, 2023

Thanks @rebornix for figuring that out. We shouldn't update options that are not set, that a regression.
I fixed that with #171797 and updated your code to back what it was.

@rzhao271 Is different, it's about the indent guides which were disabled previously by not providing any colors. With my change we complete your colors with the default colors, which IMO is the right thing to do.
#171809 is a simple fix.
But I think we should not use the colors for that but the already existing option.
I'm working on a follow up PR, but that needs to be reviewed by @joaomoreno who is out today.

@VSCodeTriageBot VSCodeTriageBot added the unreleased Patch has not yet been released in VS Code Insiders label Jan 20, 2023
@VSCodeTriageBot VSCodeTriageBot added this to the January 2023 milestone Jan 20, 2023
@VSCodeTriageBot VSCodeTriageBot added insiders-released Patch has been released in VS Code Insiders and removed unreleased Patch has not yet been released in VS Code Insiders labels Jan 23, 2023
@github-actions github-actions bot locked and limited conversation to collaborators Mar 6, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
insiders-released Patch has been released in VS Code Insiders
Projects
None yet
5 participants