Giter Site home page Giter Site logo

Comments (14)

zcbenz avatar zcbenz commented on May 3, 2024

This is a feature of Mac's input sources support, users using non-latin languages (for example Chinese) need it to input characters in their languages.

The real bug is: the bubble should be shown where the cursor is, like this:

screen shot 2013-08-06 at 2 29 54 pm

and this (inputing Chinese character):

screen shot 2013-08-06 at 2 30 33 pm

however in Atom, the bubble of input source always shows in the left top corner.

So I think our problem is not to hide the i18n bubble, but to show it in the right place, I'll see how to achieve it.

from electron.

mcolyer avatar mcolyer commented on May 3, 2024

We'll I'd still like a way to disable it entirely although I agree that having the bubble follow the cursor would be good to have.

The reason I ran into it is that I'm creating vim bindings and I noticed that this pops up occasionally in command mode, where it's totally typically to hold and press characters and not intend to insert them.

from electron.

probablycorey avatar probablycorey commented on May 3, 2024

We could try moving the editor's hidden text input field so it is always by
the main cursor. That might be a solution.

On Mon, Aug 5, 2013 at 11:38 PM, Cheng Zhao [email protected]:

This is a feature of Mac's input sources support, users using non-latin
languages (for example Chinese) need it to input characters in their
languages.

The real bug is: the bubble should be shown where the cursor is, like this:

[image: screen shot 2013-08-06 at 2 29 54 pm]https://f.cloud.github.com/assets/639601/915205/a4dca04e-fe61-11e2-92aa-0a1e70cbd321.png

and this (inputing Chinese character):

[image: screen shot 2013-08-06 at 2 30 33 pm]https://f.cloud.github.com/assets/639601/915214/c821d5d8-fe61-11e2-82fb-82073b4925cd.png

however in Atom, the bubble of input source always shows in the left top
corner.

So I think our problem is not to hide the i18n bubble, but to show it in
the right place, I'll see how to achieve it.


Reply to this email directly or view it on GitHubhttps://github.com//issues/47#issuecomment-22161115
.

from electron.

nathansobo avatar nathansobo commented on May 3, 2024

We tried that once. There was some problem with it that I sadly can't remember. Maybe we should try again.

from electron.

izuzak avatar izuzak commented on May 3, 2024

I'm Croatian and use the i18n bubble all the time for our non-latin letters -- please don't kill it. 🙏

from electron.

kevinsawicki avatar kevinsawicki commented on May 3, 2024

I think we can close this issue right?

The bubble now appears by the cursor and as @izuzak mentioned, it is useful and we should keep it.

from electron.

mcolyer avatar mcolyer commented on May 3, 2024

This is still annoying when I'm in vim mode and I press and hold l for movements.

from electron.

nathansobo avatar nathansobo commented on May 3, 2024

Isn't it possible to disable this behavior at the OS X system level?

from electron.

mcolyer avatar mcolyer commented on May 3, 2024

It'd be great if we could have that as an atom option, so that we don't have to tell users to go to their system preferences when they install vim-mode.

from electron.

zcbenz avatar zcbenz commented on May 3, 2024

I think we can just disable IME when in vim mode, when IME is disabled in the <input> (for example <input> of password type), the bubble would not show.

from electron.

mcolyer avatar mcolyer commented on May 3, 2024

I'm down for using that type="password" as a workaround. I'm for closing this now.

from electron.

mcolyer avatar mcolyer commented on May 3, 2024

Reported by a user atom/vim-mode#175

from electron.

zcbenz avatar zcbenz commented on May 3, 2024

@mcolyer This issue has been moved to atom/atom#1092, I think it could simply be implemented with @hiddenInput.attr('type', 'password').

from electron.

mcolyer avatar mcolyer commented on May 3, 2024

Cool, I'll mention it over there.

from electron.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.