-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
mono: crash on an attempt to "Copy commit info" #3729
Comments
It doesn't seem it is possible at all to set data in clipboard in Mono and then paste it to a native app... I got it working on Mac with the code from here https://stackoverflow.com/questions/28611112/mono-clipboard-fix. There's also presumably a way to achieve xplat copy/paste functionality via GTK clipboard https://www.medo64.com/2011/01/mono-ubuntu-and-clipboard/ On the Mac I couldn't copy text via the native context menu or via Command+C and then paste it in a Mac app at all... If there is a command to copy text on *nix via command line (the same way as for the Mac) - we can probably fix it. Else - we will need to disable all "copy" context menus on *nix. |
Copying from the commit tree (right click on a commit -> Copy to clipboard -> < any menu item >) works perfectly for me on mono. With respect to this particular issue report, it's just not the best idea to use Win32 API, if GitExtensions is meant to be portable. |
great, it doesn't work on a mac then... sigh |
Thanks a lot. #3752 does indeed fix the crash. |
My current setup includes current GitExtensions' master, mono 5.0.1.1, Cinnamon, Fedora 25, where this bug is also reproducible.
An attempt to "Copy commit info" using the context menu shown above (or the same one from the commit "Diff" window) leads to the following crash on mono:
The text was updated successfully, but these errors were encountered: