X-Nemo-Single-Instance=no is not respected [released]
According to the docs (https://harbour.jolla.com/faq , https://harbour.jolla.com/faq#4.5.0), we should be able to disable single-instance launching of the app. This does not work on SFOS 3.2.1.x and looks like the issue started earlier. Please restore the expected behavior.
Why needed in my case: I am wrapping Flatpak apps using the same application (flatpak-runner). With the current state, I can run only single Flatpak app.
Edit: As it seems to be not reproduced by all, I am adding an example and config.
Sailfish version: 3.2.1.20
There are no patches installed. When testing, please make sure you don't have corresponding patch installed: https://coderus.openrepos.net/pm2/project/sailfishos-launcher-multi-instances-patch
Example: I have applications Flatpak Runner and Spectral. All applications are started via Lipstick app grid. When starting Flatpak Runner first, I get the same instance if I start Spectral later. Similar situation is if I start Spectral first and the runner later.
Corresponding desktop files:
Flatpak Runner, installed in /usr/share/applications/flatpak-runner.desktop
:
[Desktop Entry]
Type=Application
X-Nemo-Single-Instance=no
X-Nemo-Application-Type=no-invoker
Icon=flatpak-runner
Exec=flatpak-runner
Name=Flatpak
Example application desktop file (.local/share/applications/flatpak-runner-autogen-org.eu.encom.spectral.desktop
):
Name = Spectral
GenericName = Matrix Client
Comment = IM client for the Matrix protocol
Exec = flatpak-runner org.eu.encom.spectral
Terminal = false
Icon = /home/nemo/.local/share/flatpak/exports/share/icons/hicolor/512x512/apps/org.eu.encom.spectral.png
Type = Application
Categories = Network;InstantMessaging;
Name[en_US] = Spectral
X-Flatpak = org.eu.encom.spectral
X-Nemo-Single-Instance = no
X-Nemo-Application-Type = no-invoker
This certainly used to work for me, i'll have to check whether it still works or not.
EDIT: it appears to work still
r0kk3rz ( 2020-01-26 02:17:26 +0200 )edit@r0kk3rz: Please check whether you have any patches installed. In particular,
rinigus ( 2020-01-26 10:41:49 +0200 )editsailfishos-launcher-multi-instances-patch
. I have added examples above, maybe you can recognize whats wrong with them.