Openmoko Bug #1863: illume-config package does not provide the spanner/wrench

Openmoko Public Trac bugs at docs.openmoko.org
Wed Aug 27 09:48:44 CEST 2008


#1863: illume-config package does not provide the spanner/wrench
---------------------------+------------------------------------------------
    Reporter:  Yorick      |        Owner:  raster  
        Type:  defect      |       Status:  closed  
    Priority:  normal      |    Milestone:  Om2008.8
   Component:  E - Illume  |      Version:  GTA02v5 
    Severity:  normal      |   Resolution:  invalid 
    Keywords:              |    Blockedby:          
Reproducible:  always      |     Blocking:          
---------------------------+------------------------------------------------
Changes (by raster):

  * status:  reopened => closed
  * resolution:  => invalid


Comment:

 it's not possible. the wrench is part of a list of gadgets to show - that
 list is held in the users config - as that list is re-using e's internal
 gadget infrastructure to allow users to add/remove gadgets that either e
 or modules etc. provide. ASU simply covered it up by hacking a theme -
 theme shouldn't determine the contents of your gadgets - it just
 determines look. so this is the pain needed to go through thanks to the
 way ASU was released - ie with the wrench gadget still configured to be
 there but just covered up in theme.

 this basically is a result of the narrow view that all config is to be
 done by packages. e's code simply doesn't work that way. packages can
 provide extra modules that a user then may or may not enable - modules can
 provide more gadgets that a user may or may not want to enable in a
 certain location (gadgets can live in many different places).

 e is designed to work on a multi-user system where just the installation
 of a module on the system doesn't suddenly force every user to have it
 loaded. it's opt-in. just because something is installed does not mean it
 has to be used and "run".  the "must install/uninstall packages to
 enable/disable gadgets and features" simply breaks the multi-user model,
 breaks the ability to have multiple profiles and breaks the ability to
 determine what gadgets would go where (as opposed to having them go in 1
 and 1 place only and always be there if the module is installed - the
 wrench is part of illume as such as e's infrastructure allows a module to
 provide multiple gadgets, not just one - in fact any code can advertise a
 gadget class).

 the way to flip configuration is via possibly installing new config
 PROFILES then telling e to use those. if a user already has such a profile
 their personal one always takes preference. installing a theme to do a
 makeup job to hide something is guaranteed to break as it's a hack to
 start with. see my first comment :)

-- 
Ticket URL: <https://docs.openmoko.org/trac/ticket/1863#comment:6>
docs.openmoko.org <http://docs.openmoko.org/trac/>
openmoko trac


More information about the buglog mailing list