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

ClearType not used for all visible text in list widget #13662

Closed
rblath opened this issue Oct 13, 2016 · 23 comments
Closed

ClearType not used for all visible text in list widget #13662

rblath opened this issue Oct 13, 2016 · 23 comments
Assignees
Labels
bug Issue identified by VS Code Team member as probable bug *duplicate Issue identified as a duplicate of another issue(s) upstream Issue identified as 'upstream' component related (exists outside of VS Code)
Milestone

Comments

@rblath
Copy link

rblath commented Oct 13, 2016

  • VSCode Version: Code 1.6.0 (e52fb0b, 2016-10-10T18:37:40.189Z)
  • OS Version: Windows_NT ia32 6.1.7601
  • Extensions: ms-vscode.cpptools-0.9.2, ms-vscode.csharp-1.4.1

Steps to Reproduce:

  1. Open VS Code
  2. E.g. Select Extensions and compare text in Search Field with text in the list

Screenshot:
visualstudio_cleartype_issue

@rblath
Copy link
Author

rblath commented Oct 13, 2016

Here is a magnification of the issue:
visualstudio_cleartype_issue2

@bpasero
Copy link
Member

bpasero commented Oct 13, 2016

Electron update?

@joaomoreno
Copy link
Member

So it seems. @rblath Do you see the same behaviour in 1.5?

@joaomoreno joaomoreno added the info-needed Issue requires more information from poster label Oct 14, 2016
@bpasero
Copy link
Member

bpasero commented Oct 14, 2016

@rblath and how about other trees like the explorer, does it look ok there? what about the editor?

@rblath
Copy link
Author

rblath commented Oct 14, 2016

@bpasero here are a few more screenshots:

visualstudio_cleartype_issue3

visualstudio_cleartype_issue4

@rblath
Copy link
Author

rblath commented Oct 14, 2016

The terminal is interesting, the header is using ClearType but the content is not:

visualstudio_cleartype_issue5

@rblath
Copy link
Author

rblath commented Oct 14, 2016

@joaomoreno I don't have the zip of this version laying around anymore, but I am pretty sure the issue existed there as well.
I also noticed that the plain electron shell has had the same problem for some time.

@bpasero
Copy link
Member

bpasero commented Oct 14, 2016

If this reproduces with electron then this should be reported to their repository https://github.com/electron/electron

@rblath
Copy link
Author

rblath commented Oct 18, 2016

Sure, this is probably an electron problem at the core, but it also matters how electron is used to render the text. Why else would a headline or text field be rendered correctly but normal text is not?

@joaomoreno joaomoreno assigned bpasero and unassigned joaomoreno Oct 20, 2016
@bpasero bpasero added bug Issue identified by VS Code Team member as probable bug upstream Issue identified as 'upstream' component related (exists outside of VS Code) labels Oct 20, 2016
@bpasero bpasero added this to the Backlog milestone Oct 20, 2016
@bpasero bpasero added electron-update and removed info-needed Issue requires more information from poster labels Oct 20, 2016
@bpasero
Copy link
Member

bpasero commented Nov 11, 2016

@rblath I am playing around with a newer version of Electron and was wondering if you could give this build a try that includes it to see if something has changed with this issue: https://az764295.vo.msecnd.net/insider/d47c8ba23ff35913052db316aaeef1bb92b0dd99/VSCode-win32-1.8.0-insider.zip

Thanks

@rblath
Copy link
Author

rblath commented Nov 25, 2016

@bpasero Hi Benjamin, I am still having the same issues as described before with the build you provided. Some texts are ClearType enabled and some are not.
vscode_cleartype_issue1
Here is a portion of the screenshot magnified where you can see that the "Terminal" text is ClearType enabled and the "Microsoft" text is not.
vscode_cleartype_issue2

@bpasero
Copy link
Member

bpasero commented Nov 25, 2016

@rblath thanks, I wonder if this issue is now scoped to the terminal alone or do you see it in more places?

@rblath
Copy link
Author

rblath commented Nov 25, 2016

It is also visible in the Explorer, Search, Git, Debug and Extensions view on the left side. The title is always correct but the content is not. The Code Editor however is always correct.

@bpasero
Copy link
Member

bpasero commented Apr 10, 2017

Todays VS Code insider build comes with Electron 1.6.x, would be interesting to hear if this update solves this issue for anyone: http://code.visualstudio.com/Download#insiders

@rblath
Copy link
Author

rblath commented Apr 10, 2017

Just tested the new version. Unfortunately the issue is not gone, instead it is now visible in all other areas except the code editor:

image

@bpasero
Copy link
Member

bpasero commented Apr 11, 2017

@rblath I just checked our stable release and I am also not getting sub-pixel anti-aliasing for the tree and other parts, can you compare with stable? When I check back with 1.10, it seems we lost sub-pixel anti-aliasing already with the update to 1.11. Maybe related to our theming work, I have to check...

@bpasero bpasero modified the milestones: April 2017, Backlog Apr 11, 2017
@rblath
Copy link
Author

rblath commented Apr 11, 2017

@bpasero Actually the screenshot above is from the stable version 1.11.1. Somehow the link you gave me pointed to stable not insider. But anyway, I downloaded the insider version 1.12 and it shows the same behaviour:

image

@bpasero bpasero removed the electron Issues and items related to Electron label Apr 11, 2017
@bpasero bpasero modified the milestones: Backlog, April 2017 Apr 11, 2017
@bpasero
Copy link
Member

bpasero commented Apr 11, 2017

I looked into it and it seems our work on the theming has made it worse for people. Specifically 7db643a seems to have caused this by no longer setting a background on the workbench container. I am extracting #24532 to at least try to get back to our previous state.

The list widget (+Joao) and terminal (+Daniel) is still an open issue. There may be more areas where we hit this issue.

@bpasero
Copy link
Member

bpasero commented Apr 12, 2017

@joaomoreno looks like the list widget is also using translate3d for scrolling, would it possible to apply a similar fix as we do now in the editor to disable it when we are running scaled? see #24483 (comment) for more details.

Given that we use the list widget more and more (SCM, IntelliSense) it seems odd that we have fuzziness in those when the rest looks ok.

@joaomoreno
Copy link
Member

Created #24599

@joaomoreno joaomoreno removed their assignment Apr 12, 2017
@bpasero
Copy link
Member

bpasero commented Apr 12, 2017

@joaomoreno awesome ❤️

@bpasero bpasero modified the milestones: April 2017, Backlog Apr 12, 2017
@Tyriar
Copy link
Member

Tyriar commented Apr 17, 2017

It's never worked in the terminal, tracked in #17827

@Tyriar Tyriar removed their assignment Apr 17, 2017
@bpasero
Copy link
Member

bpasero commented Apr 18, 2017

Closing since the original issue in the list is now fixed (via #24599). Opened #24957 for remaining parts.

@bpasero bpasero closed this as completed Apr 18, 2017
@bpasero bpasero changed the title ClearType not used for all visible text ClearType not used for all visible text in list widget Apr 18, 2017
@bpasero bpasero added the *duplicate Issue identified as a duplicate of another issue(s) label Apr 18, 2017
@vscodebot vscodebot bot locked and limited conversation to collaborators Nov 18, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Issue identified by VS Code Team member as probable bug *duplicate Issue identified as a duplicate of another issue(s) upstream Issue identified as 'upstream' component related (exists outside of VS Code)
Projects
None yet
Development

No branches or pull requests

5 participants