Jonas Sicking wrote:
L. David Baron wrote:
* (maybe) ability to copy/paste file names (via context menu?)
I'd avoid 'paste' at this point since there are security concerns. I.e.
if you can get the user to copy the string '/etc/passwd' and then paste
it to the right place.
I am not sure about other platforms, but on the Mac, when one drops a
file, it is not just putting the file name into the pasteboard. It
actually puts several representations of the file onto the drag
pasteboard (which is separate from the cut-and-pasteboard AFAIK), and
the receiver picks out what they are able to deal with.
So, drop a file icon onto a TextEdit document (in plain text mode), and
you get a file name. This is TextEdit's choice. Several information-rich
alternatives are being ignored by TextEdit here.
If a file icon is being dragged onto something for this feature, I think
that there would be enough information available to determine a bunch of
things about the file. There should be enough there to allay concerns
about security.
So, it is not just like "getting the user to type /etc/passwd into a box."
cheers - ray
Same thing with drag'n'drop support.
I'm not saying we shouldn't look at these features at some point,
however it seems like a good idea to stay away from controversial 'new'
features at this point.
/ Jonas
_______________________________________________
dev-tech-layout mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-layout