obs-studio icon indicating copy to clipboard operation
obs-studio copied to clipboard

Unable to exit OBS Studio via system tray, if window was never visible

Open PancakeTAS opened this issue 1 year ago • 4 comments

Operating System Info

Other

Other OS

Arch Linux

OBS Studio Version

30.1.2

OBS Studio Version (Other)

No response

OBS Studio Log URL

https://obsproject.com/logs/BVf81EABokxXeG4w

OBS Studio Crash Log URL

No response

Expected Behavior

When launching OBS directly into systray, opening the tray menu and selecting "Exit" should exit OBS.

Current Behavior

Instead, nothing at all happened.

Steps to Reproduce

  1. Run with --minimize-to-tray or check the option in the UI
  2. Open the tray menu and select Exit

Anything else we should know?

I was able to verify this behavior in Safe Mode as well (so none of my plugins are causing this issue). If the window was ever visible (even if hidden again) the button will work as intended.

(window manager is i3)

PancakeTAS avatar Jun 29 '24 17:06 PancakeTAS

~~Can't reproduce this on Plasma 5~~

Actually, after some further tests... I renamed ~/.config/obs-studio to get a clean config. On first launch when the auto-config wizard comes up, it works. But on subsequent launches with no window coming up, it doesn't.

My initial test was with Twitch login which makes the Twitch panels pop out as standalone windows, and as noted that works too.

Selecting Show from the tray menu and then minimizing it again also makes it work.

So it seems to be connected with a window being created.

mihawk90 avatar Jun 29 '24 17:06 mihawk90