copy-paste problem
Robby Stephenson
robby at periapsis.org
Wed Jul 9 22:19:37 MDT 2008
On Sunday 15 June 2008, Doruk Fisek wrote:
> When I mark and copy a text inside Tellico window, the text's put in
> the clipboard but not selected as default. As a result when I paste it
> into another application, the old clipboard item shows up.
>
> Each time I copy a text, I have to manually select the text from
> klipper. Then I can use the text I copied from Tellico.
I've poked at it a bit. Copy/paste is so funky on unix/linux with the
selection clipboard and the other clipboard, that I think I should probably
leave it alone.
First of all, Tellico basically copies the copy/paste code from
kapplication.cpp. The reason I don't just call those functions is because I
have the editor window. When the editor window is open, I want copy/paste
to operate on the selected text in the editor, _not_ in the main window. So
basically it checks to see if the dialog is open, then activates the
appropriate widget.
Everything seems to work right when selecting in the editor dialog.
So maybe the specific detail is that you're selecting in the entry view, in
the lower right? From what I can tell, the HTML doesn't have a copy() slot,
so nothing happens when you ctrl-v, i.e. nothing gets dumped to the global
clipboard, only to the selection.
Does that sound right?
Robby
More information about the tellico-users
mailing list