[Bugs] #2143 UNSP: add spiral to home view
Sugar Labs Bugs
bugtracker-noreply at sugarlabs.org
Mon Aug 16 09:19:29 EDT 2010
#2143: add spiral to home view
------------------------------------------+---------------------------------
Reporter: walter | Owner: tomeu
Type: enhancement | Status: new
Priority: Unspecified by Maintainer | Milestone: Unspecified by Release Team
Component: sugar | Version: Unspecified
Severity: Unspecified | Keywords: r!
Distribution: Unspecified | Status_field: Unconfirmed
------------------------------------------+---------------------------------
Comment(by walter):
> Have you considered having separate layouts for the circle and the
spiral?
We discussed a stand-alone spiral with the design team, but opted to make
the ring morph into a spiral in order to keep the user experience more
consistent.
> + self._orientation = math.pi
> This seems to be the radius of the icon currently being laid out.
Actually no. We calculate two parameters in generating the spiral, the
orientation (relative to the top of the screen) and the radius.
> Would be better if we didn't stored in the object intermediate values
used in the layout
> algorithm because any exception raised (broken icon file?) during layout
would mean it
> remains broken.
>
> Please consider calculating the radius of an item from its position in
the list, or
> propagating these values in the functions that intervene in the layout,
probably in
> a separate class.
I'll look into this.
--
Ticket URL: <http://bugs.sugarlabs.org/ticket/2143#comment:8>
Sugar Labs <http://sugarlabs.org/>
Sugar Labs bug tracking system
More information about the Bugs
mailing list