Skip to content

Add support for Touch Bar typing suggestions #9349

Closed

Description

@LitoMore
  • Electron version: v1.6.7
  • Operating system: macOS 10.12.4

Expected behavior

Make sure you have checked Touch Bar typing suggestion

English input source expected behavior

Chinese input source expected behavior

Actual behavior

English input source actual behavior

Chinese input source actual behavior

How to reproduce

Add Chinese Pinyin - Simplified to your Input Sources

Open your Atom or any other Electron Apps (Google Chrome can reproduce this bug too), then just type something

This first time you switch to Chinese input, type nihao, you may see this

You can switch to English input, now you see there is nothing on the Touch Bar

Now switch to Chinese input again, you can see this

Activity

  1. changed the title [-]Touch Bar typing suggestion doesn't work on Electron Apps[/-] [+]Add support for Touch Bar typing suggestions[/+] on May 2, 2017
  2. MarshallOfSound commented on May 2, 2017

    @MarshallOfSound
    Member

    Not sure if this is possible because Chromium doesn't use native text views for inout.

  3. LitoMore commented on May 2, 2017

    @LitoMore
    Author
  4. zcbenz commented on Jun 20, 2017

    @zcbenz
    Contributor

    Electron will automatically get his when Chromium add it, so I'm closing this since there is already an upstream issue tracking this, and we do not need to do anything in Electron.

  5. guidobouman commented on Nov 14, 2019

    @guidobouman

    I also asked this to the Chromium team, but is there a way to turn these suggestions off?

    Something like autocomplete="off" does not work on a textarea.

    Usecase:
    VS Code suffers from text suggestions that override their debug state controls on the touch bar.

  6. bancona commented on Sep 1, 2020

    @bancona

    @guidobouman did you find an answer eventually? I am also looking to turn these suggestions off

  7. guidobouman commented on Sep 2, 2020

    @guidobouman

    Yes, it was fixed in Chromium, which propagated to Electron and VS Code with tiny fixes.
    microsoft/vscode#84692

    TL;DR: use autocomplete="off" and/or spellcheck="false"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions