Share for the messenger - sending picture (#70)
Artur Hefczyc opened 1 decade ago

Attaching messenger to share function to send a picture to a friend.

Artur Hefczyc commented 1 decade ago

Some testing thoughts in random order:

  1. Tried to send a picture from Adium - desktop client to Messenger - failed with an error message in Adium - the client does not support sending files

  2. The same happens when I try to send a picture from Psi to Messenger

  3. Sending picture from Messember to Adium - full success, although one minor problem - the file was written without extension, so we have no way of knowing whether this is a picture or not. Not sure whether this is a Adium issue, Messenger or protocol

  4. Would like to have an option to select which resource to send the picture to..., looks like now it sends requests to all resources - not too bad idea actually

  5. Would be wonderful to have an option inside the Tigase - send/share a photo, I would see this on either on the menu if you hold on the contact for some time or inside a chat view

Artur Hefczyc commented 1 decade ago

Also, one important part, not mentioned before about this photo sharing is user interaction. So we have here sending and receiving side.

  1. For the sending side I would like to have an option inside the client to share a picture. One of possible places would be the menu showing after pressing and holding on the roster contact. We could add an option "send a picture..." or "send a photo..." element to the menu. Alternatively or additionally it would be also very useful to have such option from a chat view. Let's say we chat with somebody and we want to send/share a picture (or a file) with this person. Then we would need a quick way to do it.

  2. For receiving side. There should be a dialog showing to the user asking whether he accepts the file/photo transfer. And then when the transfer is complete the photo should be displayed automatically on the phone.

Andrzej Wójcik (Tigase) commented 1 decade ago
  1. For now Messenger is able only to send picture to other clients. Implementation of receiving file transfer is in issue #438.

  2. Messenger looks for best resource (highest priority) with capabilities to receive file.

  3. Adding action in contact context menu to send file is possible, but this menu is getting bigger and bigger. I would rather add this action inside chat view.

  4. Accepting/receiving transfers is in other issue #438

Artur Hefczyc commented 1 decade ago

Ok, receiving is another topic then. So we are left with following remarks:

  1. Sending picture from Messember to Adium - full success, although one minor problem - the file was written without extension, so we have no way of knowing whether this is a picture or not. Not sure whether this is a Adium issue, Messenger or protocol

  2. Would like to have an option to select which resource to send the picture to..., looks like now it sends requests to all resources - not too bad idea actually

  3. Would be wonderful to have an option inside the Tigase - send/share a photo, I would see this on either on the menu if you hold on the contact for some time or inside a chat view

As for the menu getting bigger - you are correct. However, I believe sharing photo is one of the key features making us different from other mobile chat applications. This needs to be easily accessible and noticeable. Let's put it in the menu for now. We will reconsider it again for the next version to see how it works for users.

Artur Hefczyc commented 1 decade ago

Andrzej Wójcik wrote:

Messenger looks for best resource (highest priority) with capabilities to receive file.

Let's make the client send to the connection with the our mobile client as a default one if this connection priority is greater than 0. If there is no connection for the mobile client or the priority is 0 or less, then use current algorithm for selecting resource to send a file to.

We want people to use our software first of all.

Artur Hefczyc commented 1 decade ago

When I send a file (Photo from gallery) I select a buddy from the roster. Currently the client starts the transfer right away.

I think a better way would be to display a dialog window or something like this with information of exact JID we are sending the file to (with resource part), if possible also information what client is on the other side. Plus, ideally, it could provide a list of all connections for the user and allow to select one.

Perhaps it could just display a view with all user's connections with information about resource (and maybe the client software on other side), highlighting default element. And then we could just hit OK or select a different connection to send the file.

Andrzej Wójcik (Tigase) commented 1 decade ago

I changed how client reacts on selecting buddy. By default it looks for best resource to send photo but if you long-press on buddy you will get menu with list of resources to which client can send photo.

Artur Hefczyc commented 1 decade ago

Works for me.

issue 1 of 1
Type
New Feature
Priority
Normal
Assignee
RedmineID
437
Version
One
Issue Votes (0)
Watchers (0)
Reference
tigase/_clients/stork#70
Please wait...
Page is in error, reload to recover