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

Touch Bar displays text instead of icons on Insider build #81111

Closed
keeganwitt opened this issue Sep 18, 2019 · 9 comments
Closed

Touch Bar displays text instead of icons on Insider build #81111

keeganwitt opened this issue Sep 18, 2019 · 9 comments
Assignees
Labels
bug Issue identified by VS Code Team member as probable bug debug Debug viewlet, configurations, breakpoints, adapter issues important Issue identified as high-priority macos Issues with VS Code on MAC/OS X verified Verification succeeded workbench-touchbar Mac touchbar issues

Comments

@keeganwitt
Copy link

keeganwitt commented Sep 18, 2019

Stable (August 2019, version 1.38.1) shows
image

But the current Insider build (fa2b3c3) shows
image

It's unclear whether this change was intentional or not. If it was intentional, think about the impact that'd have on extensions that add additional features to the touch bar, such as

https://marketplace.visualstudio.com/items?itemName=blairleduc.touch-bar-display
image

https://marketplace.visualstudio.com/items?itemName=felipe.nasc-touchbar
image

https://marketplace.visualstudio.com/items?itemName=ashhitch.touchbar-command-palette
image

On the Insider build, none of these are able to show their buttons (I think because there's insufficient space now that the icons are text).

@kieferrm
Copy link
Member

This is a regression in the latest insider. We'll release a new insider build shortly.

@jtsom
Copy link

jtsom commented Sep 18, 2019

FYI.,.. it's been like this for the past few versions, and the latest, just released still has text labels:

Version: 1.39.0-insider
Commit: 6a54c8176fd60745ad7f2ba9dc89af4631752bae
Date: 2019-09-18T15:26:55.541Z

@miguelsolorio
Copy link
Contributor

cc @bpasero @isidorn

I wonder if this has something to do with our builds or a new version of Electron. On Insiders I see:

image

And on master I see:
image

This doesn't repro on Stable.

@miguelsolorio miguelsolorio added macos Issues with VS Code on MAC/OS X workbench-touchbar Mac touchbar issues debug Debug viewlet, configurations, breakpoints, adapter issues bug Issue identified by VS Code Team member as probable bug labels Sep 18, 2019
@miguelsolorio
Copy link
Contributor

miguelsolorio commented Sep 18, 2019

Upon further inspecting the build bits, it appears that on Stable the icons are there:

image

But on Insiders they are missing:
image

So they're not being included during the build process. The last Insiders build where it was working was:

Version: 1.39.0-insider
Commit: 0f1bd77
Date: 2019-09-09T05:26:48.181Z
Electron: 4.2.10
Chrome: 69.0.3497.128
Node.js: 10.11.0
V8: 6.9.427.31-electron.0
OS: Darwin x64 18.7.0

@isidorn maybe this commit is the culprit? It's the last time these files were updated for the Touch Bar? a33e554

@keeganwitt
Copy link
Author

FYI.,.. it's been like this for the past few versions, and the latest, just released still has text labels:

Version: 1.39.0-insider
Commit: 6a54c8176fd60745ad7f2ba9dc89af4631752bae
Date: 2019-09-18T15:26:55.541Z

Yea, I should have been clearer. You're right, it's been this way a while. What I meant was that it still present in the latest build, not that it started in the latest build. Thanks for clarifying.

@bpasero bpasero added the important Issue identified as high-priority label Sep 19, 2019
@bpasero bpasero added this to the September 2019 milestone Sep 19, 2019
@bpasero
Copy link
Member

bpasero commented Sep 19, 2019

It looks like all the touchbar icons are missing from the insiders drop.

@eamodio
Copy link
Contributor

eamodio commented Sep 19, 2019

I don't know if its 100% related, but I'm also seeing other icons missing with the latest insiders (and it was present in the last couple builds).

Collapse All icon is missing:
image

Back arrow icon is missing:
image

@isidorn
Copy link
Contributor

isidorn commented Sep 19, 2019

  1. Works in stable
  2. Wors out of source
  3. Does not work in insiders, as icons are not there as you mentioned.

Checking if a33e554 broke this

@isidorn
Copy link
Contributor

isidorn commented Sep 19, 2019

Ok it seems like the native mac touch bar does not allow icons which are contributed there to be inlined. So I will remove our call to registerAndGetAmdImageURL when we contribute icons for the native mac touch bar. Verifyign if this indeed fixes the issue

@bpasero bpasero added the verified Verification succeeded label Oct 1, 2019
@vscodebot vscodebot bot locked and limited conversation to collaborators Nov 3, 2019
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 debug Debug viewlet, configurations, breakpoints, adapter issues important Issue identified as high-priority macos Issues with VS Code on MAC/OS X verified Verification succeeded workbench-touchbar Mac touchbar issues
Projects
None yet
Development

No branches or pull requests

7 participants