Bug 288561 - Support drag and drop file transfer from text-ui
Summary: Support drag and drop file transfer from text-ui
Status: RESOLVED FIXED
Alias: None
Product: telepathy
Classification: Unmaintained
Component: text-ui (show other bugs)
Version: git-latest
Platform: Unlisted Binaries Linux
: NOR wishlist
Target Milestone: Future
Assignee: Rohan Garg
URL:
Keywords: junior-jobs
Depends on:
Blocks:
 
Reported: 2011-12-09 13:06 UTC by Daniele E. Domenichelli
Modified: 2012-07-15 15:01 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Daniele E. Domenichelli 2011-12-09 13:06:56 UTC
We should support drag and dropping a file in the text box to start a file transfer
Comment 1 David Edmundson 2011-12-09 13:54:06 UTC
It should offer a choice of "send as as link" (i.e paste the URL) or "send as file". Otherwise it will behave oddly when dragging things from a web browser.
Comment 2 Martin Klapetek 2012-01-09 15:45:32 UTC
Not done in time for 0.3, reassigning it to 0.4.
Comment 3 Elias Probst 2012-07-13 14:45:44 UTC
It should not be only possible to drop to the text-input field, but also to the conversation view in text-ui.

When dropping it onto the conversation view:
→ Start the file transfer
When dropping it into the text input:
→ Ask:
  → Insert filepath
  → Send file to contact
Comment 4 Elias Probst 2012-07-13 14:46:52 UTC
It looks like KMail dropped the menu asking whether to insert the path or to attach the file and just attaches a file to a mail.

Should KTP text-ui behave consistently at this point and simply do what KMail does?
Comment 5 Martin Klapetek 2012-07-13 14:52:50 UTC
I think so. Also inserting a local file url seems useless imho as the other side can't open it anyway.
Comment 6 Daniel Vrátil 2012-07-15 15:01:53 UTC
Git commit c8bd0c41bfdd38f09d10a16b0b37f14d48e9df99 by Dan Vrátil.
Committed on 15/07/2012 at 17:02.
Pushed by dvratil into branch 'master'.

Support drag and drop file transfer

REVIEW: 105511

M  +2    -0    app/main.cpp
M  +114  -0    lib/chat-widget.cpp
M  +5    -0    lib/chat-widget.h

http://commits.kde.org/telepathy-text-ui/c8bd0c41bfdd38f09d10a16b0b37f14d48e9df99