Selecting contact avatar in Voicecall app shows only blank page

REPRODUCIBILITY (% or how often): 100%
BUILD ID = OS VERSION (Settings > About product): 4.2.0.21 (Verla)
HARDWARE (XA2, X10, X10 II, …): XA2
UI LANGUAGE: English
REGRESSION: (compared to previous public release: Yes, No, ?): Yes

DESCRIPTION:

I’m trying to add a photo of a contact via Phone-> People tab-> Select contact-> Edit-> Click the square window->Crash
This only happens if I try to add a photo via the People tab. Adding through the People application works works as expected.

STEPS TO REPRODUCE:

  1. Open Phone application
  2. Swipe to People tab
  3. Select contact
  4. Pull down to Edit contact
  5. Touch square window

EXPECTED RESULT:

Open the gallery from where I can select a photo

ACTUAL RESULT:

Pnone application crash

ADDITIONAL INFORMATION:

Part of the log:
Sep 20 10:29:15 XperiaXA2 sudo[13846]: nemo : TTY=pts/1 ; PWD=/home/nemo/Documents ; USER=root ; COMMAND=/usr/bin/journalctl -fa
Sep 20 10:29:15 XperiaXA2 sudo[13846]: pam_systemd(sudo:session): Using 600s D-Bus method call timeout
Sep 20 10:29:15 XperiaXA2 sudo[13846]: pam_systemd(sudo:session): Cannot create session: Already running in a session
Sep 20 10:29:15 XperiaXA2 sudo[13846]: pam_unix(sudo:session): session opened for user root by nemo(uid=0)
Sep 20 10:29:17 XperiaXA2 voicecall-ui[30479]: Unable to find default domain ontology rule /usr/share/tracker/domain-ontologies/default.rule
Sep 20 10:29:17 XperiaXA2 /usr/libexec/mapplauncherd/booster-generic[5629]: terminating: booster:30217 invoker:30431 socket:11
Sep 20 10:29:17 XperiaXA2 /usr/libexec/mapplauncherd/booster-generic[5629]: Daemon: sending exit(1) to invoker(30431)
Sep 20 10:29:17 XperiaXA2 /usr/libexec/mapplauncherd/booster-generic[5629]: sending SIGTERM to booster (pid=30217)
Sep 20 10:29:17 XperiaXA2 lipstick[21162]: [D] onDestruction:332 - coverActionIndicators destroyed voicecall-ui.desktop
Sep 20 10:29:18 XperiaXA2 systemd[5601]: voicecall-ui-prestart.service: Service hold-off time over, scheduling restart.
Sep 20 10:29:18 XperiaXA2 systemd[5601]: voicecall-ui-prestart.service: Scheduled restart job, restart counter is at 4.
Sep 20 10:29:18 XperiaXA2 systemd[5601]: Stopped Voicecall ui prestart.
Sep 20 10:29:18 XperiaXA2 invoker[30431]: Error EUID_ROOT:seteuid(root): main.c:165 clear_atexit: Operation not permitted
Sep 20 10:29:18 XperiaXA2 systemd[5601]: Starting Voicecall ui prestart…
Sep 20 10:29:18 XperiaXA2 invoker[13926]: Invoking execution: ‘/usr/bin/sailjail’
Sep 20 10:29:18 XperiaXA2 systemd[5601]: Started Voicecall ui prestart.
Sep 20 10:29:18 XperiaXA2 kernel: binder: 12576 RLIMIT_NICE not set
Sep 20 10:29:19 XperiaXA2 systemd[5601]: voicecall-ui-prestart.service: Service hold-off time over, scheduling restart.
Sep 20 10:29:19 XperiaXA2 systemd[5601]: voicecall-ui-prestart.service: Scheduled restart job, restart counter is at 5.
Sep 20 10:29:19 XperiaXA2 systemd[5601]: Stopped Voicecall ui prestart.
Sep 20 10:29:19 XperiaXA2 systemd[5601]: Starting Voicecall ui prestart…
Sep 20 10:29:19 XperiaXA2 invoker[13934]: Invoking execution: ‘/usr/bin/sailjail’
Sep 20 10:29:19 XperiaXA2 invoker[13934]: constructing /run/firejail/mnt/privileged: Phone,Contacts,Accounts,Keys,eas-sailfish …
Sep 20 10:29:19 XperiaXA2 invoker[13934]: mounting /run/firejail/mnt/privileged @ /home/nemo/.local/share/system/privileged
Sep 20 10:29:19 XperiaXA2 invoker[13934]: hiding /run/firejail/mnt/privileged

1 Like

Reproducible on X10II with 4.2.0.21.

Same for me on my XA2 plus. Clearly a regression, doesn’t happend on my other XA2plus running 4.1

Apparently bugg still active on 4.3.0.12. Doesnt crash but cant open gallery opens just a blank sheet

Thanks for the report @margaritv, and for the update @linuxbychoice. I can still reproduce this on 4.4.0.72, so I’ve created an internal issue for it and tagged it here as “tracked”.

The underlying issue appears to be that the voicecall-ui app requires the MediaIndexing and UserDirs permissions for the image picker to work. Adding these seems to fix it for me.

I’ve created a PR to add these permissions which is now in review, so hopefully this will be fixed in the next major release.

3 Likes

Confirming; adding the two permissions to the .desktop file fixes the issue for me (X10III, 4.4.0.72)

1 Like

Slightly offtopic: disappearing avatars is normal.for me.

my avatars should come from nextcloud, but i have to reselect them locally, else they are invisible.

also png seems to work less then jpegs

We’ve committed changes to add the permissions, so this should mean the issue will be fixed in the next update. I’ll tag this issue as “fixed”, with thanks again to everyone for the input.

@pawel.spoon, it does sound like that’s a separate issue (i.e. not likely to be fixed by these changes), albeit no less important. Can I request that you create a new report about what you’re experiencing, if there isn’t one already? Keeping it in a separate topic will make it much easier to track.

2 Likes

It fixes the issue for images located in the dirs that the UserDirs permission enables. It still shows “Ups, nie można wyświetlić miniatury” (and if clicked “Ups, nie można wyświetlić obrazu”), i.e. “Could not display thumbnail / image” for image files located outside of those directories. I understand that the policy is to not allow images outside of those UserDirs, but if so then it would look much better if it was filtering them out (i.e. not showing them at all on the filepicker grid) rather than showing lots of placeholders with the “Couldn’t display thumbnail” text.