[Sugar-devel] Starting a new web activity : problem when closing activity, and with icon design

Iain Brown Douglas iain at browndouglas.plus.com
Wed Dec 10 07:07:31 EST 2014


On Wed, 2014-12-03 at 19:42 +0100, laurent bernabe wrote:
> Hi
> 
> 
> I am aware this could be the solution.
> Meanwhile, I would like to use a custom icon, as the idea behind the
> icon I designed is more related to my activity.
> 
> 
> In fact :
>      1. In a first time, I used black lines for the cell lines, and
>         blue/red colors for circles and crosses
>      2. I replaced all tokens fill color (circles and crosses) by
>         green color
>      3. Then I tried to follow the sugar icon guidelness, replacing
>         black color with stroke-color entity, and green color with
>         fill-color entity, first manually, then removing all changes
Hi Laurent,

Did you try opening your .svg in a text editor to look for clues? 

Iain

>      1. and trying with sugariconify script instead.


> So my guess is that I did the wrong choice for fill and stroke colors,
> when creating entities.


> 
> Regards
> 
> 2014-12-03 11:50 GMT+01:00 Iain Brown Douglas
> <iain at browndouglas.plus.com>:
>         You could eliminate that by substituting a known working .svg
>         borrowed
>         from another activity.
>         
>         Iain
>         On Wed, 2014-12-03 at 11:16 +0100, laurent bernabe wrote:
>         > My intuition is that I've misued stroke and fill entities,
>         though I
>         > processed the icon with the sugariconify script.
>         > Indeed, in Sugarizer, my activity icon is different than the
>         others
>         > (screenshot provided).
>         >
>         >
>         > Regards
>         >
>         > 2014-12-03 1:00 GMT+01:00 laurent bernabe
>         <laurent.bernabe at gmail.com>:
>         >         Hi,
>         >
>         >
>         >         I've replaced the content of
>         >
>          <sugar-build>/activities/simple-tictactoe-activity/lib/sugar-web folder with the <sugar-build>/activities/ActivityTemplate/lib/sugar-web folder.
>         >         But I still can't close my application with the stop
>         button.
>         >
>         >
>         >         Even after having restarted the chrome navigator
>         (keeping the
>         >         flag --allow-access-from-files).
>         >
>         >
>         >         Regards
>         >
>         >         2014-12-02 19:04 GMT+01:00 Lionel Laské
>         >         <lionel at olpc-france.org>:
>         >                 It's a nice first start.
>         >                 Now replace your lib/sugar-web directory
>         with the one
>         >                 from lib/ActivityTemplate directory.
>         >                 It should work.
>         >
>         >
>         >                           Lionel
>         >
>         >                 2014-12-02 11:04 GMT+01:00 laurent bernabe
>         >                 <laurent.bernabe at gmail.com>:
>         >                         Hi again,
>         >
>         >
>         >                         Restarting my computer, I was
>         finally able to
>         >                         run sugarizer in my chrome instance.
>         >                         Meanwhile, I can't close my
>         application
>         >                         (Simple Tic Tagardsc Toe).
>         >
>         >
>         >                         regards
>         >
>         >                         2014-12-01 18:42 GMT+01:00 laurent
>         bernabe
>         >                         <laurent.bernabe at gmail.com>:
>         >                                 I am just using the
>         "modified" chrome
>         >                                 instance (with allow access
>         from
>         >                                 file), but I am still
>         getting the same
>         >                                 errors in the navigator
>         console.
>         >
>         >
>         >
>         >
>         >                                 Regards
>         >
>         >                                 2014-12-01 15:57 GMT+01:00
>         Lionel
>         >                                 Laské
>         <lionel at olpc-france.org>:
>         >
>         >
>         >                                         2014-12-01 15:25 GMT
>         +01:00
>         >                                         laurent bernabe
>         >
>          <laurent.bernabe at gmail.com>:
>         >
>         >
>         >                                                 So it seems
>         that the
>         >                                                 option is
>         not taken
>         >                                                 into account
>         from my
>         >                                                 Chrome
>         instance.
>         >                                                 I will look
>         for
>         >                                                 another way
>         (like in
>         >
>          settings:// ?) to set
>         >                                                 this option.
>         >
>         >
>         >                                         Ensure that no other
>         instance
>         >                                         is running. If one
>         instance is
>         >                                         running, it's not
>         possible to
>         >                                         start one another
>         with another
>         >                                         setting.
>         >
>         >
>         >                                                 Lionel.
>         >
>         >
>         >
>         >
>         >                                 --
>         >                                 Laurent Bernabé
>         >
>         >
>         >                                 laurent.bernabe at gmail.com
>         >
>         >
>         >
>         >
>         >                         --
>         >                         Laurent Bernabé
>         >
>         >
>         >                         laurent.bernabe at gmail.com
>         >
>         >
>         >
>         >
>         >
>         >
>         >         --
>         >         Laurent Bernabé
>         >
>         >
>         >         laurent.bernabe at gmail.com
>         >
>         >
>         >
>         >
>         > --
>         > Laurent Bernabé
>         >
>         >
>         > laurent.bernabe at gmail.com
>         > _______________________________________________
>         > Sugar-devel mailing list
>         > Sugar-devel at lists.sugarlabs.org
>         > http://lists.sugarlabs.org/listinfo/sugar-devel
>         
>         
> 
> 
> 
> 
> -- 
> Laurent Bernabé 
> 
> 
> laurent.bernabe at gmail.com
> _______________________________________________
> Sugar-devel mailing list
> Sugar-devel at lists.sugarlabs.org
> http://lists.sugarlabs.org/listinfo/sugar-devel




More information about the Sugar-devel mailing list