-
Notifications
You must be signed in to change notification settings - Fork 7
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
Clipboard doesn't work #10
Comments
That isn't a useful bug report; all cases work for me.
There are six cases:
1) From another app to FLTK widgets such as the URL bar
2) From another app to web widget
3) From FLTK to web
4) From web to FLTK
5) Copy from FLTK to another app
6) Copy from web to another app
|
I have noticed probably the same problem, even in two scenarios. First:
Second scenario:
|
I have noticed probably the same problem, even in two scenarios. First:
1. Focus address bar using associated keystroke (i.e. not with mouse).
2. Press Ctrl+C.
3. Click in a text area in any page.
4. Press Ctrl+V.
For me, it does not paste the copied URL.
Second scenario:
1. Select some text in a text area.
2. Press Ctrl+C (or right click, Copy).
3. Try to paste the text in another application.
For me, nothing is pasted (i.e. the clipboard is empty).
Thanks for the concrete cases. I tend to use the mouse exclusively
(select and then middle-click).
The first is handled by FLTK: it grabs the CTRL-C and copies to the X
clipboard. Fifth only uses the selection clipboard, which is then empty
(or has other content).
The second is the usual X confusion between apps (which clipboard to
use, of the two). Some apps paste from clipboard 0, some from 1, and
there are no standards what to do. One of X's warts; and about the only
convention all agree with is that the mouse uses the selection
clipboard always.
Fixing either is to be done in FLTK primarily, which then puts it off,
as depending on unreleased versions isn't nice, FLTK 1.3.4 has no set
date, and the functionality might not make 1.3.4 anyhow. I'll open a
bug there.
|
Thank you for forwarding the issue. In my humble opinion, selecting should copy to the selection clipboard (sometimes called the buffer; pasting by middle-click) and Ctrl+C should copy to the X (i.e. Windows-like) clipboard (pasting by Ctrl+V). |
Webkit only has one "paste" function that does not tell what called it (ctrl-v, mouse, something else). |
Then it looks like a WebKit problem. |
Can not copy paste? Why?
The text was updated successfully, but these errors were encountered: