Sharing pictures to whatsapp is impossible

REPRODUCIBILITY: always
OS VERSION: 4.5.0.24
HARDWARE:xperia10 ii
UI LANGUAGE:german
REGRESSION: yes?

DESCRIPTION:

sharing a picture from native gallery to whatsapp android app is not functional

PRECONDITIONS:

whatsapp installed, version 2.23.20.75

STEPS TO REPRODUCE:

  1. take a picture with the native camera
  2. share it from the gallery (or the camera) ti whatsapp

EXPECTED RESULT:

picture is shared in whatsapp

ACTUAL RESULT:

picture is not shared, whatsapp does nit opne / receive it

MODIFICATIONS:

ADDITIONAL INFORMATION:

also gallery folders for camera are not visible
have microg installed;
also play store which replaced fakestore.

2 Likes

I don’t use whatsapp but only Signal. With Signal, I have no problem retrieving photos from the gallery.

In my opinion, and this happens from time to time, especially when the phone is rebooted, you need to “clean” the indexing database with the Sailfish Utilities application (if you don’t have it, install it from the Jolla store). Once installed, clean up the database.

Note: after installation, Sailfish Utilities will appear in the “Settings” menu.
Note 2 : the reindexation take some times. It all depends on the number of photos, but it can take about 15 minutes.

1 Like

As a user, I would expect this not to be necessary; not mainly because the system should take care of it, but aldo because i dont want to use a third-party package / script…
which even if implemented by joööa devs , still looks like a third-party package…

Well… not every open-source component has enough effort spent on it. And you can help.

What third-party script? Utilities are first-party.

2 Likes

Yeah and it says alot about the fact they (=sailfish-utliities) dont seem official / I didnt recognize it :slight_smile: (edited the thread)

Edit: for instance, do they come pre-installed?

So more info, after poking around with journalctl,

it appears that /usr/share/system_server.desktop does not exist…is this expected?

How to find out which package it belongs to?

Yes.

Doesn’t exist on my system either. Probably irrelevant but who knows when you just throw a journal fragment at us.

Have you already tried what was suggested?

1 Like

Just wanted to try reproducing this, but I couldn’t.

I tried sharing a photograph from Gallery and from the Camera app with Xperia 10 III / 4.5.0.24 (Struven ketju) & WhatsApp version 2.23.18.79 and it worked as expected. I tried with both Jolla camera and Advanced Camera and the results were the same.

EDIT: I think there is a wrong version number in the bug report, @tortoisedoc.

1 Like

Yup corrected.
Added a few more details.
@tuplasuhveli what are your android permissions on whatsapp?
Mines are “Access only media files”; Icant seem to find a way to grant it access to all files.

Permissions are: Camera (only when app is in use), microphone (only when app is in use), media files and contacts. I can’t find a way to permit WhatsApp an access to other files than media.

The logs go through a folder
.local/share/apkd-bridge/sharing
and there only the contact sharing is listed for whatsapp(again i think this is as expected);
after trying a few more times the logs fill up with kernel OOPS…)

