obsproject / obsproject/obs-studio

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

Open
#13,494 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C
Stars
76.4k
Forks
10.2k
Avg merge
4d 23h
Merged PRs (30d)
12

Description

Operating System Info

Other

Other OS

Manjaro Linux

OBS Studio Version

32.1.2

OBS Studio Version (Other)

No response

OBS Studio Log URL

https://obsproject.com/logs/HZdBWcGjRAOyr5Rp

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
  2. Right-click the tray menu and select Exit
  3. Observe that nothing happens
  4. Left-click the tray icon to show the window
  5. Right-click the tray menu and select Exit
  6. Observe that OBS exits as expected
Anything else we should know?

The only plugin I have is linux-vkcapture and the bug occurs as described with it disabled as well.

This causes no log output, it's just silently eaten.

This is a recreation of #10933 because the bug is still occurring for me.

KDE Plasma 6.6.4.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the issue with OBS launched using --minimize-to-tray, then trace the system-tray Exit action and compare it before and after the window is shown. Done means selecting Exit exits OBS in both states, with the existing reproduction steps passing on Manjaro Linux.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
desktop
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.