On Tue, Jan 02, 2007 at 05:40:23PM -0600, Bo Peng wrote: > > I tested it with two different external applications. The first one > > being the infamous cmd.exe window, the second one the rxvt terminal. > > Either of them qualifies as GUI application.
I think you mean non-GUI applications. > I think you should test > text editors like notepad, word, word perfect, open office, vim/win, > xemacs/win etc. Tested with notepad, word, open office, vim. It works. > Anyway, in my opinion, selection clipboard separation > is a must and lyx/win should not middle-button-paste from external > applications under windows, nor from system or internal clipboard. Why? > > 3) In LyX, select something then click somewhere away and press the > > middle mouse button. The selection goes away > > This is what I have discussed. Some word processors keep selection and > some do not. Lyx currently only paste from active selection so > left-button click will clear selection. > > > and what you paste is what already was in the clipboard, not what you > > selected in LyX. > > This is totally wrong. Middle-button-paste should not paste clipboard. Why? > > 4) In LyX, select something and then press C-c. Now click somewhere else > > and press middle mouse button. What you copied with C-c is pasted. > > This is wrong. see above. I haven't seen any rationale, only opinions. Currently, when I copy something to the clipboard I cannot paste it by C-v, which is what the typical Windows user expects. He doesn't expect to have to choose either Edit->Paste External Clipboard/Selection->Clipboard as Lines or Edit->Paste External Clipboard/Selection->Clipboard as Paragraphs or Edit->Paste External Clipboard/Selection->Selection as Lines or Edit->Paste External Clipboard/Selection->Selection as Paragraphs But which one? And what does it mean "as Lines" or "as Paragraphs"? Not to say that the typical Windows user would expect to be able to paste images... but... oops, he can't. Tsk, tsk, this is not what the OS guidelines suggest, isn't it? So, you say that it is wrong having an easy way to paste the contents of the external clipboard as text using the middle-button. Instead, I say that it is right because it is not C-v, so I don't expect to be able to paste arbitrary content and because it is handy. > Actually, such topics have been discussed many times and we had never > reached a consensus on the correct behaviors. LyX can only copy/paste text, so the selection/clipboard separation was a big mistake. IMHO, of course. -- Enrico