19:37:32 Xperia10II-DualSIM kernel:  reclaim_write+0x270/0x3d0
Okt 29 19:37:32 Xperia10II-DualSIM kernel:  __vfs_write+0x44/0x134
Okt 29 19:37:32 Xperia10II-DualSIM kernel:  vfs_write+0xc8/0x184
Okt 29 19:37:32 Xperia10II-DualSIM kernel:  SyS_write+0x6c/0xcc
Okt 29 19:37:32 Xperia10II-DualSIM kernel:  __sys_trace_return+0x0/0x4
Okt 29 19:37:32 Xperia10II-DualSIM kernel: ---[ end trace ea3bb73a8575ee82 ]
---
Okt 29 19:37:32 Xperia10II-DualSIM kernel: trying to isolate tail page
Okt 29 19:37:32 Xperia10II-DualSIM kernel: ------------[ cut here ]---------
---
Okt 29 19:37:32 Xperia10II-DualSIM kernel: WARNING: CPU: 7 PID: 7809 at /hom
e/abuild/rpmbuild/BUILD/kernel/sony/msm-4.14/kernel/mm/vmscan.c:1685 isolate
_lru_page+0x1e0/0x1e8
Okt 29 19:37:32 Xperia10II-DualSIM kernel: Modules linked in:
Okt 29 19:37:32 Xperia10II-DualSIM kernel: CPU: 7 PID: 7809 Comm: CachedAppO
ptimi Tainted: G S      W       4.14.264 #1
Okt 29 19:37:32 Xperia10II-DualSIM kernel: Hardware name: Qualcomm Technolog
ies, Inc. trinket pm6125 + pmi632 Sony Mobile Communications Inc., PDX-201(T
RINKET) (DT)
Okt 29 19:37:32 Xperia10II-DualSIM kernel: task: ffffffc0660b1e00 task.stack
: ffffff8018338000
Okt 29 19:37:32 Xperia10II-DualSIM kernel: pc : isolate_lru_page+0x1e0/0x1e8
Okt 29 19:37:32 Xperia10II-DualSIM kernel: lr : isolate_lru_page+0x1e0/0x1e8
Okt 29 19:37:32 Xperia10II-DualSIM kernel: sp : ffffff801833baa0 pstate : 60
400145
Okt 29 19:37:32 Xperia10II-DualSIM kernel: x29: ffffff801833bad0 x28: 000000
0000000000
Okt 29 19:37:32 Xperia10II-DualSIM kernel: x27: 0400000000000001 x26: ffffff
c0edaa3168
Okt 29 19:37:32 Xperia10II-DualSIM kernel: x25: ffffff801833bc18 x24: ffffff
bf01a316c0
Okt 29 19:37:32 Xperia10II-DualSIM kernel: x23: ffffffbf03b6a8f0 x22: ffffff
c027facfb8
Okt 29 19:37:32 Xperia10II-DualSIM kernel: x21: ffffffc04f31bd80 x20: 000000
07fee2d000
Okt 29 19:37:32 Xperia10II-DualSIM kernel: x19: ffffffbf01a316c0 x18: 000000
0000000078
Okt 29 19:37:32 Xperia10II-DualSIM kernel: x17: 0000000000000041 x16: ffffff
80094fa980
Okt 29 19:37:32 Xperia10II-DualSIM kernel: x15: ffffff80098befc1 x14: 000000
00000029bc
Okt 29 19:37:32 Xperia10II-DualSIM kernel: x13: 000000000000055e x12: 000000
0000000000
Okt 29 19:37:32 Xperia10II-DualSIM kernel: x11: 0000000000000000 x10: ffffff
ffffffffff
Okt 29 19:37:32 Xperia10II-DualSIM kernel: x9 : 3e74e6a661c03b00 x8 : 3e74e6
a661c03b00
Okt 29 19:37:32 Xperia10II-DualSIM kernel: x7 : 000000000000001b x6 : ffffff
800a311b93
Okt 29 19:37:32 Xperia10II-DualSIM kernel: x5 : ffffff801833b798 x4 : 000000
0000000000
Okt 29 19:37:32 Xperia10II-DualSIM kernel: x3 : 0000000000000065 x2 : 000000
000000001b
Okt 29 19:37:32 Xperia10II-DualSIM kernel: x1 : 00000000000001c0 x0 : 000000
000000001b
Okt 29 19:37:32 Xperia10II-DualSIM kernel:
PC: 0xffffff800821cd34:
Okt 29 19:37:32 Xperia10II-DualSIM kernel: cd34  2a1603e2 94014a38 2a1f03f3
f94002e8 5282c009 8b090100 944bada3 2a1303e0
Okt 29 19:37:32 Xperia10II-DualSIM kernel: cd54  a9437bfd a9424ff4 a94157f6
f84407f7 d65f03c0 9000c880 912a2c00 97fc9851
Okt 29 19:37:32 Xperia10II-DualSIM kernel: cd74  d4210000 17ffff95 d10283ff
f90033f7 a90757f6 a9084ff4 a9097bfd 910243fd
Okt 29 19:37:32 Xperia10II-DualSIM kernel: cd94  d000d9e8 f941e508 52801809
72a02809 910003f5 f81c83a8 321e07e8 a901ffff
Okt 29 19:37:32 Xperia10II-DualSIM kernel:
LR: 0xffffff800821cd34:
Okt 29 19:37:32 Xperia10II-DualSIM kernel: cd34  2a1603e2 94014a38 2a1f03f3
f94002e8 5282c009 8b090100 944bada3 2a1303e0
Okt 29 19:37:32 Xperia10II-DualSIM kernel: cd54  a9437bfd a9424ff4 a94157f6
f84407f7 d65f03c0 9000c880 912a2c00 97fc9851
Okt 29 19:37:32 Xperia10II-DualSIM kernel: cd74  d4210000 17ffff95 d10283ff
f90033f7 a90757f6 a9084ff4 a9097bfd 910243fd
Okt 29 19:37:32 Xperia10II-DualSIM kernel: cd94  d000d9e8 f941e508 52801809
72a02809 910003f5 f81c83a8 321e07e8 a901ffff
Okt 29 19:37:32 Xperia10II-DualSIM kernel:
SP: 0xffffff801833ba60:
Okt 29 19:37:32 Xperia10II-DualSIM kernel: ba60  0821cd74 ffffff80 60400145
00000000 ffffffc8 ffffff80 61c03b00 3e74e6a6
Okt 29 19:37:32 Xperia10II-DualSIM kernel: ba80  ffffffff 0000007f 01a316c0
ffffffbf 1833bad0 ffffff80 0821cd74 ffffff80
Okt 29 19:37:32 Xperia10II-DualSIM kernel: baa0  03b6a8f0 ffffffbf 03245f70
ffffffbf 27facfb8 ffffffc0 4f31bd80 ffffffc0
Okt 29 19:37:32 Xperia10II-DualSIM kernel: bac0  fee2d000 00000007 feea0000
00000007 1833bb50 ffffff80 0830c00c ffffff80

