wordpress-mobile / wordpress-mobile/WordPress-Android

Site Icon is blank on the the My Site screen the first time it is viewed after uninstall and reinstall

Open
#12,231 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

[Pri] Low [Status] Stale [Type] Bug /My site
Dominant language
Kotlin
Stars
3.2k
Forks
1.4k
Avg merge
1d 11h
Merged PRs (30d)
69

Description

Steps to reproduce:

  1. Uninstall and reinstall the app.
  2. Log in to a WordPress.com account.
  3. Go to the My Site screen and check to see if the Site Icon is there.

Result: the Site Icon on the My Site screen is missing the first time the screen is loaded after uninstalling and reinstalling the app. (1m21s)

blank-site-icon-after-uninstall-and-reinstall

Tested with WPAndroid 15.1-rc-1 on Pixel 3 Android 10.

App logs for the timestamp matching the video with tokens removed
WordPress - 15.1-rc-1 - Version code: 881
Android device name: Google Pixel 3

01 - [Jun-18 23:47 STATS] 🔵 Tracked: login_magic_link_request_form_viewed
02 - [Jun-18 23:47 STATS] 🔵 Tracked: login_magic_link_exited
03 - [Jun-18 23:47 STATS] 🔵 Tracked: login_password_form_viewed
04 - [Jun-18 23:47 NUX] Received state: IDLE
05 - [Jun-18 23:47 MAIN] LoginWpcomService > Created
06 - [Jun-18 23:47 MAIN] LoginWpcomService > Destroyed
07 - [Jun-18 23:47 NUX] Received state: IDLE
08 - [Jun-18 23:47 NUX] Received state: IDLE
09 - [Jun-18 23:47 MAIN] LoginWpcomService > Created
10 - [Jun-18 23:47 STATS] 🔵 Tracked: login_wpcom_background_service_update, Properties: {"login_phase":"AUTHENTICATING","login_service_is_foreground":false}
11 - [Jun-18 23:47 NUX] Received state: AUTHENTICATING
12 - [Jun-18 23:47 API] Dispatching action: AuthenticationAction-AUTHENTICATE
13 - [Jun-18 23:47 NUX] User tries to log in wpcom. Email: design5279+190313_1141@gmail.com
14 - [Jun-18 23:47 NUX] onAuthenticationChanged: org.wordpress.android.fluxc.store.AccountStore$OnAuthenticationChanged@82cae4d
15 - [Jun-18 23:47 STATS] 🔵 Tracked: login_wpcom_background_service_update, Properties: {"login_phase":"FETCHING_ACCOUNT","login_service_is_foreground":false}
16 - [Jun-18 23:47 NUX] Received state: FETCHING_ACCOUNT
17 - [Jun-18 23:47 API] Dispatching action: AccountAction-FETCH_ACCOUNT
18 - [Jun-18 23:47 NOTIFS] Sending GCM token to our remote services: e3UDGUi4QnyaVQgQZoyu0C:APA91bHFfE4fbz_uudl3oD3fJzqlaSxlgGG6DKHguxvdYBfLQ-vAyyeNhcf0eFCJrvshot1A-Ym0VCYc1QXj3nYGnPCSE7oP8andsPtiZtx7hk5RR4TOYldpROEo5S451SHVYw-5VDtt
19 - [Jun-18 23:47 API] Dispatching action: AccountAction-FETCHED_ACCOUNT
20 - [Jun-18 23:47 STATS] 🔵 Tracked: login_wpcom_background_service_update, Properties: {"login_phase":"FETCHING_SETTINGS","login_service_is_foreground":false}
21 - [Jun-18 23:47 NUX] Received state: FETCHING_SETTINGS
22 - [Jun-18 23:47 API] Dispatching action: AccountAction-FETCH_SETTINGS
23 - [Jun-18 23:47 API] Dispatching action: AccountAction-FETCHED_SETTINGS
24 - [Jun-18 23:47 STATS] 🔵 Tracked: login_wpcom_background_service_update, Properties: {"login_phase":"FETCHING_SITES","login_service_is_foreground":false}
25 - [Jun-18 23:47 NUX] Received state: FETCHING_SITES
26 - [Jun-18 23:47 API] Dispatching action: SiteAction-FETCH_SITES
27 - [Jun-18 23:47 NOTIFS] Register token action succeeded
28 - [Jun-18 23:47 NOTIFS] Server response OK. The device_id: 36639558
29 - [Jun-18 23:47 API] Dispatching action: SiteAction-FETCHED_SITES
44 - [Jun-18 23:47 STATS] 🔵 Tracked: login_wpcom_background_service_update, Properties: {"login_phase":"SUCCESS","login_service_is_foreground":false}
45 - [Jun-18 23:47 NUX] Received state: SUCCESS
46 - [Jun-18 23:47 STATS] 🔵 Tracked: signed_in, Properties: {"dotcom_user":true}
47 - [Jun-18 23:47 READER] reader service > job scheduled
48 - [Jun-18 23:47 READER] notifications update job service > job scheduled
49 - [Jun-18 23:47 READER] reader job service > created
50 - [Jun-18 23:47 NOTIFS] notifications update job service > created
51 - [Jun-18 23:47 READER] reader job service > started
52 - [Jun-18 23:47 READER] reader service > updating tags
53 - [Jun-18 23:47 MAIN] LoginWpcomService > Destroyed
54 - [Jun-18 23:47 STATS] 🔵 Tracked: deep_link_not_default_handler, Properties: {"interceptor_classname":"com.android.internal.app.ResolverActivity"}
55 - [Jun-18 23:47 FEATURE_ANNOUNCEMENT] No feature announcements found in FEATURE_ANNOUNCEMENTS.json
56 - [Jun-18 23:47 API] Dispatching action: SiteAction-FETCH_SITE
57 - [Jun-18 23:47 UTILS] trackLastActivity, activityId: My Site
58 - [Jun-18 23:47 STATS] 🔵 Tracked: my_site_tab_accessed, Properties: {"blog_id":160502386,"is_jetpack":false}
59 - [Jun-18 23:47 API] Dispatching action: AccountAction-FETCH_ACCOUNT
60 - [Jun-18 23:47 PROFILING] App Startup: begin
61 - [Jun-18 23:47 PROFILING] App Startup: 187 ms, WPLaunchActivity.onCreate
62 - [Jun-18 23:47 PROFILING] App Startup: 55 ms, WPMainActivity.onCreate
63 - [Jun-18 23:47 PROFILING] App Startup: 26422 ms, WPMainActivity.onCreate
64 - [Jun-18 23:47 PROFILING] App Startup: 91 ms, WPMainActivity.onResume
65 - [Jun-18 23:47 PROFILING] App Startup: end, 26755 ms
66 - [Jun-18 23:47 API] Dispatching action: SiteAction-FETCH_POST_FORMATS
67 - [Jun-18 23:47 API] Dispatching action: SiteAction-FETCH_SITE_EDITORS
68 - [Jun-18 23:47 READER] reader service > followed topics changed updatedDisplayNames [true]
69 - [Jun-18 23:47 READER] reader service > recommended topics changed
70 - [Jun-18 23:47 READER] reader service > all tasks completed
71 - [Jun-18 23:47 READER] reader job service > all tasks completed
72 - [Jun-18 23:47 STATS] 🔵 Tracked: login_epilogue_viewed
73 - [Jun-18 23:47 API] Received site Categories
74 - [Jun-18 23:47 NOTIFS] Sending GCM token to our remote services: *** REDACTED ***
75 - [Jun-18 23:47 API] Successfully fetched WP.com categories
76 - [Jun-18 23:47 READER] reader job service > destroyed
77 - [Jun-18 23:47 API] Dispatching action: AccountAction-FETCHED_ACCOUNT
78 - [Jun-18 23:47 API] Dispatching action: SiteAction-UPDATE_SITE
79 - [Jun-18 23:47 API] Dispatching action: SiteAction-FETCHED_SITE_EDITORS
80 - [Jun-18 23:47 DB] Site found by (local) ID: 1
81 - [Jun-18 23:47 DB] Site found by (local) ID: 1
82 - [Jun-18 23:47 DB] Updating site: http://artindesignco.blog
83 - [Jun-18 23:47 DB] Updating site: http://artindesignco.blog
84 - [Jun-18 23:47 API] Dispatching action: SiteAction-FETCHED_POST_FORMATS
85 - [Jun-18 23:47 SETTINGS] An error occurred while updating the post formats with type: INVALID_RESPONSE
86 - [Jun-18 23:47 API] Received response to Settings REST request.
87 - [Jun-18 23:47 NOTIFS] Register token action succeeded
88 - [Jun-18 23:47 NOTIFS] Server response OK. The device_id: 36639558
89 - [Jun-18 23:47 SUPPORT] Zendesk push notifications successfully enabled!
90 - [Jun-18 23:47 SUPPORT] Zendesk push notifications successfully enabled!
91 - [Jun-18 23:47 NOTIFS] notifications update service > completed
92 - [Jun-18 23:47 NOTIFS] notifications update job service > all tasks completed
93 - [Jun-18 23:47 NOTIFS] notifications update job service > destroyed
94 - [Jun-18 23:47 UTILS] trackLastActivity, activityId: My Site
95 - [Jun-18 23:47 API] Dispatching action: AccountAction-FETCH_ACCOUNT
96 - [Jun-18 23:47 API] Dispatching action: AccountAction-FETCHED_ACCOUNT
97 - [Jun-18 23:47 STATS] 🔵 Tracked: me_tab_accessed
98 - [Jun-18 23:48 STATS] 🔵 Tracked: support_opened, Properties: {"origin":"ME_SCREEN_HELP"}
99 - [Jun-18 23:48 UTILS] trackLastActivity, activityId: Help Screen

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at the My Site screen and trace the SiteAction-FETCH_SITE and SiteAction-UPDATE_SITE flow shown in the logs after a reinstall. Reproduce the first-load case on Android and verify that the Site Icon appears on the initial My Site screen, not only after revisiting it.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, kotlin
Domain
mobile
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.