Closed alistairholt closed 5 years ago
same here, mac os mojave 10.14.2
Seems not working for 1.31.0
i tried many other touch bar extensions but no one worked it seems like a general problem
Seems to be an issue for other extensions too: https://github.com/NascHQ/nasc-vscode-mac-touchbar/issues/25.
Is it due to an extra button being added to the default Touch Bar leaving less space, and therefore hiding, touch-bar-display buttons?
yes may be , but i dont know the utility of the new button it does the same thing as the old one
I'd ideally like to drop the default buttons entirely and fully customise the Touch Bar but that doesn't seem to be possible π€ .
yeh , you can do "keyboard.touchbar.enabled": false, but all the buttons will be hidden
Yes, frustrating. I do miss the full control I had when using Atom.
i added a new issue on vscode github page as well will see if they can do something... https://github.com/Microsoft/vscode/issues/68214
@alistairholt i modified the code and removed two buttons from the touch bar but i doesn't work, so its not a button space problem i think i will use a previous version of vscode until somebody fix this problem
I took a look last night and came to the same conclusion. Thank you everyone for validating this and opening an issue to vscode.
If it is a problem with the amount of space, which buttons should we drop?
My personal experience is that I very rarely touch the search icon β I'm usually accessing this via a keyboard shortcut β cmd+f
or cmd+shift+f
. I would guess that the extensions icon isn't used that frequently.
See this issue as explanation: https://github.com/electron/electron/issues/16473
@BlairLeduc For me itβs the debug button that I donβt use often
We pushed a fix on our end by changing the icon sizes. Seems fine now.
https://github.com/electron/electron/issues/16473#issuecomment-457283587
Perhaps this would work here too?
I cannot reproduce this btw, however I am using the touchbar simulator (https://sindresorhus.com/touch-bar-simulator/) and the buttons showup just fine.
The change with Electron 3 that we had to work on was a change in how large icons would appear in the touchbar. They showed up much larger causing the touchbar to drop all the debug items at the end because space got little. It is possible that extensions have to update their icon sizes to account for that.
One thing that might help is to disable "Show control strip" from:
Unfortunately, VSCode controls the width of the buttons, or perhaps this comes from Electron. Whichever, this is completely out of the extensions control.
Same problem.
i tried what @bpasero said and disabled "Show control strip" and all the button showed but as you can see in the image below the buttons display has changed
i tried to remove the buttons one by one and i end up by having 2 buttons work
so i looked inside the vscode files and the touchbar icons has 60px size, so i changed the icons from 100px top 60px and now i got a better buttons display but with the new button on the left i could only get 4 buttons to show, so i removed the debug button.
i made a pull request with this update if it can help
Changing the size of the icon is the right fix for this, VSCode did the same π
@shpontex Thanks! I merged the pull request and I will update the store today.
The updated extension is up in the Marketplace. Could someone let me know if the changes work for them?
@BlairLeduc I'm running 1.2.1 from the marketplace but I'm not seeing the any buttons other than the VSCode defaults. π€
@BlairLeduc Looks like I spoke too soon. It's now working! π
I've gotten into the habit of using this extension all the time but after updating to VSCode 1.31.0 today it's no longer working π’