wiki:BASE_DND_R2

Version 3 (modified by todor, 16 years ago) (diff)

--

Error: Macro BackLinksMenu(None) failed
compressed data is corrupt

Error: Macro TicketQuery(summary=BASE_DND_R2, format=table, col=summary|owner|status|type|component|priority|effort|importance, rows=description|analysis_owners|analysis_reviewers|analysis_score|design_owners|design_reviewers|design_score|implementation_owners|implementation_reviewers|implementation_score|test_owners|test_reviewers|test_score|) failed
current transaction is aborted, commands ignored until end of transaction block

Analysis

(Give as much as possible of the needed information for designing and implementing the task in the following sections.)

Overview

Drag and drop aims to provide seamless and intuitive integration between Sophie2 and other applications. This way importing and exporting different files (resources) is going to be easier and more user friendly.There are three basic kinds of drag and drop behavior:

  • In Sophie application
    • Dragging a resource to book or book desktop should create frame with the corresponding content (e.g. dragging image resource should create an image frame to the location where the image is dropped).
    • User should be able to embed a book by dragging book from open books palette to the current book.
    • When not appropriate action is executed (e.g. trying to embed a book in itself) message warning for the inappropriate must be evoked.
      • The user should be able to turn off this kind of messages (something like checkbox for "Do not show this message anymore" could be used).
      • In case that the messages are forbidden by the user, inappropriate drag and drop must have no visible results.
  • From Sophie to other application/desktop
    • Drag and drop outside Sophie must be available only for the resources (drag and drop outside Sophie must be available only from the resources palette)
    • An item dragged from Sophie resources to program that is able to open such file should result in opening this resource. (e.g. If you drag an image from Sophie resources and drop it in Gimp the result must be like dragging and dropping an image from your desktop to Gimp, namely the image is loaded in Gimp.)
    • This behavior should be consistent and with other types of resources. (Dragging video frame from Sophie resources to vlc palyer, should result in playing the video, dragging and dropping text resource in text editor like notepad, should behave like dragging and dropping a text file from your desktop to notepad (if the editor supports formatting, it should be preserved).)
    • However here we should consider if there won't be legal issues with authors of books who don't want the resources they use in the book to be available as standalone resources.
  • From other application/desktop to Sophie.

Task requirements

(List the necessary requirements that the task must fulfill.)

Task result

(List the end product of the task (for example "Source code", "Wiki page", etc.))

Implementation idea

(Provide some rough implementation idea(s).)

(Add links to related tasks that could be useful or helpful.)

How to demo

(Provide instructions for demonstration of the task.)

Design

(Describe your design here.)

Implementation

(Describe and link the implementation results here (from the wiki or the repository).)

Testing

(Place the testing results here.)

Comments

(Write comments for this or later revisions here.)