aMule Bug Tracker - aMule
View Issue Details
0000567aMuleFeature Requestpublic2005-09-03 01:292008-02-27 14:56
knagisa 
GonoszTopi 
normalminoralways
resolvedfixed 
SVN 
SVN 
0000567: Copy ED2K link to clipboard don't work on amulegui
There are the results of all "Copy ED2K link to clipboard...":

Copy ED2K link to clipboard --> _
Copy ED2K link to clipboard (Source) --> _
Copy ED2K link to clipboard (Hostname) --> _
Copy ED2K link to clipboard (HTML) --> <a href="">[NAMEFILE]</a>
Copy ED2K link to clipboard (AICH info) --> _

where "[NAMEFILE]" is the name of the file, and "_" is nothing.

I'm using the 20050902 CVS.

Thanks

KNagisa
No tags attached.
has duplicate 0000584resolved GonoszTopi Amulegui doesn't copy elinks to clipboard 
has duplicate 0000893resolved Kry amulegui: "copy ed2k link to clipboard" does not work for search results 
diff amule-gui.diff (632) 2006-03-07 16:44
http://bugs.amule.org/file_download.php?file_id=132&type=bug
Issue History
2005-09-03 01:29knagisaNew Issue
2005-09-03 01:32knagisaNote Added: 0001264
2005-09-03 09:24GonoszTopiStatusnew => assigned
2005-09-03 09:24GonoszTopiAssigned To => GonoszTopi
2005-09-30 13:31GonoszTopiRelationship addedrelated to 0000584
2005-09-30 13:31GonoszTopiRelationship deletedrelated to 0000584
2005-09-30 13:32GonoszTopiRelationship addedhas duplicate 0000584
2005-10-23 00:31D10TmainNote Added: 0001331
2005-10-23 11:30pcmasterNote Added: 0001342
2006-01-12 22:42pcmasterNote Added: 0001774
2006-03-07 16:44D10TmainFile Added: amule-gui.diff
2006-03-07 16:47D10TmainNote Added: 0001873
2007-01-09 01:24KryRelationship addedhas duplicate 0000893
2008-02-27 14:56XaignarStatusassigned => resolved
2008-02-27 14:56XaignarFixed in Version => SVN
2008-02-27 14:56XaignarResolutionopen => fixed
2008-02-27 14:56XaignarNote Added: 0002692

Notes
(0001264)
knagisa   
2005-09-03 01:32   
I don't know if this is important but, i'm using "wxGTK2 v2.6.0" compiled following the wiki.

Thanks

KNagisa
(0001331)
D10Tmain   
2005-10-23 00:31   
hi

i`m not a wx expert but i found fix for this (don`t know is it right solution but it works :) in 2.0.3 and latest CVS wx2.6.0

changed in amule-gui.cpp line
wxTheClipboard->UsePrimarySelection(TRUE);
to
wxTheClipboard->UsePrimarySelection(FALSE);
(i think it should not use primary selection)
or delete this line

follows changed function:

// Sets the contents of the clipboard. Prior content erased.
bool CamuleGuiBase::CopyTextToClipboard(wxString strText)
{
        bool ClipBoardOpen = wxTheClipboard->Open();
        if (ClipBoardOpen) {
                wxTheClipboard->UsePrimarySelection(FALSE); // or delete this
                wxTheClipboard->SetData(new wxTextDataObject(strText));
                wxTheClipboard->Close();
        }

        return ClipBoardOpen;
}
(0001342)
pcmaster   
2005-10-23 11:30   
Same problem with 2.0.3 version.

Selecting a filename -> right mouse, the "Copy ED2k link to clipboard" and Copy ED2k ling to clipboard (HTML)" have both the same problem.
(0001774)
pcmaster   
2006-01-12 22:42   
In 2.1.0 the bug is still unresolved.
(0001873)
D10Tmain   
2006-03-07 16:47   
attached patch (amule-gui.diff) fixes the clipboard issue (4 me). tested in 2.1.0.
(0002692)
Xaignar   
2008-02-27 14:56   
This has now been fixed.

Cheers.