abufawwaz / android-agenda-widget

Automatically exported from code.google.com/p/android-agenda-widget
0 stars 0 forks source link

Blank widget on Kit Kat/Nexus 5 #465

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Install Agenda Widget on Nexus 5
2. Sync to whatever Google account calendars like normal

What is the expected output? What do you see instead?

I expect to see a list of my upcoming calendar events.  I see nothing instead.  
"No events" flashes briefly, and then there is just a blank display where I 
would normally see all calendar events.  Refreshing the widget and rebooting 
the phone don't help.

What Android OS are you using? Which version of Agenda Widget

Nexus 5 with Kit Kat (Android 4.4).  I am using the latest version of the 
regular (free) Agenda Widget

I am attaching a screenshot showing the blank widget.

Please provide any additional information below.
Please attach a log file attachment if possible in the case of force
closes.
Please add a label for the category of error (e.g. if dates are showing
incorrectly please choose "DateFormat"

Original issue reported on code.google.com by alan.r.r...@gmail.com on 6 Nov 2013 at 11:31

Attachments:

GoogleCodeExporter commented 9 years ago
Just as an update to this, I tried disabling scrolling, and now my events show 
up.  Strangely, I can see only 4 lines of events in a 4x2 widget, whereas on 
Jelly Bean the same widget with the same settings shows 5 lines of events.  
There is way more space between the events on Kit Kat.

Anyway, so now I think the above bug is still there, but with the clarification 
that under Kit Kat, if scrolling is on, events aren't showing, whereas that 
used to work just fine in Jelly Bean.

Original comment by alan.r.r...@gmail.com on 7 Nov 2013 at 6:40

GoogleCodeExporter commented 9 years ago
I'm getting the same behaviour on an LG Nexus 4.  Updated to Android Kit Kat 
yesterday, and when the phone powered back on, the widget was blank.  Tried 
changing a few settings (didn't think of disabling scrolling), then removed the 
widget and replaced it, to no effect.  I'll try disabling scrolling later.

Original comment by tripleaa...@gmail.com on 22 Nov 2013 at 4:49

GoogleCodeExporter commented 9 years ago
I'm also experiencing the same problem with my nexus 4 with Kit Kat (4.4)

Original comment by netr...@gmail.com on 22 Nov 2013 at 7:11

GoogleCodeExporter commented 9 years ago
Disabling scrolling solved the problem for the Nexus 4, at least for the 
moment.  It would be nice to have scrolling back, but this is better than 
nothing.

Original comment by tripleaa...@gmail.com on 22 Nov 2013 at 11:21

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
I'm seeing the same on a play edition GS4 that I just updated to KitKat.  Like 
the others, I see events if scrolling is disabled but lose them if is enabled.

FWIW, I have other widgets that are scrolling correctly after the update.  The 
issue seems specific to this widget.

Original comment by Focused....@gmail.com on 2 Dec 2013 at 4:23

GoogleCodeExporter commented 9 years ago
Turning scrolling off makes events show again, but then settings -> more 
customization crashes. Anyone else?

PACKAGE_NAME=com.roflharrison.agenda
APP_VERSION_CODE=17172112
ANDROID_VERSION=4.4.2
PHONE_MODEL=Nexus 7
CUSTOM_DATA=
STACK_TRACE=java.lang.RuntimeException: Unable to start activity 
ComponentInfo{com.roflharrison.agenda/com.roflharrison.agenda.activity.tablet.Fr
agmentSettings}: java.lang.NullPointerException
    at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2215)
    at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2265)
    at android.app.ActivityThread.access$800(ActivityThread.java:145)
    at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1206)
    at android.os.Handler.dispatchMessage(Handler.java:102)
    at android.os.Looper.loop(Looper.java:136)
    at android.app.ActivityThread.main(ActivityThread.java:5081)
    at java.lang.reflect.Method.invokeNative(Native Method)
    at java.lang.reflect.Method.invoke(Method.java:515)
    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:781)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:597)
    at dalvik.system.NativeStart.main(Native Method)
