Pasting text using
Ctrl+V always worked. However,
Ctrl+Enter (to submit the commit) doesn’t work reliable in a straight forward manner, unless you type in a commit field, or cut it first using
Ctrl+X and then paste it over again.
Is the workaround typing before or after you pasted the commit message?
The work-around is to type after, one char, then delete or cut/paste right inside of the field it and then
Ctrl+Enter works as expected.
Clicking actual buttons with mouse always worked as expected.
Does clicking the commit field work as a workaround?
No, neither clicking nor double clicking.
In case this is an issue specific to that operating system.
Unfortunately, I cannot say exactly right now. But the issue popped up for months before I actually decided to report it. I tried with both Fedora 35 Linux (Wayland GNOME 41.3) and mac OS Monterey and could only reproduce it on Fedora.
Try the following steps:
- Change the file
- Click stage button
- Switch between windows, like Sublime Text or Chrome browser, find and copy text to clipboard (I used keyboard for copy/paste)
- Go back to Sublime Merge and paste it
Ctrl+Enter and nothing would happen
- Use suggested above workarounds and it would work
I just discovered a new thing. If you take exactly the same steps as above but skip the step #3 (i.e. keep existing data in clipboard) then the issue doesn’t happen. It happens only when you copy/paste a new data and go directly to Sublime Merge to paste it.
Perhaps, it’s some security feature on GNOME that misbehaves?