Re: Final fileselector DnD patch



On Fri, 7 Sep 2001, Christopher Blizzard wrote:

> Alex Larsson wrote:
> 
> > On Fri, 7 Sep 2001, Christopher Blizzard wrote:
> > 
> > 
> >>Vlad Harchev wrote:
> >>
> >>
> >>> And text/uri-list - who uses it? Mozilla? And what about KDE world - have you
> >>>investignated?
> >>>
> >>>
> >>No, not at this point.  I need to go and finish support for those types. 
> >>  I think that we support _NETSCAPE_URL and only barely.
> >>
> > 
> > No you dont.
> > 
> > text/x-moz-url
> > _NETSCAPE_URL
> > text/unicode
> > text/plain
> > text/html
> > leave
> > drop
> > Received "f" in trashcan
> 
> 
> Most of those are internal mozilla types.  The text/unicode is some 
> strange internal 16bit wide character thing.  text/html and text/plain 
> probably work as expected.  text/x-moz-url is definitely internal.

 No, text/html is also internal 16bit wide character thing too (stored without 
byte order mark.. That is totally broken - nobody can support text/html
properly since they have to guess whether it's Mozilla (and chars are in
UCS-2) or whether it's in some multibyte encoding..
 Or change the target name to "text/html;charset=iso10646-1" from "text/html"

> 
> > 
> > It should have recieved "file:///usr/share/doc/HTML/index.html"
> > 
> > Seems like a bug somewhere in the _NETSCAPE_URL support.
> 
> Yes, there are bugs in that code.  I need to revisit it.

 While you'll be in, please mark all drags of single hyperlink (i.e. not a
selected region of text in mozilla) with some special target type - currently
mozilla will send it as HTML as region (it's broken - to support such drops
from mozilla, app should parse each text/html drop and count a number of <a>
elements, and if it's == 1, treat is as file drop too).

 Best regards,
  -Vlad





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]