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

Windows passive mode is broken #422

Closed
Gadgetroch opened this issue Aug 26, 2020 · 26 comments
Closed

Windows passive mode is broken #422

Gadgetroch opened this issue Aug 26, 2020 · 26 comments
Labels
bug Something isn't working RFNR Ready to be shipped in next release windows Related to the Windows operating system

Comments

@Gadgetroch
Copy link

Good morning,

Just for tell which bug i found :
On linux, if we reload the config, few instances of espanso could be started, i need to restart it.

When i use passive keys, text is not deleted.

@federico-terzi
Copy link
Collaborator

Hey,
Do you mean multiple processes? If that's the case, it's the expected behavior. In general you have two running processes: the daemon and the worker, both of them are required in the normal usage. Do you see more than 3 processes?

Regarding the passive error, could you make an example of how you are using it?

Cheers :)

@Gadgetroch
Copy link
Author

Gadgetroch commented Aug 26, 2020 via email

@Gadgetroch
Copy link
Author

Peek 26-08-2020 10-47

@Gadgetroch
Copy link
Author

Peek 26-08-2020 10-53

Other example

@federico-terzi
Copy link
Collaborator

@Gadgetroch Thanks, could you please post the YAML code for your match?

@Gadgetroch
Copy link
Author

Gadgetroch commented Aug 26, 2020

  - trigger: ":du"
    replace: "du --max-depth=1 -chx  \"$|$\" | sort -h"

@federico-terzi
Copy link
Collaborator

@Gadgetroch I see, thank you. So are you trying to use the passive mode in the terminal? unfortunately, as of now this is not possible.
By the way, why would you use passive mode in that case?

@federico-terzi federico-terzi added bug Something isn't working Linux Related to the Linux operating system labels Aug 26, 2020
@Gadgetroch
Copy link
Author

Hi, i use that for get alias on any linux without need modification of bashrc...

@federico-terzi
Copy link
Collaborator

That seems like a useful case, but why do you need passive mode? Isn't active mode more suited for this?

@Gadgetroch
Copy link
Author

Gadgetroch commented Aug 27, 2020 via email

@federico-terzi
Copy link
Collaborator

All right, thank you. Unfortunately, I don't think espanso is quite capable of handling your use case :(

@Gadgetroch
Copy link
Author

Gadgetroch commented Aug 28, 2020

But i have always the bug on my IDE, with passive keys :
Peek 28-08-2020 10-11

@federico-terzi
Copy link
Collaborator

@Gadgetroch Could you please try to select everything (CTRL+A) and then press the passive shortcut? (while the text is selected)

@Gadgetroch
Copy link
Author

Gadgetroch commented Sep 3, 2020 via email

@federico-terzi
Copy link
Collaborator

What version of espanso are you using?

@Gadgetroch
Copy link
Author

Gadgetroch commented Sep 3, 2020 via email

@Gadgetroch
Copy link
Author

Gadgetroch commented Sep 3, 2020 via email

@federico-terzi
Copy link
Collaborator

@Gadgetroch I was able to reproduce the issue, thank you for the feedback. I'll make sure to keep track of this bug in the next release :)

@federico-terzi federico-terzi added windows Related to the Windows operating system and removed Linux Related to the Linux operating system labels Sep 3, 2020
@federico-terzi federico-terzi changed the title Bug found Windows passive mode is broken Sep 3, 2020
@federico-terzi federico-terzi added the RFNR Ready to be shipped in next release label Sep 3, 2020
@Gadgetroch
Copy link
Author

Gadgetroch commented Sep 3, 2020 via email

@federico-terzi
Copy link
Collaborator

The bug has been solved and a fix will be shipped in next release, so stay tuned for that :)

@federico-terzi
Copy link
Collaborator

Thanks again for reporting

@Gadgetroch
Copy link
Author

Gadgetroch commented Sep 3, 2020 via email

@federico-terzi
Copy link
Collaborator

But on debian, I necessarily needed libgcc 8.4, that is not available on debian 10.

That's unfortunate... What method did you try? The DEB package?

@Gadgetroch
Copy link
Author

Gadgetroch commented Sep 3, 2020 via email

@federico-terzi
Copy link
Collaborator

All right, thank you. I'll open a separate issue for that #444

@Gadgetroch
Copy link
Author

Gadgetroch commented Sep 3, 2020 via email

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

No branches or pull requests

2 participants