Created attachment 8607721 [details] logcat-ringtone-load-time.txt Description: When the user opens the Ringtones or Alerts list, they are presented with a black screen for approximately 3 seconds, and then a white screen for about 2 seconds before the list finishes loading. Repro Steps: 1) Update a Flame to 20150519010201 2) Launch the Settings app 3) Navigate to Sound 4) Select Ringtones Actual: The app displays a blank black screen and then a blank white screen for several seconds before the list properly loads. Expected: The app loads the list quickly, and possibly displays a spinner or progress bar to indicate progress. Environmental Variables: Device: Flame 3.0 (319MB)(Full Flash) Build ID: 20150519010201 Gaia: 762cbd16712484f93f485e89f5363686540a3db7 Gecko: f65cc0022a0e Gonk: 040bb1e9ac8a5b6dd756fdd696aa37a8868b5c67 Version: 41.0a1 (3.0) Firmware Version: v18D-1 User Agent: Mozilla/5.0 (Mobile; rv:41.0) Gecko/41.0 Firefox/41. This issue does NOT occur on 512MB memory. Repro frequency: 4/8 See attached: Video (URL), Logcat
This issue DOES occur on Flame 2.2, 2.1 , and 2.0 builds. The app displays a blank black screen and then a blank white screen for several seconds before the list properly loads. Environmental Variables: Device: Flame 2.2 (319MB)(Full Flash) Build ID: 20150519002500 Gaia: 732acec6f37d13ccea6b0ddc48904a53a2970894 Gecko: 1389e6b8c065 Gonk: bd9cb3af2a0354577a6903917bc826489050b40d Version: 37.0 (2.2) Firmware Version: v18D-1 User Agent: Mozilla/5.0 (Mobile; rv:37.0) Gecko/37.0 Firefox/37.0 Note: The loading delay in 2.1 and 2.0 does not seem to be quite as long as it is in 3.0 and 2.2 builds, but is still around 2-3 seconds long. Environmental Variables: Device: Flame 2.1 (319MB)(Full Flash) Build ID: 20150519001201 Gaia: c80865cb0bf73f1b97defbc646083b404feb3ac4 Gecko: 062ac5cbb41e Gonk: bd9cb3af2a0354577a6903917bc826489050b40d Version: 34.0 (2.1) Firmware Version: v18D-1 User Agent: Mozilla/5.0 (Mobile; rv:34.0) Gecko/34.0 Firefox/34.0 Environmental Variables: Device: Flame 2.0 (319MB)(Full Flash) Build ID: 20150519000200 Gaia: 84898cadf28b1a1fcd03b726cff658de470282f0 Gecko: dfbc40a83b75 Gonk: bd9cb3af2a0354577a6903917bc826489050b40d Version: 32.0 (2.0) Firmware Version: v18D-1 User Agent: Mozilla/5.0 (Mobile; rv:32.0) Gecko/32.0 Firefox/32.0
NI media component owner to take a look, could be a settings issue.
I tested it on master, and while I do see the blank white screen and the blank black screen, it only lasts about half a second until I see the ringtones list view. Does it show the delay only when other apps are loaded in the background? if so this could be a variant of OOM issue. Version Info: Build ID 20150522010227 Gaia Revision 1126d8bee559f7cde675df2fcc6c196da9cfeba1 Gaia Date 2015-05-21 21:23:56 Gecko Revision https://hg.mozilla.org/mozilla-central/rev/3e737d30f842 Gecko Version 41.0a1 Device Name flame Firmware(Release) 4.4.2 Firmware(Incremental) eng.cltbld.20150522.044107 Firmware Date Fri May 22 04:41:18 EDT 2015 Bootloader L1TC000118D0
This issue is more severe when occurring on a device with 319MB memory, but I am still seeing load times of 2.5 - 3 seconds on a device with 512MB memory. This issue does not require other apps to be open. If you just navigate back and forth from Sound and Ringtones several times, the issue occurs about half the time.
Ah, I didn't know that I had to navigate back and forth from Sound and Ringtones. I do see that about 1/4 frequency the loading of 'Select Sound' page is delayed. I feel this is sort of connected to the Bug 1116732 that we never found out its underlying reason. nhirata_, who should we ask for the settings app type issues? Or should we talk to the media folks instead?
Settings is kinda scattered. I don't think we have anyone person assigned to it for 3.0 settings. We have had white flashing in settings since 1.x time frame. bug 840232 Having said that I think we should probably profile this bug to see where the slowness occurs. https://developer.mozilla.org/en-US/docs/Mozilla/Performance/Profiling_with_the_Built-in_Profiler
Tried it, but profiler fails probably due to Bug 1167230. will retry once it's fixed.
change component to settings