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

Can't enter the hash symbol when using an Italian keyboard #2

Closed
l-de-lellis opened this issue Apr 26, 2018 · 4 comments
Closed

Can't enter the hash symbol when using an Italian keyboard #2

l-de-lellis opened this issue Apr 26, 2018 · 4 comments

Comments

@l-de-lellis
Copy link
Contributor

Hello and thank you for writing this great software,

I'm trying sublimeless_zk with an Italian keyboard where the hash symbol is entered using the AltGr (third level modifier) key + à letter. The key combination works as expected for invoking the "all tags" saved search (#!) or for tag completion command (#?) even if no character is shown on the editor, but I cannot insert a new tag because typing only the # symbol doesn't result in any character showing in the editor pane and it also truncates the first letter of the tag word (e.g. if I want to insert the #zettelkasten tag by writing directly the letters sequence I obtain "ettelkasten").

If I switch to the ENG keyboard layout (on Windows 10) all works as expected, so I suspect there is an issue with the AltGr key combination.

@renerocksai
Copy link
Owner

Interesting. Hmmm. Let me get this right:

  • You can use #! and #?
  • Via #? you can insert existing #tags
  • You cannot use the # symbol in the text editors
  • You did not try to insert a new tag in the #? selection dialog

Definitely, something weird is going on here. Seems like some UTF issue, as a first guess.

What happens when you insert an # symbol in the editor via AltGr + à and then stop typing? Does a # show up?

@renerocksai
Copy link
Owner

Kudos you got the Windows Version running, though. I noticed, on some (like: freshly installed) Windows machines, it currently doesn't.

@l-de-lellis
Copy link
Contributor Author

l-de-lellis commented Apr 26, 2018

I did some further testing and noticed the same behavior also with the left square bracket (on the italian keyboard: AltGr + è). So:

  • You can use #! and #?
  • Yes, I can use the shortcuts but the letters do not appear in the editor.
  • Via #? you can insert existing #tags
  • Yes, if a tag is already present I can insert it via the tag selection dialog.
  • You cannot use the # symbol in the text editors
  • Yes, if i type just # or [ with the Italian keyboard layout nothing is shown
    • If I type # or [ and a word, the first letter of the word is truncated
  • You did not try to insert a new tag in the #? selection dialog
  • No, I had no idea that it was possible and still it isn't clear to me how it should work. If I type in the text area of the tag dialog it only narrows the list of the pre-existing tags. If I enter something that's not already here and press Enter nothing happens.

I did some screen recording to better illustrates what happens.

Kudos you got the Windows Version running, though. I noticed, on some (like: freshly installed) Windows machines, it currently doesn't.

Version pre-0.2 runs fine on my system, but I have anaconda python installed with all the dependencies required by sublimeless_zk. Yesterday I was able to run also the pre-release version cloned from GitHub and to successfully compile into an .exe.

@renerocksai
Copy link
Owner

I hope the latest commits fixed this. See #32

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

2 participants