CudaText icon indicating copy to clipboard operation
CudaText copied to clipboard

Backticks still dont work on macOS

Open tatecapone opened this issue 4 years ago • 23 comments

macOS 11.3 CudaText 1.124

tatecapone avatar Feb 10 '21 18:02 tatecapone

It will be good if you download this Lazarus program https://scootersoftware.com/download.php and repro the bug there too. Scooter-software have good experience in Lazarus and they can make the lazarus fix if needed. @tatecapone

Alexey-T avatar Mar 19 '21 16:03 Alexey-T

@tatecapone I got reply from ScooterSoftware quote: I just checked BC and Lazarus on macOS 11 and both typed a back tick successfully. .... Check if your end user’s keyboard layout makes a difference. Launching from the command line vs double clicking the app icon might affect things too, since the environment will be different.

Alexey-T avatar Mar 21 '21 18:03 Alexey-T

@tatecapone Pls read https://www.scootersoftware.com/vbulletin/forum/beyond-compare-4-discussion/mac/85470-typing-backtick-char-on-macos-big-sur?p=85491#post85491

seems, it's local PC issue.

Alexey-T avatar Mar 22 '21 20:03 Alexey-T

@jairomartinezA , do you confirm this issue on your macOS setup?

Alexey-T avatar Jul 28 '22 17:07 Alexey-T

Yes, that happens.

JairoMartinezA avatar Jul 28 '22 17:07 JairoMartinezA

@skalogryz , sorry that I disturb you, but do you know reason for this issue? - in custom controls like SynEdit and my ATSynEdit.

Alexey-T avatar Jul 28 '22 17:07 Alexey-T

are you talking about these backticks, guys?

image

veksha avatar Jul 28 '22 20:07 veksha

In my case, neither kind of accents works.

JairoMartinezA avatar Jul 28 '22 20:07 JairoMartinezA

oh, you mean this?

Option + ` + letter = grave accent à, è, ì, ò, or ù (like this: Voilà)
Option + i + letter = circumflex accent â, ê, î, ô, or û (like this: Crêpe)

or this method: image

veksha avatar Jul 28 '22 21:07 veksha

Yes, with CudaText I cannot get accent marks.

image

JairoMartinezA avatar Jul 28 '22 21:07 JairoMartinezA

Here is simplest demo to test backticks (I don't have Mac for the next 2 weeks)

backticks still not entered? @veksha @jairomartinezA

Alexey-T avatar Jul 29 '22 15:07 Alexey-T

No, I cannot enter backticks with this project:

image

JairoMartinezA avatar Jul 29 '22 16:07 JairoMartinezA

Thanks for test.

Alexey-T avatar Jul 29 '22 16:07 Alexey-T

image

It seems that only with US International PC keyboard one can use easy method of typing accented letters:

  1. type backtick (it will be yellow) image

  2. type letter image

with other keyboards layouts (ABC or US) user must use two methods i mentioned above (https://github.com/Alexey-T/CudaText/issues/3158#issuecomment-1198645308)

this is all works in all other applications (Notes, or Terminal, etc.. even in Sublime), but none of methods are working in CudaText. this was just not implemented, I think.

PS: using US International PC keyboard layout backticks are not even appearing in CudaText or test app. you can't enter them. with other keyboard layouts you can enter them at least.

veksha avatar Jul 29 '22 22:07 veksha

In my case: image

I cannot get this in CudaText, the next chars were typed inside this GitHub comment, here works but in CudaText the chars appear without accents:

àáèé

JairoMartinezA avatar Jul 29 '22 23:07 JairoMartinezA

regular SynEdit lacks this too, i'm afraid.

veksha avatar Jul 30 '22 17:07 veksha

Of course SynEdit lacks it - if it's so in primitive demo

Alexey-T avatar Jul 30 '22 17:07 Alexey-T

but very primitive edit box has support for typing accents.

veksha avatar Jul 30 '22 17:07 veksha

edit box is OS-based. not 'primitive' al all !

Alexey-T avatar Jul 30 '22 18:07 Alexey-T

SublimeText also has this facility: Preferences > Key Bindings, add the following code to the file that opens Default (Linux).sublime-keymap:

[
	{ "keys": ["`","a"], "command": "insert", "args": {"characters": "à"}},
]

https://stackoverflow.com/questions/27703981/cant-type-accented-characters-in-sublime-text-3-ubuntu-14-10

veksha avatar Jul 31 '22 07:07 veksha

wait, the problem is that I cannot enter backtick char? or that I cannot enter ACCENTED chars? we have only second or both? backtick-keyboard-button exists on Macs, does it work? https://cdn.mobilesyrup.com/wp-content/uploads/2018/06/MacBook-Pro-Keyboard.jpg

Alexey-T avatar Jul 31 '22 07:07 Alexey-T

  1. entering backtick char can't be a problem of CudaText. it can be a problem of Keyboard Layout, I think. for example, i can enter backtick (in all apps) with "~" key while using ABC, U.S., U.S. International - PC, but not when switched to Spanish/Russian/etc..

in case of Spanish, for example, I can use only "Press and hold" method of inserting chars with accents. press "e" and hold: image

I think the problem is that for CudaText no method is available. I know three methods:

  1. type ` then the letter
  2. Option + ` + letter
  3. press and hold method.

first method works for me only when switched to U.S. International - PC layout. second method works only for ABC, U.S., U.S. International - PC third method seems to work no matter what layout you have.

none of these work in CudaText. but!! interestingly enough that with U.S. International - PC layout no char is entered in CudaText by pressing "~" key. in other apps it works. so this needs to be checked, I think. maybe it is what @tatecapone was walking about, maybe not.

PS: i have windows-type keyboard (eng/rus/ua), macOS Big Sur inside virtual machine.

veksha avatar Jul 31 '22 08:07 veksha

wait, the problem is that I cannot enter backtick char? or that I cannot enter ACCENTED chars? we have only second or both? backtick-keyboard-button exists on Macs, does it work? https://cdn.mobilesyrup.com/wp-content/uploads/2018/06/MacBook-Pro-Keyboard.jpg

In my case, I cannot get any ACCENTED chars. In SublimeText works as expected.

JairoMartinezA avatar Aug 01 '22 16:08 JairoMartinezA

Alex I think this issue can be closed too.

image

JairoMartinezA avatar Jan 07 '23 16:01 JairoMartinezA

Thanks for checking.

Alexey-T avatar Jan 07 '23 16:01 Alexey-T