AlexChumakou / dashclock

Automatically exported from code.google.com/p/dashclock
0 stars 0 forks source link

Widget sometimes flashes even when content doesn't change #727

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Go to a homescreen where the widget is visible.
2. Turn the screen off and on.

Setup: I have the calendar and alarm extensions enabled.

[A] When I have both an alarm set and an upcoming calendar event, the widget 
looks like:
[time]
[alarm time]
[upcoming event]

[B] When I have no alarm set, it looks like:
[time]
[upcoming event]

What is the expected output? What do you see instead?
Shortly (~0.1s) after turning the screen on, the calendar event will disappear 
very (very) briefly before reappearing (as if the extension is being 
refreshed). There should ideally be no such flash of lack of content; in fact, 
since the content didn't change, no redraw should be necessary at all.

Note: This only appears for [B] and not [A].

What version of the product are you using?
v1.6

Which device and Android version are you experiencing this issue on?
Galaxy Nexus, Moto G

Are you using a custom launcher or ROM? If so, which one? Note that custom
launchers and ROMs are not supported.
Google Experience Launcher, stock ROM.

Please provide any additional information below.
Perhaps remembering the ID of the last displayed calendar event can eliminate 
redrawing the same thing.

Original issue reported on code.google.com by interest...@gmail.com on 15 Feb 2014 at 11:04