and probably this explains why whatsapp is not showing…

called for  QQuickView(0x3b931600)  which has Qt::WindowDoesNotAcceptFocus
set.
Okt 29 19:43:01 Xperia10II-DualSIM booster-silica-qt5[9457]: [D] unknown:0 -
Using Wayland-EGL
Okt 29 19:43:01 Xperia10II-DualSIM kernel: lowmemorykiller: Killing 'com.wha
tsapp' (9780), adj 900,

Do these numbers in memory consumption actually make sense? (top with shift+m to order by memory)

2640 mediacod S     258g7383.3   3  0.0 {mediaswcodec} media.swcodec oid.media.swcodec/bin/mediaswcodec
3039  2640 mediaex  S     258g7380.9   1  0.0 {mediaextractor} media.extractor aextractor
16061  7110 510034   S    30.0g858.5   5  0.0 {e.authenticator} com.azure.authenticator
8941  7110 510034   S    29.3g840.4   1  0.0 {henticator:auth} com.azure.authenticator:auth
7417  7110 501000   S    15.1g434.6   2  0.1 system_server
8209  7110 501001   S    13.0g374.5   3  0.0 {m.android.phone} com.android.phone
10214  7110 510000   S    12.9g371.1   0  0.0 {ndroid.systemui} com.android.systemui
8572  7110 510046   S    12.9g369.0   0  0.0 {rs.media.module} com.android.providers.media.module
8604  7110 510001   S    12.7g363.5   3  0.0 {utmethod.remote} com.jolla.inputmethod.remote
7110  6738 appsuppo S    12.6g363.0   0  0.0 {main} zygote64
9595  7110 510070   S    12.6g362.1   1  0.0 {gle.android.gms} com.google.android.gms
8698  7110 510004   S    12.6g362.0   1  0.0 {d.process.acore} android.process.acore
8738  7110 510008   S    12.6g361.1   7  0.0 {d.process.media} android.process.media
8187  7110 501068   S    12.6g360.6   1  0.0 com.android.se
30262  7110 510009   S    12.6g360.5   6  0.0 {id.ext.services} android.ext.services
9557  7110 502000   S    12.6g360.5   2  0.0 {m.android.shell} com.android.shell
7120  6738 501041   S    10.8g308.9   0  0.0 /system/bin/audioserver
7182  6738 501046   S    10.4g299.8   3  0.0 {mediaswcodec} media.swcodec oid.media.swcodec/bin/mediaswcodec
7109  6738 appsuppo S    10.3g297.3   4  0.0 {Binder:39_4} /system/bin/netd
7177  6738 501013   S    10.3g297.2   0  0.0 {mediametrics} media.metrics diametrics
7108  6738 501066   S    10.3g296.7   2  0.0 {Binder:38_2} /apex/com.android.os.statsd/bin/statsd
7171  6738 501071   S    10.3g296.0   2  0.0 {Binder:74_2} /system/bin/iorapd
7176  6738 501040   S    10.3g296.0   0  0.0 {mediaextractor} media.extractor aextractor
6897  6738 appsuppo S    10.3g295.9   3  0.0 {Binder:12_2} /system/bin/vold --blkid_context=u:r:blkid:s0 --blkid_untrusted_context=u:r:blkid_untrusted:s0 --fsck_context=u:r:fsck:
7116  6738 501000   S    10.3g295.8   3  0.0 {composer@2.1-se} /system/bin/hw/android.hardware.graphics.composer@2.1-service
6886  6738 501036   S    10.3g295.7   7  0.0 /system/bin/logd
7181  6738 appsuppo S    10.3g295.4   0  0.0 /system/bin/storaged
7169  6738 appsuppo S    10.3g295.3   5  0.0 {Binder:72_2} /system/bin/installd
6738  6727 appsuppo S    10.3g294.9   0  0.0 /system/bin/init second_stage
7085  6738 501000   S    10.3g294.8   0  0.0 {suspend@1.0-ser} /system/bin/hw/android.system.suspend@1.0-service
7161  6738 501067   S    10.3g294.8   3  0.0 {Binder:67_2} /system/bin/incidentd
7114  6738 501000   S    10.3g2

with so much memory:

[root@Xperia10II-DualSIM defaultuser]# free -h
total        used        free      shared  buff/cache   available
Mem:           3.5G        2.7G      127.9M       15.7M      687.1M        1.0G
Swap:       1024.0M      534.5M      489.5M