[SailfishOS] Launcher icon doesn't reactivate Whisperfish
On Sailfish OS 4.4, already running Whisperfish doesn't activate when the launcher icon is clicked. This happens both with Sailjail enabled and disabled. Instead another application cover is created, it spins for some time, until it timeouts and disappears. One has to manually activate the app by clicking the app cover or notification.
Here is dbus-monitor
output with only Whisperfish-related stuff included:
Filtered dbus-monitor output
method call time=1648908346.200285 sender=:1.914 -> destination=org.freedesktop.DBus serial=27 path=/; interface=org.freedesktop.DBus; member=AddMatch
string "type='signal',sender='org.freedesktop.DBus',interface='org.freedesktop.DBus',member='NameOwnerChanged',arg0='org.whisperfish.session'"
method return time=1648908346.200435 sender=org.freedesktop.DBus -> destination=:1.914 serial=28 reply_serial=27
method call time=1648908346.201188 sender=:1.914 -> destination=org.freedesktop.DBus serial=28 path=/; interface=org.freedesktop.DBus; member=GetNameOwner
string "org.whisperfish.session"
error time=1648908346.201268 sender=org.freedesktop.DBus -> destination=:1.914 error_name=org.freedesktop.DBus.Error.NameHasNoOwner reply_serial=28
string "Could not get owner of name 'org.whisperfish.session': no such name"
method call time=1648908346.203117 sender=:1.914 -> destination=org.freedesktop.DBus serial=31 path=/; interface=org.freedesktop.DBus; member=AddMatch
string "type='signal',sender='org.freedesktop.DBus',interface='org.freedesktop.DBus',member='NameOwnerChanged',arg0='be.rubdos.harbour-whisperfish'"
method return time=1648908346.203370 sender=org.freedesktop.DBus -> destination=:1.914 serial=32 reply_serial=31
method call time=1648908346.203786 sender=:1.914 -> destination=org.freedesktop.DBus serial=32 path=/; interface=org.freedesktop.DBus; member=GetNameOwner
string "be.rubdos.harbour-whisperfish"
error time=1648908346.203925 sender=org.freedesktop.DBus -> destination=:1.914 error_name=org.freedesktop.DBus.Error.NameHasNoOwner reply_serial=32
string "Could not get owner of name 'be.rubdos.harbour-whisperfish': no such name"
method call time=1648908346.205663 sender=:1.914 -> destination=org.freedesktop.DBus serial=35 path=/; interface=org.freedesktop.DBus; member=AddMatch
string "type='signal',sender='org.freedesktop.DBus',interface='org.freedesktop.DBus',member='NameOwnerChanged',arg0='org.whisperfish'"
method return time=1648908346.205881 sender=org.freedesktop.DBus -> destination=:1.914 serial=36 reply_serial=35
method call time=1648908346.206290 sender=:1.914 -> destination=org.freedesktop.DBus serial=36 path=/; interface=org.freedesktop.DBus; member=GetNameOwner
string "org.whisperfish"
error time=1648908346.206476 sender=org.freedesktop.DBus -> destination=:1.914 error_name=org.freedesktop.DBus.Error.NameHasNoOwner reply_serial=36
string "Could not get owner of name 'org.whisperfish': no such name"
method return time=1648908346.215490 sender=org.freedesktop.DBus -> destination=:1.914 serial=50 reply_serial=49
string ":1.25"
method call time=1648908346.215845 sender=:1.914 -> destination=org.freedesktop.DBus serial=50 path=/; interface=org.freedesktop.DBus; member=ListNames
method return time=1648908346.215968 sender=org.freedesktop.DBus -> destination=:1.914 serial=51 reply_serial=50
array [
string "org.freedesktop.DBus"
string ":1.7"
string "org.freedesktop.Notifications"
string ":1.888"
string ":1.889"
string ":1.647"
(no Whisperfish here)
]
method call time=1648908346.221439 sender=:1.914 -> destination=org.freedesktop.DBus serial=67 path=/; interface=org.freedesktop.DBus; member=GetNameOwner
string "org.sailfishos.coveraction.be.rubdos.harbour_whisperfish.pid31.id1"
method return time=1648908346.221463 sender=org.freedesktop.DBus -> destination=:1.914 serial=68 reply_serial=67
string ":1.896"
This is almost certainly DBus related, probably caused by !240 (merged) which touched DBus/Sailjail stuff a little.
Edited by Ruben De Smet