gitbutler icon indicating copy to clipboard operation
gitbutler copied to clipboard

bug: quotes are changing from " to « by themselves

Open nikolaistarostin opened this issue 1 year ago • 3 comments

I am trying to type quotes (") in commit message, but the keep changing to different quotes («»)

I have ABC (English) and Russian keyboards enabled on my laptop (MacBook Pro, macOS 14.1.1), and I am typing using ABC keyboard.

Here is a video with an example. https://github.com/gitbutlerapp/gitbutler/assets/48692605/e53aef8e-ada3-4a26-b072-2dc209c4622b

nikolaistarostin avatar Feb 15 '24 16:02 nikolaistarostin

Is it possible you have smart quotes enabled for double quotes in your keyboard input sources settings?

Maybe macOS is being too helpful and not changing quotes between keyboard layouts.

Refs: https://support.apple.com/en-gb/guide/mac-help/mchl84525d76/14.0/mac/14.0 https://support.apple.com/en-gb/guide/mac-help/mh35735/14.0/mac/14.0 https://en.wikipedia.org/wiki/Quotation_mark#Belarusian,_Russian,_and_Ukrainian

03juan avatar Feb 15 '24 17:02 03juan

I think we need to do autocomplete='off' spellcheck='false' autocorrect='off' on inputs

krlvi avatar Feb 15 '24 18:02 krlvi

This should be fixed by https://github.com/gitbutlerapp/gitbutler/pull/2737 I'm going to make a release tomorrow morning

krlvi avatar Feb 15 '24 22:02 krlvi