[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kmail-devel
Subject:    [Kmail] copy paste problem (patch)
From:       Daniel Naber <dnaber () mini ! gt ! owl ! de>
Date:       2000-09-14 13:36:10
[Download RAW message or body]

Hi,

#10397 complains about copy+paste not working, Don closed it because he 
couldn't reproduce. I think the problem is that there are two copy+paste 
ways with X Win. The user probably tried this:

-select text
-Edit->Copy
-Got to another program
-Edit->Paste in that program

This indeed failed and is fixed by the attached patch. Actually selecting 
text is enough, you don't have to "copy". So the two ways of copy+paste 
are mixed up and I have no idea how to do it the right way.

But the right way has probably to do with the big "FIXME" in 
KMReaderWin::slotTextSelected() :-)

Regards
 Daniel

["copy-paste.diff" (text/plain)]

--- kmreaderwin.cpp.bak	Thu Sep 14 15:22:44 2000
+++ kmreaderwin.cpp	Thu Sep 14 15:27:51 2000
@@ -1640,11 +1640,8 @@
 //-----------------------------------------------------------------------------
 QString KMReaderWin::copyText()
 {
-/* ### FIXME
   QString temp = mViewer->selectedText();
   return temp;
-*/
-  return QString();
 }
 
 

_______________________________________________
Kmail mailing list
Kmail@master.kde.org
http://master.kde.org/mailman/listinfo/kmail


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic