[Sugar-devel] Sugarizer Activity Set - GSOC 2016

James Cameron quozl at laptop.org
Sun Mar 13 23:09:07 EDT 2016


Out of synchronisation is mismatch between button state and moon
image.  It happens on first click with empty cache or fresh browser
instance.  It does not happen on page refresh.

Reproducer:

1.  start Firefox and open
http://zhirzh.github.io/sugarizer-activity-moon/

2.  wait for loading to complete,

3.  click once in the Toggle Hemisphere View button,

Expected result: both the button and moon image should change state.

Observed result: only the button changes state.

4.  click again in the Toggle Hemisphere View button,

Observed result: both the button and moon image change state.

On Fri, Mar 11, 2016 at 06:22:44PM +0530, Shirsh Zibbu wrote:
> Okay. I've just finished figuring out the causes of the problems:
> 
>   • timezone problem is happening because js [1]Date() works with local
>     timezone, unless explicitly told to use GMT. needs some time, since
>     'daylight saving' can also become an issue
> 
>   • i haven't yet implemented compass and legend. will do in the following
>     days.
> 
>   • i do not understand what you meant by 'out of
>     synchronisation'. i believe it means the button shows activated, even when
>     the moon is not flipped (or vice versa). I hope I got that right. (more
>     screenshots?)
> 
>   • the problem with Sugar Browse is due to the fact that I am using css
>     transforms to center the canvas. apparently, some css features do not
>     work everywhere. will switch to js for centering.
> 
> if any more problems pop up, please do tell me. i'd happy to correct them.
> *
> 
> On Fri, Mar 11, 2016 at 4:52 AM, James Cameron <[2]quozl at laptop.org> wrote:
> 
>     Your link is too long to copy and paste, but this link works fine:
> 
>             [3]http://zhirzh.github.io/sugarizer-activity-moon/
> 
>     I've tested using Firefox-45 on Ubuntu 14.04:
> 
>     1.  the data is offset from current date and time by several hours,
> 
>     (the today's moon information, next full moon, new moon, lunar
>     eclipse, and solar eclipse times are presented as GMT+1100 (AEDT) yet
>     the dates and times are exactly the same as the Moon activity on an XO
>     laptop, which presents them as GMT, see attached screenshots,)
> 
>     2.  there is no compass direction marker or latitude longitude colour
>     legend when grid view is enabled,
> 
>     3.  the toggle hemisphere view toggle button may become out of
>     synchronisation with the displayed image,
> 
>     I've also tested using Sugar Browse from git on Fedora 18 using an XO
>     laptop; the moon does not fit, see last of the attached screenshots.
> 
>     Good progress.
> 
>     On Fri, Mar 11, 2016 at 04:20:49AM +0530, Shirsh Zibbu wrote:
>     > *
>     > I have made some major progress in the past week in the project Sugarizer
>     > Activity Set. To be precise, I have been porting Moon activity. I have
>     prepared
>     > a [1]demo for the same.
>     >
>     > I would like to know other's opinions, especially the project mentor, sir
>     > Lionel Laské and sir Michaël Ohayon, regarding my current work and what
>     all
>     > changes are needed.
>     >
>     > References:
>     >
>     > [1] [4]http://t.sidekickopen46.com/e1t/c/5/
>     f18dQhb0S7lC8dDMPbW2n0x6l2B9nMJW7t5XZs4WrKXjN8q-6Y2dnqP2VRzDdF56dC9ff6Yjdzx02?
>     t=http%3A%2F%2Fzhirzh.github.io%2Fsugarizer-activity-moon%2F&si=
>     5100779840208896&pi=9738b7b8-0b1c-4a15-e4f2-9d8e700508b2
> 
>     > _______________________________________________
>     > Sugar-devel mailing list
>     > [5]Sugar-devel at lists.sugarlabs.org
>     > [6]http://lists.sugarlabs.org/listinfo/sugar-devel
>    
> 
>     --
>     James Cameron
>     [7]http://quozl.netrek.org/
> 
> References:
> 
> [1] http://t.sidekickopen46.com/e1t/c/5/f18dQhb0S7lC8dDMPbW2n0x6l2B9nMJW7t5XZs4WrKXjN8q-6Y2dnqP2VRzDdF56dC9ff6Yjdzx02?t=https%3A%2F%2Fdeveloper.mozilla.org%2Fen%2Fdocs%2FWeb%2FJavaScript%2FReference%2FGlobal_Objects%2FDate&si=5100779840208896&pi=229fc1f0-7077-4812-b483-e132a0e3741b
> [2] mailto:quozl at laptop.org
> [3] http://zhirzh.github.io/sugarizer-activity-moon/
> [4] http://t.sidekickopen46.com/e1t/c/5/f18dQhb0S7lC8dDMPbW2n0x6l2B9nMJW7t5XZs4WrKXjN8q-6Y2dnqP2VRzDdF56dC9ff6Yjdzx02?t=http%3A%2F%2Fzhirzh.github.io%2Fsugarizer-activity-moon%2F&si=5100779840208896&pi=9738b7b8-0b1c-4a15-e4f2-9d8e700508b2
> [5] mailto:Sugar-devel at lists.sugarlabs.org
> [6] http://lists.sugarlabs.org/listinfo/sugar-devel
> [7] http://quozl.netrek.org/

-- 
James Cameron
http://quozl.netrek.org/


More information about the Sugar-devel mailing list