Ticket #1675 (closed defect: fixed)
Opened 2013-03-14T10:15:34-05:00
Last modified 2013-04-16T16:50:00-05:00
IOService enhancement needed for drag and drop
Reported by: | bdezonia | Owned by: | curtis |
---|---|---|---|
Priority: | major | Milestone: |
|
Component: | I/O | Version: | |
Severity: | serious | Keywords: | |
Cc: | Blocked By: | ||
Blocking: | #860 |
Description (last modified by bdezonia)
The drag and drop code (on drag-and-drop branch) treats all Files unclaimed by any handler as an image. This can result in exception errors. Ideally the ImageFileDragAndDropHandler would ask the IOService if the given file is an image file before accepting it. The IOService would need to be able to figure this out in a timely fashion. Maybe just by file extension. The service could have a default mode (extension checking only) and a thorough mode (try opening file and reading header if needed).
Change History
comment:3 Changed 2013-04-15T10:00:10-05:00 by bdezonia
- Owner changed from hinerm to curtis
- Status changed from new to reviewing
ctrueden is working on DND and this problem right now. assigning to him.
comment:4 Changed 2013-04-15T10:00:28-05:00 by bdezonia
- Milestone changed from imagej2-unscheduled to imagej2-b7-ndim-data
comment:6 Changed 2013-04-15T10:02:50-05:00 by curtis
- Status changed from reviewing to accepted
This is done on the drag-and-drop branch. (Specifically, it is addressed in commit 4fef79c0.) When that branch is merged, I will close this ticket. There are still a few bugs to iron out first, though.