#9657 NORM 1.5-sof: Journal Entry storage / sharing via USB stick doesn't work
Zarro Boogs per Child
bugtracker at laptop.org
Sat Dec 5 15:50:59 EST 2009
#9657: Journal Entry storage / sharing via USB stick doesn't work
----------------------------------------+-----------------------------------
Reporter: martin.langhoff | Owner: martin.langhoff
Type: defect | Status: assigned
Priority: normal | Milestone: 1.5-software-final
Component: journal-activity | Version: Development build as of this date
Resolution: | Keywords:
Next_action: review | Verified: 0
Deployment_affected: | Blockedby:
Blocking: |
----------------------------------------+-----------------------------------
Changes (by martin.langhoff):
* cc: dsd (added)
* owner: tomeu => martin.langhoff
* next_action: diagnose => review
* status: new => assigned
Comment:
Ok -- I have 4 patches that fix this up so that we DTRT. There are still 2
UI glitches
- 0001-Removable-disk-Save-metadata-and-preview-dlo-9657.patch
- 0002-Removable-disk-read-json-formatted-.metadata-and-.pr.patch
- 0003-Removable-disk-Handle-renames-dlo-9657.patch
- 0004-Removable-disk-delete-preview-and-metadata-dlo-9657.patch
With this
- We save the files with their correct metadata
- Read the metadata back, display it, copy it correctly into the DS, and
search descriptions/tags if the user runs a search
- Renames and removes are handled correctly on-disk (metadata/preview
files are renamed or removed
The results are not perfect, as we have UI glitches -- on delete the file
listing doesn't remove the file 'collapsedentry'; on rename, the new name
is shown until you touch the scrollbar.
To fix those UI glitches we need to issue a message to the
InplaceResultSet instance somehow... except that we don't have a handle to
it. I also attempted to do something like
http://git.sugarlabs.org/projects/sugar/repos/mainline/commits/b0113bf67c31dbeaa08cf0f1710c1be8d02a9b25
which sure looks right, but didn't work for me.
Triggering these actions from the UI widget objects makes it all overly
confusing to a newcomer like me. The ocassional dbus message makes it even
more entertaining.
In any case, the patches bring the backend behaviour to correctness. With
some help we can also address the UI glitches (or punt and deal with them
with later).
--
Ticket URL: <http://dev.laptop.org/ticket/9657#comment:5>
One Laptop Per Child <http://laptop.org/>
OLPC bug tracking system
More information about the Bugs
mailing list