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

Custom compose key configuration does not work #34277

Closed
mlainz opened this issue Sep 13, 2017 · 10 comments
Closed

Custom compose key configuration does not work #34277

mlainz opened this issue Sep 13, 2017 · 10 comments
Assignees
Labels
upstream Issue identified as 'upstream' component related (exists outside of VS Code)
Milestone

Comments

@mlainz
Copy link

mlainz commented Sep 13, 2017

  • VSCode Version: Code 1.16.0 (787b31c, 2017-09-06T16:19:37.192Z)
  • OS Version: Linux x64 4.9.0-3-amd64
  • Extensions:
Extension Author (truncated) Version
latex-workshop Jam 3.5.2
spellright ban 1.1.40
jupyter don 1.1.3
unicode-latex oij 1.0.2

I have configured some custom keybindings for entering unicode symbols using the compose key. They work on other programs but not on vscode.

For example, the default "compose" + "." + "." does type "…", as expected.
However my custom "compose" + "g" + "a", which should type "α", as it does in other programs, does not work.

A fix or a workarround would be welcomed.

Steps to Reproduce:

  1. Create an .XCompose file in the home directory with the line
    <Multi_key> <g> <a> : "α"
  2. Restart X.
  3. "compose" + "g" + "a" types "α" in most programs.
  4. "compose" + "g" + "a" doesn't do anything on vscode.

Reproduces without extensions: Yes

@alexdima
Copy link
Member

@mlainz Is this a problem only with the editor or does this reproduce also when wanting to use this key combination in e.g. the find widget input or the search viewlet input boxes ?

Also, do these work in Chromium ?

@alexdima alexdima added the info-needed Issue requires more information from poster label Sep 13, 2017
@mlainz
Copy link
Author

mlainz commented Sep 13, 2017

The key combination doesn't work anywhere on vscode.

I tried on Chromium and exactly the same happens (standard key combinations work, custom ones don't).

I guess it's a Chromium/electron problem, then.

@mlainz
Copy link
Author

mlainz commented Sep 13, 2017

Yes, the bug is referenced here.

@alexdima alexdima added upstream Issue identified as 'upstream' component related (exists outside of VS Code) and removed info-needed Issue requires more information from poster new release labels Sep 13, 2017
@alexdima alexdima added this to the Backlog milestone Sep 13, 2017
@alexdima alexdima added the bug Issue identified by VS Code Team member as probable bug label Sep 13, 2017
@alexdima alexdima self-assigned this Sep 13, 2017
@alexdima
Copy link
Member

This is an upstream issue (possibly within Chromium), and there are no known workarounds that we could implement on our side. This means there is no possible code change for us to do in VS Code sources to improve things.

To keep the number of issues in our inbox at a manageable level, we’re closing issues that have been on the backlog for a long time but haven’t gained traction or that are not actionable. Thank you for your time and understanding.

@vscodebot vscodebot bot locked and limited conversation to collaborators Jan 8, 2018
@alexdima alexdima reopened this Feb 28, 2018
@microsoft microsoft unlocked this conversation Feb 28, 2018
@alexdima
Copy link
Member

Reopened due to comment #43526 (comment) from @timtro

The issue is identical to this one, #34277. The issue was closed because Chrome displayed the same behaviour, indicating an upstream problem. However, I am currently able to use my custom compose combinations from ~/.XCompose in Chrome. I'm wondering if this is something we can fix now.

@alexdima alexdima removed the bug Issue identified by VS Code Team member as probable bug label Apr 17, 2018
@mattpalermo
Copy link

I am having the same issue in the Atom text editor as well as vscode so perhaps this issue should be addressed upstream in the electron framework?

A thread of my issue: https://askubuntu.com/questions/1038657/how-can-custom-compose-key-combinations-be-defined-for-all-applications

@mattpalermo
Copy link

Good news everyone! This bug is fixed in Atom 1.28 which means that upgrading to Electron 2.0 will (should) fix this problem. It looks like Electron 2.0 upgraded to Chrome 61 which must have been enough to fix the problem.

@mlainz
Copy link
Author

mlainz commented Oct 13, 2018

I think the bug is already fixed in the last update.

@mattpalermo
Copy link

Did vscode upgrade to electron 2.0 or did something else happen?

@alexdima
Copy link
Member

Yes, the latest stable version of VSCode is on Electron 2.0.7

@vscodebot vscodebot bot locked and limited conversation to collaborators Nov 30, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
upstream Issue identified as 'upstream' component related (exists outside of VS Code)
Projects
None yet
Development

No branches or pull requests

3 participants