[GH-ISSUE #373] Media control spawned process is always in doc #201

Closed
opened 2026-03-02 23:45:26 +03:00 by kerem · 3 comments
Owner

Originally created by @skoch13 on GitHub (Feb 16, 2024).
Original GitHub issue: https://github.com/aome510/spotify-player/issues/373

Describe the bug

Media control additional process is always in dock

To Reproduce
Being on MacOS enable media_control

Expected behaviour
Additional process is spawned, but it is not shown in the doc

Screenshots
Screenshot 2024-02-16 at 15 07 47

Environment

  • OS: MacOS 14.3.1
  • Application version: latest

Additional context
Using with WezTerm, tried also with iTerm2.

Originally created by @skoch13 on GitHub (Feb 16, 2024). Original GitHub issue: https://github.com/aome510/spotify-player/issues/373 **Describe the bug** Media control additional process is always in dock **To Reproduce** Being on MacOS enable `media_control` **Expected behaviour** Additional process is spawned, but it is not shown in the doc **Screenshots** ![Screenshot 2024-02-16 at 15 07 47](https://github.com/aome510/spotify-player/assets/29177689/9de44fe6-4f64-4a5b-a504-c1fdf46badff) **Environment** - OS: MacOS 14.3.1 - Application version: latest **Additional context** Using with WezTerm, tried also with iTerm2.
kerem 2026-03-02 23:45:26 +03:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@aome510 commented on GitHub (Feb 20, 2024):

This is an intended behaviour, so it's not a bug. From the config doc,

MacOS and Windows require an open window to listen to OS media event. As a result, spotify_player needs to spawn an invisible window on startup, which may steal focus from the running terminal. To interact with spotify_player, which is run on the terminal, user will need to re-focus the terminal. Because of this extra re-focus step, the media control support is disabled by default on MacOS and Windows to avoid possible confusion for first-time users.

<!-- gh-comment-id:1954777605 --> @aome510 commented on GitHub (Feb 20, 2024): This is an intended behaviour, so it's not a bug. From the [config doc](https://github.com/aome510/spotify-player/blob/master/docs/config.md#media-control), > MacOS and Windows require an open window to listen to OS media event. As a result, spotify_player needs to spawn an invisible window on startup, which may steal focus from the running terminal. To interact with spotify_player, which is run on the terminal, user will need to re-focus the terminal. Because of this extra re-focus step, the media control support is disabled by default on MacOS and Windows to avoid possible confusion for first-time users.
Author
Owner

@skoch13 commented on GitHub (Feb 20, 2024):

Yes, I mentioned that I read the docs. Is this process supposed to be hidden as stated in docs? This is why I opened the issue

<!-- gh-comment-id:1954975778 --> @skoch13 commented on GitHub (Feb 20, 2024): Yes, I mentioned that I read the docs. Is this process supposed to be hidden as stated in docs? This is why I opened the issue
Author
Owner

@aome510 commented on GitHub (Feb 20, 2024):

Yes, I mentioned that I read the docs. Is this process supposed to be hidden as stated in docs? This is why I opened the issue

The process corresponds to a separate window, so it's visible in the dock. MacOS shows all windows despite being hidden or not opened in the dock

<!-- gh-comment-id:1955072208 --> @aome510 commented on GitHub (Feb 20, 2024): > Yes, I mentioned that I read the docs. Is this process supposed to be hidden as stated in docs? This is why I opened the issue The process corresponds to a separate window, so it's visible in the dock. MacOS shows all windows despite being hidden or not opened in the dock
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/spotify-player#201
No description provided.