flathub / ch.protonmail.protonmail-bridge

https://flathub.org/apps/details/ch.protonmail.protonmail-bridge
11 stars 7 forks source link

Doesn't run at boot. #134

Closed RokeJulianLockhart closed 3 months ago

RokeJulianLockhart commented 4 months ago

Reproduction

Install:

  1. https://download.fedoraproject.org/pub/fedora/linux/releases/test/40_Beta/Spins/x86_64/iso/Fedora-KDE-Live-x86_64-40-1.13.iso

  2. flatpak update app/ch.protonmail.protonmail-bridge/x86_64/stable --commit=a11f94091eee7084dce03a69ebfb1077edb651131efe6caaf6469c3136786208

Issue

Despite the relevant preference being enabled:

Screenshot_20240419_164106

It doesn't run at boot:

Screenshot_20240419_164421

Solution

If making the preference work isn't possible, I believe that that preference should be disabled, the user directed to use

Screenshot_20240419_164318

instead. However, were this the chosen solution, I expect that that would be an issue for upstream?

Cloudwalk9 commented 3 months ago

Pika Backup, as one example, miraculously adds itself to the autostart as a Flatpak somehow, fwiw. At least I don't recall manually adding it.

A6GibKm commented 3 months ago

They (pika backup) probably are using the portal for it. I am closing as it is not actionable from here.

RokeJulianLockhart commented 3 months ago

https://github.com/flathub/ch.protonmail.protonmail-bridge/issues/134#issuecomment-2117740950

@A6GibKm , which portal would that be? I don't know of one for autostarting.

Cloudwalk9 commented 3 months ago

https://github.com/flathub/ch.protonmail.protonmail-bridge/issues/134#issuecomment-2117740950

@A6GibKm , which portal would that be? I don't know of one for autostarting.

My best guess is what ever is for "Allow running in background", but it probably has to be used upstream explicitly.

RokeJulianLockhart commented 3 months ago

https://github.com/flathub/ch.protonmail.protonmail-bridge/issues/134#issuecomment-2117773477

Yeah, that seems to be the case, per https://github.com/ProtonMail/proton-bridge/issues/277#issuecomment-2061421606.