Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trigger text remains with citrix receiver on Windows 10 #246

Open
wressl opened this issue Apr 22, 2020 · 9 comments
Open

Trigger text remains with citrix receiver on Windows 10 #246

wressl opened this issue Apr 22, 2020 · 9 comments
Labels
bug Something isn't working windows Related to the Windows operating system

Comments

@wressl
Copy link

wressl commented Apr 22, 2020

When using a Citrix app on Windows 10 the trigger text is not replaced, but remains along with the expansion. When using the same Citrix app on MacOS it works perfectly

For example:
On MacOS :espanso becomes "Hi There!"
on Win10 :espanso becomes ":espansoHi there!"

Also, if backend is set to Clipboard, no expansion happens at all.
It works perfectly in other Windows apps like Notepad, so I believe this is specific to Citrix.
I am using the latest Citrix receiver (4.12).
I would suppose there is some permissions issue that is preventing espanso from deleting the trigger text but do you have any idea how to fix it?

@federico-terzi
Copy link
Collaborator

Hey @wressl,

It seems like Citrix can't detect the first sequence of "backspace" that is used to delete the trigger.
Does Citrix require Admin privileges? Also if you type backspace manually, does it work correctly?

Cheers :)

@federico-terzi federico-terzi added bug Something isn't working windows Related to the Windows operating system labels Apr 23, 2020
@wressl
Copy link
Author

wressl commented Apr 24, 2020

Normally citrix does not require admin privileges.
I tried running as admin and this did not make any difference.
Backspace manually definitely works correctly.
Is there a way to log the key commands being sent by the keyboard to citrix vs espanso?

@federico-terzi
Copy link
Collaborator

Thank you @wressl, most probably the problem is that espanso sends the delete events too fast for Citrix.
In the next few days I'm going to send you a modified version of espanso that slows the deletion down, so that you can tell me whether it works correctly.
Once we are able to track down the problem, we can find a solution!

Cheers :)

@federico-terzi
Copy link
Collaborator

Hey,
I'm currently shipping espanso 0.6.0 which includes an option that could solve your problems!
Could you please try to add the following line to your default.yml file:

backspace_delay: 10

and see if that helps on Citrix? Also try to increase that number if you see any other error.

Note that this line slow down espanso for all applications (which is not desirable), so if it works correctly we can then apply it only to Citrix by defining an app-specific configuration.

Let me know if that helps :)

@wressl
Copy link
Author

wressl commented May 11, 2020

Unfortunately I don't see any improvement with changing backspace_delay.
I tried 1, 10, 100, 1000 and can definitely see the delay at the higher numbers.
Interestingly when I increase it to 100, the trailing space also remains
":espanso Hi there!" instead of ":espansoHi there!"
I'm not sure if that might provide some kind of clue.
I'm looking into logging in Citrix and will let you know if I can produce anything meaningful.

@federico-terzi
Copy link
Collaborator

Too bad, I thought it could help as it solved a similar problem in another application.
It seems like this problem is related more to Citrix that espanso. If I can get my hands on a Citrix installation I'll make some tests myself and let you know.

Cheers :)

@madmunky
Copy link

Was there ever any fix for this as I have the same issue, I've tried the backspace_delay: 10 option without any luck

@wressl
Copy link
Author

wressl commented Aug 13, 2021 via email

@crontol
Copy link

crontol commented Oct 19, 2023

This is quite annoying.

I have to change back to TextExpander and it works with Citrix.

https://textexpander.com/blog/textexpander-is-citrix-ready

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working windows Related to the Windows operating system
Projects
None yet
Development

No branches or pull requests

4 participants