vimperator-labs
vimperator-labs copied to clipboard
Yank to CLIPBOARD in visual mode (Windows)
Issue type:
- Bug report
Version:
Vimperator: 3.15.0 (created: 2016/10/05 01:11:26) Firefox: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:49.0) Gecko/20100101 Firefox/49.0
Description:
In visual mode with a cursor selection active,
-
y
emits a statement that the selection has been copied to the clipboard. In fact, however, the clipboard is cleared. -
Y
emits no statement, but also clears the clipboard. -
^C
emits no statement, and I find I can paste the selected text elsewhere in and outside of FF.
Expected behavior:
When I select a statement in "cursor visual" mode and hit y
or Y
, I expect the selected text to be available for pasting elsewhere, both in and outside FF, as presently occurs for ^C
.
I suspect this issue relates to #185. The reason I'm creating this different ticket is because of differences in clipboarding in the 2 environments.
Note: Per liberator://help/buffer#copying, I would expect:
-
Y
to copy currently selected text to the system clipboard. -
y
to copy the URL of the current page. I think that would be considered the current location, but am not certain on this. In any case, my justification to expecty
to copy the buffer's selected text is the statement it emits when you do it! (It also seems like the RTTD, tho it doesn't seem to be documented.)
Making a statement consistently upon any yank
action would be a plus.
Steps to reproduce:
I'm pretty sure I've seen this [mis-]behavior consistently on all Windows platforms I use. If I notice otherwise, I'll correct my comments here.