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

Cannot enter sqare brackets (“[” and “]”) in v0.16.2 #2359

Closed
1 task done
odkr opened this issue Oct 14, 2020 · 6 comments
Closed
1 task done

Cannot enter sqare brackets (“[” and “]”) in v0.16.2 #2359

odkr opened this issue Oct 14, 2020 · 6 comments

Comments

@odkr
Copy link

odkr commented Oct 14, 2020

Description

No character is entered when I press <Alt>+<5> ("[" on a German keyboard) or <Alt>+<6> ("]").

  • Can you reproduce the issue?

Steps to reproduce

  1. Open Mark Text.
  2. Press <Alt>+<5> or <Alt>+<6> (on a German keyboard).

No character appears.

Expected behavior:

"[" or "]" respectively should be entered.

Actual behavior:

Neither "[" or "]" are entered.

Versions

  • Mark Text version: v0.16.2
  • Operating system: macOS v10.14.6
@dhose
Copy link

dhose commented Oct 15, 2020

I have this problem as well, but on a Swedish keyboard. Alt+4 ("$") does not work for me either

Versions

  • Mark Text version: v0.16.2
  • Operating system: macOS v10.15.6

@brainchild0
Copy link
Contributor

Probably duplicate of #2235.

@RasmusMalver
Copy link

This issue affects Mac users in every language but American. It is a grave error. Alt and shift are always for typing. They can only be used for shortcuts when used with ctrl or cmd.

The issue can be mitigated by adding the file keybindings.json to ~/Library/Application Support/marktext with this content:

{
    "tabs.switch-to-first": "",
    "tabs.switch-to-second": "",
    "tabs.switch-to-third": "",
    "tabs.switch-to-fourth": "",
    "tabs.switch-to-fifth": "",
    "tabs.switch-to-sixth": "",
    "tabs.switch-to-seventh": "",
    "tabs.switch-to-eighth": "",
    "tabs.switch-to-ninth": "",
    "tabs.switch-to-tenth": ""
}

The fastest way is to open terminal and type nano "~/Library/Application Support/marktext/keybindings.json". Paste the text, press [ctrl]+[o], [ctrl]+[x] to save and exit. Solution copied from #2299

Obviously a different shortcut can be supplied.

Same issue as #2235, #2299, #2376 and #2359.

@epeios-q37
Copy link

Someone suggests that #2235 is related to #2225. There is a workaround for #2225, which is to set GTK_IM_MODULE environment variable to xim. This workaround works under Linux, don't know if GTK_IM_MODULE environment variable is of some use on macOS
See https://bugs.chromium.org/p/chromium/issues/detail?id=1129424

@brainchild0
Copy link
Contributor

Suggest closing in favor of #2235.

@fxha
Copy link
Contributor

fxha commented Dec 16, 2021

Thank you for reporting the issue. We noticed that this is a duplicate and closing it in favor of #2235. You may want to subscribe there for further updates.

@fxha fxha closed this as completed Dec 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants