[Psi-devel] Dropping JIDs (Was Re: Bug/Missing feature)
sneakin at semanticgap.com
Mon Aug 29 12:06:00 PDT 2005
-----BEGIN PGP SIGNED MESSAGE-----
Robert Martinez wrote:
| I don't have any idea about how to code or what goes on in your heads
| when you code, but i can tell you what i was just thinking about:
| What if all drag'n'drop actions would fully support plaintext JIDs?
In my MUC branch I created a drag object for JIDs. It's based off of the
text drag object mainly because I didn't want to redo all the unicode
en/decoding. It can hold more than one JID too.
| I recently found out that when i drag a contact out of my roster into
| firefox or openoffice.org it pastes the corresponding JID
| why can't it work the other way round? imagine you select a text on a
| webpage or a document and just drag it into your roster to add a
| contact. And supposing you already have that JID authorized in your
| roster you open a new chatwindow by dragging the JID.
We probably haven't coded for that. It would be a matter of detecting
the drop and decoding the data from the drop object. That would be a
nice little feature to have. I wouldn't make it a priority though. On
the other hand we could get this for free if the contact view's drag and
drop handling checked to see if the JID existed or not...but that also
introduces a problem: I drag "bob at smith.com" from FF and drop him into
my "Bobs" group. bob at smith.com is already in my "Smiths" group, what do
we do? Does Bob get moved or do we open a chat window? To do the latter
we'll need to check the source of the drag. Either way we're searching
to see if Bob is there.
- - Nolan
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
-----END PGP SIGNATURE-----
More information about the Psi-devel-affinix.com