Kupfer does not read current selection correctly from gVim
Bug #647506 reported by
Alex Bepple
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
kupfer |
Incomplete
|
Wishlist
|
Unassigned |
Bug Description
When I visually select something in gVim and invoke Kupfer’s “Show with selection”, the wrong string is shown. I suspect this to be Kupfer’s fault or one of its dependencies’, since `xclip -o` shows the correct selection.
In order to reproduce:
* Enter “foo” in gVim, switch to Normal mode and go to the beginning of the line.
* Press ‘v’ to enter Visual mode.
* Invoke Kupfer with the selection. It correctly shows “f”.
* In gVim, extend the selection one character to the right by pressing ‘l’.
* Invoke Kupfer with the selection. Incorrectly, it still shows “f”. `xclip -o` gives “fo”, as would be expected.
To post a comment you must log in.
This seems to be an issue with the "owner-change" signal of gtk.Clipboard.
In regards to GVim, this signal is emitted once Visual mode is first entered, but not each time the selection is changed.