<div dir="ltr"><div dir="ltr"><div class="gmail_default" style="font-size:large">oops, there's a bug in that code where if there are no views saved so it makes 1 view for the Desktop folder and i forgot to add 'As "View"' to the fallback control creation. so clicking/dbl-clicking icons only fires events if you have saved the settings.<br></div><div class="gmail_default" style="font-size:large">It does not seem to affect the MouseMove event though as d-n-d was still functional. (oddly)<br></div><div class="gmail_default" style="font-size:large"><br></div><div class="gmail_default" style="font-size:large">(Note, that's just a bug in my code though and not the reason for the error reported, still got the gtk d-n-d problem)<br></div></div><div><div style="font-size:large" class="gmail_default"><br></div><div style="font-size:large" class="gmail_default">Also I've tried many ways to get it working so the Drag code may not look correct any more.</div><div style="font-size:large" class="gmail_default">It started as a String[] without any formatting getting passed to Drag() as you'd expect. <br></div><div style="font-size:large" class="gmail_default">then i tried adding file:// ,, making path a properly formatted Url() string., using a .gb.CrLf separated String.<br></div><div style="font-size:large" class="gmail_default">all to no avail.</div><div style="font-size:large" class="gmail_default"></div><div style="font-size:large" class="gmail_default">Thank you for investigating :)</div><div style="font-size:large" class="gmail_default">Respects</div><div style="font-size:large" class="gmail_default">BruceS</div><br></div><div><br></div><div><br></div><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, 9 Jan 2023 at 13:02, Bruce Steers <<a href="mailto:bsteers4@gmail.com">bsteers4@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr"><div style="font-size:large"><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, 8 Jan 2023 at 21:03, Benoit Minisini <<a href="mailto:benoit.minisini@gambas-basic.org" target="_blank">benoit.minisini@gambas-basic.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Le 08/01/2023 à 21:39, Benoit Minisini a écrit :<br>
> Le 08/01/2023 à 21:39, Benoit Minisini a écrit :<br>
>> Le 08/01/2023 à 02:40, Bruce Steers a écrit :<br>
>>> We need a way to add more (or less) formats to a drag operation and <br>
>>> not just be allowed to set one.<br>
>>> (maybe)<br>
>>><br>
>>> I'm having trouble with gtk d-n-d in my application.<br>
>>> I cannot drag to MATE panel with gtk but i can if i use qt5<br>
>>> I assume it's because of the Format's being sent.<br>
>>><br>
>>> I set up my editor to report the Format , the Formats[] and the <br>
>>> Drag.Paste("text/uri-list") results<br>
>>><br>
>> Â > ...<br>
>><br>
>> It seems to be a bug in GTK+...<br>
>><br>
> <br>
> I mean: in the GTK+ component.<br>
> <br>
<br>
I can't reproduce any problem. Can you post a project that shows me?<br>
<br></blockquote><div><br></div><div style="font-size:large">sure.</div><div style="font-size:large">I've been re-writing my desktop-ish thing from the ground up. (actually desktop-ish has this same bug)<br></div><div style="font-size:large"><br></div><div style="font-size:large">the drag event is in Icon.class View_MouseMove</div><div style="font-size:large"></div><div style="font-size:large">it'll load a window with your Desktop.Path you can drag files from the application as uri-list to MATE panel with QT, but not GTK, gtk.</div><div style="font-size:large"><br></div><div style="font-size:large"><br></div><div style="font-size:large">(program is not very functional yet, just working on the layout at present)<br></div><div style="font-size:large"><br></div><div style="font-size:large">Respects</div><div style="font-size:large">BruceS</div><div style="font-size:large"><br></div></div></div>
</blockquote></div></div>