Caused by: java.lang.NullPointerException
    at android.preference.PreferenceGroup.removePreferenceInt(PreferenceGroup.java:188)
    at android.preference.PreferenceGroup.removePreference(PreferenceGroup.java:181)
    at com.roflharrison.agenda.activity.tablet.AdvancedCustomizationFragment.loadResources(AdvancedCustomizationFragment.java:48)
    at com.everybodyallthetime.android.preference.fragment.GenericPreferenceFragment.onActivityCreated(GenericPreferenceFragment.java:41)
    at com.roflharrison.agenda.activity.tablet.AdvancedCustomizationFragment.onActivityCreated(AdvancedCustomizationFragment.java:135)
    at android.app.Fragment.performActivityCreated(Fragment.java:1708)
    at android.app.FragmentManagerImpl.moveToState(FragmentManager.java:908)
    at android.app.FragmentManagerImpl.moveToState(FragmentManager.java:1062)
    at android.app.BackStackRecord.run(BackStackRecord.java:684)
    at android.app.FragmentManagerImpl.execPendingActions(FragmentManager.java:1447)
    at android.app.Activity.performStart(Activity.java:5240)
    at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2178)
    ... 11 more
java.lang.NullPointerException
    at android.preference.PreferenceGroup.removePreferenceInt(PreferenceGroup.java:188)
    at android.preference.PreferenceGroup.removePreference(PreferenceGroup.java:181)
    at com.roflharrison.agenda.activity.tablet.AdvancedCustomizationFragment.loadResources(AdvancedCustomizationFragment.java:48)
    at com.everybodyallthetime.android.preference.fragment.GenericPreferenceFragment.onActivityCreated(GenericPreferenceFragment.java:41)
    at com.roflharrison.agenda.activity.tablet.AdvancedCustomizationFragment.onActivityCreated(AdvancedCustomizationFragment.java:135)
    at android.app.Fragment.performActivityCreated(Fragment.java:1708)
    at android.app.FragmentManagerImpl.moveToState(FragmentManager.java:908)
    at android.app.FragmentManagerImpl.moveToState(FragmentManager.java:1062)
    at android.app.BackStackRecord.run(BackStackRecord.java:684)
    at android.app.FragmentManagerImpl.execPendingActions(FragmentManager.java:1447)
    at android.app.Activity.performStart(Activity.java:5240)
    at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2178)
    at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2265)
    at android.app.ActivityThread.access$800(ActivityThread.java:145)
    at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1206)
    at android.os.Handler.dispatchMessage(Handler.java:102)
    at android.os.Looper.loop(Looper.java:136)
    at android.app.ActivityThread.main(ActivityThread.java:5081)
    at java.lang.reflect.Method.invokeNative(Native Method)
    at java.lang.reflect.Method.invoke(Method.java:515)
    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:781)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:597)
    at dalvik.system.NativeStart.main(Native Method)

Original comment by nathan.r...@gmail.com on 23 Dec 2013 at 12:49

GoogleCodeExporter commented 9 years ago
Log from refreshing the widget with scrolling enabled. I'd guess the relevant 
part is: 12-23 12:53:19.635 I/Choreographer(12597): Skipped 31 frames!  The 
application may be doing too much work on its main thread.

