sourcegit-scm / sourcegit

Windows/macOS/Linux GUI client for GIT users
MIT License
1.45k stars 148 forks source link

Support for mouse-button copy and paste #517

Closed AdrienMatricon closed 1 month ago

AdrienMatricon commented 1 month ago

sourcegit has good integration with the traditional clipboard, but does not seem to interact with Linux's mouse-button copy and paste (select text to copy it, then use a middle click to paste it). It would be nice if that worked too

love-linger commented 1 month ago

I'm very sorry. For the follow reasons, this feature will not be planed.

AdrienMatricon commented 1 month ago

Hello,

If I understand correctly, your answer is that users on most systems expect copy/paste to happen using ctrl+C and ctrl+V (or an equivalent) and that it would be wrong to mess with that when people are simply selecting text or performing a middle-click, just because some system out there uses a non-mainstream way of performing copy/paste.

If that is indeed what you meant, then I am glad to say that is not what I'm talking about here. I assume that Linux is not your OS of choice, so let me correct a few misconceptions :

I'd say the real question here is whether the UI library used in this project does have support for this

love-linger commented 1 month ago

I checked the ISSUES of AvaloniaUI and found some relevant information, see https://github.com/AvaloniaUI/Avalonia/issues/11011. Unfortunately, AvaloniaUI does not currently support this feature.