Ticket #1037 (closed defect: fixed)

Opened 11 years ago

Last modified 11 years ago

Clock redrawing is ugly

Reported by: hrw@… Owned by: chris@…
Priority: high Milestone:
Component: openmoko-today Version: unspecified
Severity: minor Keywords:
Cc: buglog@… Blocked By:
Blocking: Estimated Completion (week):
HasPatchForReview: PatchReviewResult:


Switch to first tab in Today, open keyboard, close and look at clock. First it
show numbers with marked segments and then it draws background and border. It
takes some time so in meanwhile user has to look at ugly something.

Can order be changed? Draw border+background and then clock on it?

Change History

comment:1 Changed 11 years ago by chris@…

  • Owner changed from thomas@… to chris@…

The border and the numbers are drawn on independent buffers using threads - I
could tell it not to draw the face until the borders are complete, or to not
draw anything until it's ready, but I'm not really sure if either of those are
any better... Would be good to get some more opinions on this

comment:2 Changed 11 years ago by thomas@…

I think I would prefer not drawing anything until the entire clock is ready.
This would also eliminate the need for multiple buffers.

comment:3 Changed 11 years ago by chris@…

Well no, you'd still need multiple buffers, otherwise you'd have to redraw the
entire clock when the time changes (which is slow) - but will implement this then

comment:4 Changed 11 years ago by chris@…

  • Status changed from new to closed
  • Resolution set to fixed

This is fixed in libjana r698

Note: See TracTickets for help on using tickets.