Open Celve opened 6 months ago
- Click on the kindaVim icon in the Arc browser's menu bar.
- Select "Check what the wizard says".
- Close the wizard window without making any changes.
the temporary fix is just a coincidence. if you don't add Arc in any of kV's Family, then a check of how kV should behave is done at every keystroke. the issue with web browsers is that they're really not consistent. depends on the type of text input/fields etc. lemme have a quick look.
also would help if you let me know where exactly the issue happens. Arc own interface? web page? which web page. etc.
as you can see:
https://github.com/godbout/kindaVim.docs/assets/121373/1f8ee22a-0045-488a-9f2a-8cfe273e0f26
in Arc's UI, the tab thing, kV can use the full macOS AX and it works fine. now in browser pages it doesn't (you can see that in the first two characters in the google search there's a block cursor, that's because for those two characters the macOS AX data is correct. after that it's not and kV has to revert to using key remapping instead of the (wrong) AX data). to get the whole thing consistent, kV tells you to put Arc in the Key Mapping
Family (coz i've investigated Arc maybe some months or years ago). then using kV in Arc will be more consistent. still, there may be webpages that override key mapping, like some code editors online etc. in that case yeah, their own overriding will take precedence, unfortunately. Vimming is hard ☹️
I have already put it in Key Mapping family, and the issue only happens in Google Docs and Google search box currently. I've prepared a video demonstration to illustrate the problem.
https://github.com/godbout/kindaVim.docs/assets/95223577/8ff15b09-3152-4cfd-ab12-ed7f0e3f8b02
for Google Docs have a look at this: https://github.com/godbout/kindaVim.docs/issues/34#issuecomment-1010174583 and the rest of the thread. may help for now. will check more.
after i've enabled the AX in Google Docs settings and refreshed the page, then the motions work correctly. can you try?
I tried, but still the same. Also it seems like all input field would have this issue.
https://github.com/godbout/kindaVim.docs/assets/95223577/b44e1d4e-d48e-49ef-9e6b-ad36edb598e6
have you restarted Arc?
works fine here in Google Docs after having specified that it should enable AX, and in all inputs. showing The Wizard is really not gonna help kV do anything. it's a refreshing issue from Arc, maybe:
https://github.com/godbout/kindaVim.docs/assets/121373/53e3abd1-4753-4ffe-bc89-5955c096b0a9
I find a way to reproduce it:
i can reproduce. it's because Arc disables the web pages accessibility elements automatically after a while. why? no fucking idea. it's very clear when i use my other app that highlights AX Elements. video incoming.
so:
currently there's two things you can do. one is point 2. when the issue happens, you hide and show Arc again. that's a short term trick coz that's shit in the long term for sure. another way to solve this for now is to add Arc in the 911
Family. in that case kV will not even care whether he can detect any AX at all and will enforce the key remapping everywhere like if everything was an input (coz the Key Mapping
Family still uses the AX to determine if we're dealing with some sort of text element, or with any other input like menu, dropdown, etc. but as you see, Arc disable the AX so we can't even know with what kind of element we're dealing with).
for the rest i'll check through Arc's option, and i'll contact the devs.
Thank you so much for taking the time to explain this so thoroughly. It was very helpful.
my pleasure. thanks for using my babies!
i'll contact Arc's devs tomorrow and will update here.
pinged the dev. but not case follow up etc. will see what they say.
I've encountered a recurring issue with Vim mode functionality within the Arc browser. For example, when I want to use
w
to move the cursor to the beginning of the next word, it just moves the cursor right, just like what "l" does.However, there is a temporary fix:
Post-implementation of this workaround, Vim mode functions correctly for a duration. However, the issue re-emerges after continuous use.