12-23 12:53:15.161 I/ActivityManager(12310): START u0 
{act=android.intent.action.MAIN cat=[android.intent.category.HOME] 
flg=0x10200000 cmp=org.adw.launcher/org.adw.launcherlib.Launcher} from pid 12310
12-23 12:53:16.552 I/Choreographer(12597): Skipped 40 frames!  The application 
may be doing too much work on its main thread.
12-23 12:53:17.583 D/SharedPreferencesManager(22068): preferencesName:32
12-23 12:53:17.583 D/AgendaReceiver(22068): 
received:com.roflharrison.agenda.ACTION_UPDATE_WIDGET
12-23 12:53:17.613 D/com.roflharrison.agenda.service.UpdateService(22068): 
startUpdateService:32
12-23 12:53:17.613 D/AgendaReceiver(22068): updateServiceStarted:true
12-23 12:53:17.663 D/com.roflharrison.agenda.service.UpdateService(22068): 
onStartCommand
12-23 12:53:17.663 D/AlarmHelper(22068): registerAlarm:120
12-23 12:53:17.673 D/com.roflharrison.agenda.service.UpdateService(22068): 
mInitialUpdate:false
12-23 12:53:17.683 D/com.roflharrison.agenda.service.UpdateService(22068): 
processWidgetUpdate doubleRefresh true
12-23 12:53:17.683 D/SharedPreferencesManager(22068): preferencesName:global
12-23 12:53:17.693 D/com.roflharrison.agenda.service.UpdateService(22068): 32 
reloadLayout:true grid:false
12-23 12:53:17.693 D/com.roflharrison.agenda.service.UpdateService(22068): 
processWidgetUpdate doubleUps.size()0
12-23 12:53:17.693 D/com.roflharrison.agenda.service.UpdateService(22068): run 
doubleUptrue
12-23 12:53:17.764 D/AgendaRemoteViewsFactory(22068): 
onDataSetChanged:content://com.roflharrison.agenda.provider/data/32
12-23 12:53:17.764 D/DataProvider(22068): query
<calendar contents removed. No errors here>
12-23 12:53:18.154 D/AbstractScrollingCursorMap(22068): query data refreshed in 
343ms
12-23 12:53:18.374 I/ActivityManager(12310): START u0 
{act=com.android.systemui.recent.action.TOGGLE_RECENTS flg=0x10800000 
cmp=com.android.systemui/.recent.RecentsActivity} from pid 12441
12-23 12:53:19.345 V/PhoneStatusBar(12441): setLightsOn(true)
12-23 12:53:19.635 I/Choreographer(12597): Skipped 31 frames!  The application 
may be doing too much work on its main thread.

Some more info in on it: https://vaibhavtolia.wordpress.com/2013/10/03/79/

Original comment by nathan.r...@gmail.com on 23 Dec 2013 at 1:04

GoogleCodeExporter commented 9 years ago
Any update to this??

Original comment by frig...@gmail.com on 28 Dec 2013 at 6:24

GoogleCodeExporter commented 9 years ago
Probably won't get one. Nothing after August has had a response.

Original comment by nathan.r...@gmail.com on 1 Jan 2014 at 12:35

GoogleCodeExporter commented 9 years ago
The problem is specific to the launcher.  When using Go LauncherX, the widget 
works fine.

Original comment by tranau...@gmail.com on 3 Mar 2014 at 3:28

GoogleCodeExporter commented 9 years ago
That seems to be the only launcher it does work in. Doesn't even work in the 
stock launcher (or ADW, Trebuchet, Apex). This is the *only* widget I've found 
with problems, others with scrolling (such as SeriesGuide work perfectly), so 
no, it's not launcher specific. Go Launcher must have a workaround for it. 
There's various other issues with this on 4.3 and 4.4 too, such as settings 
pages crashing that worked on 2.3.

Original comment by nathan.r...@gmail.com on 3 Mar 2014 at 5:14

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Whit enable scrolling disabled can see event lines in widget. But in other 
widgets like "pure grid calendar" scroll work fine. In default launcher of my 
nexus 5 (kitkat 4.4.2) 

Original comment by rasza...@gmail.com on 15 Mar 2014 at 6:05

Attachments:

GoogleCodeExporter commented 9 years ago
Disable scroll works. Am on kit kat S3. Still wants the scrolling back. 

Original comment by firstkni...@gmail.com on 30 Mar 2014 at 3:18

GoogleCodeExporter commented 9 years ago
Having the same issue since updating to Android 4.4.2 a few weeks ago on a 
Galaxy S3. Must disable scrolling to get anything to show up in the widget. 

Original comment by andrewpe...@gmail.com on 22 Jul 2014 at 12:44