ProtonMail / proton-bridge

Proton Mail Bridge application
GNU General Public License v3.0
1.11k stars 145 forks source link

Window opens in --no-window mode unless I explicitly quit prior session. #482

Open joekm opened 1 month ago

joekm commented 1 month ago

Issue tracker is ONLY used for reporting bugs with technical details. "It doesn't work" or new features should be discussed with our customer support. Please use bug report function in Bridge or contact bridge@protonmail.ch.

Expected Behavior

protonmail-bridge --no-window should open PM-Bridge in the taskbar but not open the window.

Current Behavior

PM-bridge window will open unless I explicitly "Quit Bridge" on the prior session.

Possible Solution

nothing has worked for me thus far.

Steps to Reproduce

Set PM-Bridge to open on startup Verify the "--no-window" flag is set on the startup command If PM bridge was completed quit on the prior session, it will work as expected, otherwise, it will open a window despite the "--no-window" flag being set.

Version Information

This is version 3.11.1 running on EndeavourOS

Context (Environment)

On my PC, the problem exists in XFCE desktop, but not in Hyprland.
Could it be a corrupt config file? Problem has not existed prior to latest update. Previously running protonmail-bridge-bin from AUR, but it's no longer available.
On most recent update, installed protonmail-bridge from pacman repositories. This removed protonmail-bridge-bin.

Detailed Description

Not sure...

Possible Implementation

Not sure

joekm commented 1 month ago

OK, I've got it behaving the way I want in XFCE by unchecking "Save Session for Future Logins" on the Log Out dialog box. I don't recall having checked it in the first place so I'm assuming that was the default setting. I don't have a need to save the session between logins so that's an OK fix for me.

However, just in case this is a (at this point, very minor) bug, I'll leave it here. At this point, the "bug" description refines to "is desktop session is saved, PB-Bridge does not reopen minimized to system tray".