[sugar] EduBlog Image upload issue
Greg Smith
gregsmitholpc at gmail.com
Thu Jul 17 13:08:41 EDT 2008
Hi Tarun,
I'm not sure that option 2 will work. I'm not optimistic :-(
Tomeu said he will try to look at this weekend. Hopefully he can comment
or help direct you.
We're in deep trouble here so I'm relaxing the no changes to XO position.
Changes to any activity that are well bounded and don't break anything
else are fine.
I think file choose is broken in write and browse in 656 as far as I can
tell. I will confirm with Mirela ASAP but until I hear otherwise the
challenge is paste.
The option 4 sounds promising but tough. Nonetheless, if you can solve
this via server side only that would be a huge win.
HTHs.
Still top priority aside from getting the Server back online which I
will handle with Tony.
Thanks,
Greg S
Tarun Pondicherry wrote:
> Hi Greg,
>> Once we nail that (hope winning plan is set by Friday!)
> I think Friday is a very optimistic date =/. In any case, I'm wondering
> how much of a change this can be. Initially, we were going to avoid any
> client side changes, so I am wondering what kind of changes to the xo
> code is off limits.
>> Option 2 - Tarun implements file upload that picks up write documents
>> without the journal
> Are you sure this would fix the issue? If the the file chooser is only
> broken in browse and not Write, then I think we are up against a bug
> inside one of Browse's libraries that does the actual file upload. If
> the issue is the ObjectChooser class in sugar.graphics, then all file
> choosing (Write, Browse anything) should have an issue, right? In this
> case it may be possible to circumvent that class and get a workaround,
> once I figure out how things are structured. I can't reproduce the
> error on my 656, so more information on how/when/where it is breaking
> would be very helpful. Its very hard for me to guarantee feasibility on
> this issue, since I have little experience with sugar and am not 100%
> sure I understand the problem.
>
> Also, we have an option 4. FF3's editor will accept paste from xhtml
> with embedded images, and assuming the rendering engine in Browse is
> based on a fairly recent build of that, it should accept it too. We can
> relink the python code in Write to a new copy function (or add a new
> copy for blog option) and ensure the clipboard has data that FF3's
> editor will accept. One hitch I am unsure of is if ctrl+c, and ctrl+v
> actually do something more than use sugar's clipboard (ie use a native
> linux/gnome clipboard as well that firefox is getting the data from). I
> am suspicious because I can't paste with ctrl+v when I use the copy
> buttons in the toolbars. I'm unsure if its an issue with the type of
> data or something else.
>
> I'm hoping someone more knowledgeable than me can comment more on if
> this either of these options is possible and may fix the issue or could
> point me in the right direction.
>
> Thanks,
> Tarun
>
>
More information about the Sugar
mailing list