nbonamy / witsy

Witsy: desktop AI assistant
https://witsyai.com
Apache License 2.0
59 stars 5 forks source link

BUG: Replace selection, and paste beneath does not work in Windows 11 #15

Closed dantosXD closed 2 days ago

dantosXD commented 6 days ago

For some reason on windows 11 Witsy does not replace the selected text when using the AI commands that are supposed to replace text or paste beneath text. It quickly flashes "Thinking" but no text is changed. It also does not matter if I select a model I know works in scratchpad, prompt anywhere, or ai commands that open in chat.

Untitled video - Made with Clipchamp

nbonamy commented 5 days ago

Tested on Windows 10 and Windows 11 (ARM) but was not able to reproduce so far. Will look further and/or add a way to get more info of what is happening on your laptop. Two questions though:

dantosXD commented 5 days ago

The error was to select text, after I correctly applied it and it did nothing. I have added a video for you to see what it is doing, you will see the AI commands open with the NUM123, then it highlights the text input box but nothing happens. The NUM123 icon pops up anytime I use the AI command and that is my numlock. It does not toggle the num lock it just displays it is on. Not sure why.

https://github.com/user-attachments/assets/49f5aaad-2201-4101-bd34-191d8d6fa49f

mands.

nbonamy commented 4 days ago

That 123 icon is not a Witsy icon and is probably another application that is stealing the focus from Witsy and prevents it from pasting the output in the target app. No idea what this is? It only shows up when you are using Witsy?

Found that: https://answers.microsoft.com/en-us/windows/forum/all/cannot-figure-out-how-to-disable-the-caps-locknum/b396f2a2-e8a4-44a8-a0f5-61e929551db6

dantosXD commented 3 days ago

Yeah the only time it happens is when I use witsy I have never seen it before.

nbonamy commented 3 days ago

Hum for sure this is not displayed by Witsy. Witsy may do something that triggers that other software but hard to know without knowing which software it is. Is your computer a Lenovo? Have you checked on the link how to disable it?

dantosXD commented 2 days ago

I will try and figure it out. I would close this bug if it is just my issue!

nbonamy commented 2 days ago

Sorry. The new UI will allow you to copy the content and paste it yourself as a workaround.