<div dir="ltr">Please report this special case to digiKam bugzilla. We will take a look later.<div><br></div><div>Best</div><div><br></div><div>Gilles Caulier</div></div><div class="gmail_extra"><br><div class="gmail_quote">2018-04-29 22:15 GMT+02:00 Sky Diver <span dir="ltr"><<a href="mailto:skydivergm@gmail.com" target="_blank">skydivergm@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Dragging and Dropping into Sublime Text evidently opens the image for<br>
display (news to me - I did not know Sublime Text is capable of that).<br>
When I drag & drop to Notepad, the binary data is display as text. The<br>
JPG header is easily recognizable: "ÿØÿáXéExif MM ..."<br>
I think it's safe to conclude that on Windows, QT is pasting file data<br>
(in the form of an OLE object) and not just the file path.<br>
<br>
On Sun, Apr 29, 2018 at 12:59 PM, Gilles Caulier<br>
<div class="HOEnZb"><div class="h5"><<a href="mailto:caulier.gilles@gmail.com">caulier.gilles@gmail.com</a>> wrote:<br>
> Hum,<br>
><br>
> What's about to drag and drop icon-view items to a text editor ? The way to<br>
> pass info from DK to target application is a little bit different.<br>
><br>
> Does it work for you ? What do you see in text editor exactly ?<br>
><br>
> Gilles Caulier<br>
><br>
> 2018-04-27 23:22 GMT+02:00 Sky Diver <<a href="mailto:skydivergm@gmail.com">skydivergm@gmail.com</a>>:<br>
>><br>
>> Pasting as "Help > Components Information > Copy to Clipboard" indeed<br>
>> works but I'm pretty certain the copying method is different than<br>
>> copying an image via the thumbnails view.<br>
>><br>
>> I don't have the code compiled but I dug as deep as reaching<br>
>> DragDropViewImplementation::<wbr>copy()<br>
>> IMO the mimeData() in Windows is different than Linux.<br>
>><br>
>> To double-check this I installed a Clipboard Viewer app and when<br>
>> copying text I see that indeed text is being copied to the cilpboard,<br>
>> but when copying an image via digikam as described above, an OLE<br>
>> object is being copied.<br>
>> OLD objects may not be pasted into a text editor as plain text.<br>
>><br>
>> On Fri, Apr 27, 2018 at 4:30 PM, Gilles Caulier<br>
>> <<a href="mailto:caulier.gilles@gmail.com">caulier.gilles@gmail.com</a>> wrote:<br>
>> > There is no reason to see a failure while copy and paste under Windows.<br>
>> > We<br>
>> > use Qt MimeData encapsulation to clipboard and it must be portable.<br>
>> ><br>
>> > Or perhaps we have a default encoding problem as explained here :<br>
>> ><br>
>> ><br>
>> > <a href="https://stackoverflow.com/questions/47443545/cut-and-paste-clipboard-exchange-between-qt-application-and-windows-explorer" rel="noreferrer" target="_blank">https://stackoverflow.com/<wbr>questions/47443545/cut-and-<wbr>paste-clipboard-exchange-<wbr>between-qt-application-and-<wbr>windows-explorer</a><br>
>> ><br>
>> > Just to be sure, go to "Help/Components Info" dialog for DK, and press<br>
>> > "Copy<br>
>> > to Clipboard" button. Look if clipboard can be copied to a text editor.<br>
>> ><br>
>> > Gilles Caulier<br>
>> ><br>
>> > 2018-04-27 15:02 GMT+02:00 Sky Diver <<a href="mailto:skydivergm@gmail.com">skydivergm@gmail.com</a>>:<br>
>> >><br>
>> >> Thank you rutile.<br>
>> >><br>
>> >> @Gilles Caulier, evidently the behavior is not consistent across<br>
>> >> platforms.<br>
>> >> I tried pasting the copied file into Windows Explorer (file system UI,<br>
>> >> similar to Nautilus for example) and the physical file is being<br>
>> >> pasted.<br>
>> >><br>
>> >> Are you familiar with a different way to copy the entire path to<br>
>> >> clipboard?<br>
>> >> If not, then what's the correct way of turning this into a<br>
>> >> feature-request?<br>
>> >><br>
>> >> Thank you.<br>
>> >><br>
>> >> On Fri, Apr 27, 2018 at 12:52 AM, rutile <<a href="mailto:rutile@gmail.com">rutile@gmail.com</a>> wrote:<br>
>> >> > Linux, 5.8.0<br>
>> >> ><br>
>> >> ><br>
>> >> ><br>
>> >> > --<br>
>> >> > Sent from:<br>
>> >> > <a href="http://digikam.1695700.n4.nabble.com/digikam-users-f1735189.html" rel="noreferrer" target="_blank">http://digikam.1695700.n4.<wbr>nabble.com/digikam-users-<wbr>f1735189.html</a><br>
>> ><br>
>> ><br>
><br>
><br>
</div></div></blockquote></div><br></div>