[Bugs] #2819 LOW: Clock activity does not initially center full time text
Sugar Labs Bugs
bugtracker-noreply at sugarlabs.org
Mon Jul 4 09:00:17 EDT 2011
#2819: Clock activity does not initially center full time text
----------------------------+-----------------------------------------------
Reporter: greenfeld | Owner: garycmartin
Type: defect | Status: new
Priority: Low | Milestone: Unspecified by Release Team
Component: Clock | Version: 0.92.x
Severity: Unspecified | Keywords: 11.2.0
Distribution: OLPC | Status_field: Unconfirmed
----------------------------+-----------------------------------------------
Comment(by garycmartin):
Replying to [comment:3 manuq]:
> Confirmed with my XO. It seems that the text is not centered again when
the string changes from the default "What time is it?" to the actual text
with the time in letters in the _time_letters gtk label.
>
> I tried calling _time_letters.queue_draw() and self.redraw_canvas() but
wasn't succeed :(
>
> The bug is not happening in my development machine running Sugar from
sugar-jhbuild .
Yea, it's something related to the new Fedora, didn't happen in previous
olpc official releases. I tried to work on it but it looks like a gtk idle
race thing as the original Clock developer decided to do the text
rendering in a background thread (have been considering refactoring this
out). When first enabled the text gets incorrectly centred based on the
'what time is it?' string before the real time text is generated. It's
centered correctly on the next redraw (each min, or if you show the date
text).
--
Ticket URL: <http://bugs.sugarlabs.org/ticket/2819#comment:5>
Sugar Labs <http://sugarlabs.org/>
Sugar Labs bug tracking system
More information about the Bugs
mailing list