macvim-dev / macvim

Vim - the text editor - for macOS
https://macvim.org
Vim License
7.51k stars 683 forks source link

Macvim Dictation Issue on Catalina #987

Open ozzop opened 4 years ago

ozzop commented 4 years ago

Hello, I just upgraded to MacOs Catalina and I'm having some issues using the dictation on Macvim.

I'm using the 8.1.2234 Macvim version and when I start to dictate, after some lines, Macvim automatically deletes the previous lines and what I get in the end are the last sentences. This is my first attempt of using dictation in Macvim so I can't tell if before MacOs Catalina the issue was still there.

eirnym commented 4 years ago

@ozzop Thank you for your issue,

I haven't tried the dictation in MacVim yet and I think it's a good time to try it :)

Please tell us a little more details about your experience to reproduce the issue.

In which language do you dictate? Do you know any specific words or phrases which trigger incorrect MacVim's behaviour?

Have you've installed MacVim from GitHub, Homebrew or MacPorts? Have you tried to dictate in MacVim in terminal (mvim -v/gvim -v)? Have you tried to turn off plugins? (mvim --clean/gvim --clean/vim --clean)

ychin commented 4 years ago

@ozzop Can you be a little specific about what lines you were saying? Since it's likely you may have triggered some keywords. Are you only using Dictation or Voice Control (which is new in Catalina) too?

ozzop commented 4 years ago

Ok, I've done some tests and I'm ready to answer.

@eirnym I'm dictating in Italian and I didn't notice any word or phrase in particular that triggers this behavior (for example dictating "pizza pasta mozzarella" in loop for 20 times triggers the event as well as saying "ciao" or some random text). I've installed MacVim from Github and the issue shows up only when I use it with the GUI, no problems in terminal. I'm using Ultisnips, Vimtex and coc-nvim as plugins but when I disable them the problem is still there. @ychin the lines I was dictating were from my physics notes but it seems to be unrelated to the lines, every time I try to use the dictation after a few sentences the problem shows up. And yes I was only using dictation, activated by double pressing the function button.

Hope this helps you to understand the issue 😕

ychin commented 4 years ago

Also another dictation issue I found that may or may not be related: #87

GabZach commented 1 year ago

The issue still persist with r177, MacVim 9.0.1677, under macOS Ventura (13.5.2). The first few words when dictation seem OK, then Vim acts up and does all kinds of weird things.

ychin commented 1 year ago

That's unfortunate. I never got around to addressing this. I hate to punt but with macOS 14 coming out (and it has some changes to how text input works) so let me install it when it comes out soon and play around with it to see. It should "just work". :(