Bug #411
closed
Flicker on refresh of analog clock
Added by Hammel almost 10 years ago.
Updated almost 10 years ago.
Description
There is a flickering of the analog clock every now and then. It looks like some bit of double-buffering is not working correctly under cairo. I need to find a way to fix this so the clock doesn't flicker.
- Status changed from New to In Progress
- % Done changed from 0 to 10
The first thing I see here is not that I need separate drawing threads (the drawing operations are very primitive and have a 1FPS framerate, which is highly tolerable) but that I need to draw into a pixmap instead of directly onto the drawing area widget.
So, first step: switch to a pixmap-based cairo paint operation.
- Status changed from In Progress to Closed
- % Done changed from 10 to 100
Fixed screen flicker by switching cairo operations to a pixmap and copying from that pixmap during expose events for the widget. Also fixed ownership of piclock binary on install to be root.root.
Tested on target, changes committed and pushed upstream.
Closing issue.
Also available in: Atom
PDF