Closed REIS0 closed 4 years ago
Thanks for opening the issue! Do you know how this normally works for flatpak apps? Maybe @kcseb can take a closer look?
sorry i really don't know, i'm using other flatpaks, discord and slack for example, and i've never seen this happening
just to add that i've used to .deb version before and so far this doesn't happen
Will take a look at this in a short bit. Will try it out on both a fresh install, and existing install.
Can confirm that this indeed happens. When you run the Flatpak version via command-line, then spawn another instance, that secondary instance does not check to see if any others exist.
However, a warning is thrown from lbrynet ittself; "SDK already running Server already listening at localhost:5278. This is probably another LBRY app running. If not, games in the app will not work."
You mention being on PopOS? @REIS0 - Correct me if I am wrong, but that distribution is based on Debian? Or at the very least makes use of aptitude?
I'd highly suggest running the .deb as you were before rather than Flatpak.
I don't really know if Flatpak checks for existing spawns of any given application. That might be a question for the Flatpak folks themselves. I can tell you that this doesn't happen on the AUR version, either... So it seems to be attributed solely to the Flatpak version.
@kcseb Is based on ubuntu, so i'll use the .deb version then
what is strange is that lbry is the only program that this happens actually, never saw something like that with other flatpaks
I think it's a one-off issue with this package specifically. I'll look into adding a check for existing processes on startup.
For now, if you could, post an issue on the Flathub repository. Thank you!
https://github.com/flathub/io.lbry.lbry-app https://github.com/flathub/io.lbry.lbry-app/issues
done
Closing this for now since it's documented on the flathub issue.
Bug lbry desktop loads another instance even though is already running
To Reproduce Steps to reproduce the behavior:
Expected behavior To open the already running lbry
System Configuration