WritingTools icon indicating copy to clipboard operation
WritingTools copied to clipboard

Sometimes, when I try to open the program by the shortcut, it deletes the text and replaces it with "c" or "cc."

Open AbdelrhmanElbaz opened this issue 11 months ago • 5 comments

Occasionally, when I attempt to launch the program using my Ctrl+\ shortcut, it malfunctions. Instead of opening the expected popup, it deletes all existing text and replaces it with either a single lowercase "c" or the letters "cc."

AbdelrhmanElbaz avatar Mar 26 '25 13:03 AbdelrhmanElbaz

Hi! Sorry about this - never seen this issue until now. When I resume development on the Windows/Linux build of Writing Tools in the near future, I'll adjust the internal timers and work with you to get this fixed.

For context, this seems to be because the default timers (for Writing Tools's internal ctrl+c to read your clipboard) are too fast for your device for some reason. Maybe I'll add a compatibility option in Settings that makes them longer.

theJayTea avatar Apr 04 '25 14:04 theJayTea

https://github.com/user-attachments/assets/dce613ea-e191-417b-8769-54b65df66905

I recorded my issue with the program so you can see it. The question is: could this be a problem with GeminiApi or with the program itself?

AbdelrhmanElbaz avatar May 14 '25 01:05 AbdelrhmanElbaz

The problem seems to be that when I use the shortcut with the Arabic keyboard, the problem occurs.. In the video, you can see that the shortcut doesn't work when the keyboard is set to Arabic. It does work if you switch to an English keyboard and then back to Arabic, but I don't know why.We've put in a temporary fix for now, and we really appreciate your patience! We'll be sure to address this properly in a future update. Thanks so much!

AbdelrhmanElbaz avatar May 23 '25 18:05 AbdelrhmanElbaz

I have occasionally experienced this issue as well, only a couple of times, and I am using an English keyboard and the English language setting in Windows.

mreduar avatar Jul 01 '25 21:07 mreduar

So that the application owner can fix this problem, I have solved it on my end in a way that might be helpful to you.

Using Hot-key-scripts, I made the shortcut responsible for running the application the same shortcut that switches the language to English.

As I mentioned, the problem appears when the keyboard is on a layout other than English.

So, when I use Hotkeyscripts to switch the keyboard to English before using Writingtools, the problem is easily solved.

!`::  ; This means Alt+1
; Set the keyboard layout to English (US)
PostMessage, 0x50, 0, 0x04090409, , A  ; 0x04090409 is the code for English (US)
return

The problem is solved for me in all programs except Anki, I don't know why. 😶

AbdelrhmanElbaz avatar Oct 14 '25 05:10 AbdelrhmanElbaz