Start-up time of gallery-app
-
Hello,
On my BQ E4.5 it takes always around 10++ secs to start the gallery-app until the tiles of the pictures thumbnails are showing up. Today I was lazy and tried to figure out what might be the problem.First, I unloaded the small sqlite database, only the table ' MediaTable' has rows of all the picture files (around 1323) and I checked with a script: all the pictures are existing.
Second, I tried to attach strace to the starting proc gallery-app, which is a bit tricky, because it is launched from the Unity desktop. But I managed it and, surprise surprise, the problem is that is spending nearly all time with nothing else at these syscalls:
stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2619, ...}) = 0
stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2619, ...}) = 0
stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2619, ...}) = 0
...
nearly 200.000 times:root@ubuntu-phablet:/home/phablet# grep /etc/local gallery.tr | wc -l
192097Any ideas what the hell it is doing with
/etc/localtime?Matthias
-
@guru what UT version and what gallery-app version are you running on your phone?
-
This is still 2.9.1.1209 from Canonical. Ofc, you are free to say "not invented here".
-
@guru are you still running UT OTA-15 (Canonical)?
-
on some of my devices, yes;
-
@guru do you observe the same behaviour on your devices running UT by UBports?
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login