Closed pilgrimlyieu closed 1 year ago
@pilgrimlyieu thanks for reporting this issue!
Maybe I need to access the clipboard from a new thread, like the UnitConverter plugin.
Can you give examples of out of the box plugins where copy to clipboard works?
Can you give examples of out of the box plugins where copy to clipboard works?
PowerTranslator & EverythingPowerToys seem to work.
Although the crash will occur, the emoji could still be copied to clipboard correctly.
So both PowerTranslator and EverythingPowerToys use Clipboard.SetDataObject
instead of Clipboard.SetText
.
I will make this change in GEmojiSharp.PowerToysRun
when I get the time.
Or if you want to contribute, please submit a PR.
I will make this change in
GEmojiSharp.PowerToysRun
when I get the time. Or if you want to contribute, please submit a PR.
I would like to but I'm a student learning C at first and I have no idea with C#. I can wait and keep this issue opened until you get the time. Or if the change is minor, could you so please give me some guidance?
I opened a PR in #24.
@pilgrimlyieu thanks for the PR! I'll create a new release with the fix included.
You can try out your fix in version 3.1.1
of GEmojiSharp.PowerToysRun
Download and install; https://github.com/hlaueriksson/GEmojiSharp/releases/tag/v3.1.1
Works normally now. Thanks for your awesome plugin!
Should I close this issue now?
That's great to hear that it works. Thanks for your contribution to the project!
Hello, I met an issue recently. When I use Alt + Space to open the Run window, type something like
emoji laugh
, select one of emojis and press Enter or Ctrl + C, an error will be thrown like below.The version of GEmojiSharp is 3.1.0, latest in release. The version of PowerToys is 0.74.0, also the latest.
Since other Run plugin works normal, I'm wondering that if I've done something wrong on this plugin or I've missed something. I couldn't find similar cases and solution in internet so I open an issue for help.
If I've done something wrong, please inform me! Thanks for your wonderful plugin!