Skip to content

Touch bar mac disabled on focus file #84692

Closed

Description

So I updated to 1.40.0
And have this issue:
my touch bar on mac hide! What I mean
When I write code this is showing my touch bar
image

but early it was
image

My settings
image

When the focus is down from the code window
touch bar show
image

I expected behavior on the focus code window
this
image
but have this
image

What happened with the touch bar?

Activity

  1. vscodebot commented on Nov 13, 2019

    @vscodebot
  2. luannguyend86 commented on Nov 14, 2019

    @luannguyend86

    Alexander Kotsarev (@Alexzanderk) yes, it is the same to me at #84189

  3. bpasero commented on Nov 14, 2019

    @bpasero
    Contributor

    Alexander Kotsarev (@Alexzanderk) what are these other items in the touchbar you show, are they coming from macOS?

  4. added
    ~info-needed
    on Nov 14, 2019
  5. added
    info-needed
    and removed
    ~info-needed
    on Nov 14, 2019
  6. vscodebot commented on Nov 14, 2019

    @vscodebot

    Thanks for creating this issue! We figured it's missing some basic information or in some other way doesn't follow our issue reporting guidelines. Please take the time to review these and update the issue.

    Happy Coding!

  7. guidobouman commented on Nov 14, 2019

    @guidobouman

    The words you see are the spelling autocomplete words provided by Apple. They are coming from macOS as autocorrect. As soon as the with of the spell check hits an otherwise visible button, that button is hidden.

    You can check that behaviour by collapsing the autocomplete through tapping on the (small) arrow on the left.

    In my case: On a 13" MacBook pro I can start the project, but I can't stop the project. The start state on the touch bar is small enough to show, but the debugging state is wider, and hits the collapsed autocomplete, and is thus always hidden.

    Start state
    Touch Bar Shot 2019-11-14 at 13 48 14

    Debug state:
    Touch Bar Shot 2019-11-14 at 13 48 20

    Width of expanded autocomplete, hiding both start & debug state
    Touch Bar Shot 2019-11-14 at 13 48 30

  8. bpasero commented on Nov 14, 2019

    @bpasero
    Contributor

    VSCode is built on top of a large number of components that are not maintained by the VSCode team directly. This includes:

    • Electron as the cross platform UI framework
    • node.js for most integration into the OS
    • Chromium as runtime and rendering engine (HTML, CSS, JS)
    • and after all, the operating system VSCode is running on

    Reading this issue, it seems to originate not from VSCode itself but rather one of these upstream components. As such, in order to resolve it, it would need to get fixed in the upstream component. I will go ahead and close this issue and kindly ask to report this issue to the upstream component if possible:

    Thanks for understanding.

  9. Alexzanderk commented on Nov 14, 2019

    @Alexzanderk
    Author

    Benjamin Pasero (@bpasero) I downgrade to 1.39
    and on this version, everything is fine to work like expected

  10. guidobouman commented on Nov 14, 2019

    @guidobouman

    It's a thing in a Chromium release. I'm wondering if it's configurable to remove text suggestions on an input field.

    Adding autocomplete="off" on the textarea I'm typing this in does not remove the suggestions.

    Tracking issue for Electron:
    electron/electron#9349

    Tracking issue for Chromium:
    https://bugs.chromium.org/p/chromium/issues/detail?id=717553

  11. bpasero commented on Nov 14, 2019

    @bpasero
    Contributor

    If someone is willing to report this issue to Electron we can reopen this one and link to the issue. But there is currently probably nothing we can do in VSCode given that autocomplete="off" does not seem to help.

  12. 13 remaining items

  13. bpasero commented on Nov 18, 2019

    @bpasero
    Contributor

    Robo (@deepak1556) I think November is fine, I was not suggesting recovery :)

  14. deepak1556 commented on Nov 19, 2019

    @deepak1556
    Collaborator
  15. added
    candidate
    on Nov 19, 2019
  16. Alexzanderk commented on Nov 20, 2019

    @Alexzanderk
    Author

    This should hide the TouchBar suggestions when adding autocomplete="off" on a textarea. Would that work for VS Code?

    Where is I need to add autocomplete="off"?

  17. guidobouman commented on Nov 20, 2019

    @guidobouman

    This needs to be done by the VS Code team. Probably as a setting to, keep users, who prefer autosuggest, happy.

  18. bpasero commented on Nov 20, 2019

    @bpasero
    Contributor

    I don't think we want a setting for this, the editor disables autocomplete by default for various reasons.

    Rather I think it would be nice to have an attribute on the element that allows to opt-in to touchbar suggestions and then maybe that could be a setting.

    Maybe alexandrudima can comment on why autocomplete is off in the text area specifically.

  19. alexdima commented on Nov 20, 2019

    @alexdima
    Member

    autocomplete is off in the editor <textarea> for performance reasons. We don't have the actual file content in the <textarea>, we only have the previous character and suggestions wouldn't be helpful. We only place the previous character because everything more we place in there will cost in terms of performance.

  20. guidobouman commented on Nov 20, 2019

    @guidobouman

    Sure, but I also remember seeing an issue that requested the feature in this repository. (Can't seem to find the issue right now...)

  21. deepak1556 commented on Nov 21, 2019

    @deepak1556
    Collaborator

    Fixed with #85266

  22. added
    verified
    on Nov 21, 2019
  23. locked and limited conversation to collaborators on Jan 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

candidateelectronmacosupstreamupstream-issue-fixedverifiedworkbench-touchbar

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions