Bug 292451

Summary: add preview in text-ui for common media files
Product: [Frameworks and Libraries] telepathy Reporter: Alin M Elena <alinm.elena>
Component: text-uiAssignee: Telepathy Bugs <kde-telepathy-bugs>
Status: CONFIRMED ---    
Severity: task CC: kde
Priority: NOR    
Version: git-latest   
Target Milestone: Future   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:

Description Alin M Elena 2012-01-26 11:04:50 UTC
Version:           git-latest (using Devel) 
OS:                Linux

[10:59] <alin> drdanz: your file transfer thing... do you think we can make it smarter?
[11:00] <alin> drdanz: if somebody sends me a file, image, video, audio and I have a chat tab open with that person... give me the chance to see the picture, see the video or play the sound embedded in the text-ui?
[11:01] <mck182> that could be an interesting gsoc

Reproducible: Didn't try



Expected Results:  
.....

OS: Linux (x86_64) release 3.2.0-4-desktop
Compiler: gcc
Comment 1 David Edmundson 2013-03-19 23:03:19 UTC
Expanding this into a real TODO list.

text-ui would need to act as an observer on all file transfers.
It can then show transfers, act also as an approver and show a completion when done.

One hard is part is implementing this with the themes.. which is always difficult.

Need FT to work 100% first.

Tasks: 
 - decide how this would work in terms of themes
 - make the the text-ui client registrar take two channels and match targetContacts to the relevant window. For now acting as an additional approver. An observer has access to the ChannelDispatchOperationPtr so it should be a copy and paste job. Hard part is making the UI from telepathy-chat-ui to ChatWidget not really messy.
 - we also need to remove the current horrible file transfer tracking code that is used for drag & drop. It clutters ChatWidget..removing temp files does not belong here.