[PR #1303] fix(music): prevent popup from closing during track changes #9718

Open
opened 2026-05-23 03:57:22 +01:00 by JakeStanger · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/JakeStanger/ironbar/pull/1303
Author: @postsolar
Created: 12/26/2025
Status: 🔄 Open

Base: masterHead: fix/mpris-popup-persist


📝 Commits (2)

  • e64941f fix(music): prevent popup from closing during track changes
  • 714d5c8 fix(music): add timeout to distinguish transient vs real stops

📊 Changes

1 file changed (+44 additions, -5 deletions)

View changed files

📝 src/modules/music/mod.rs (+44 -5)

📄 Description

Changes behavior to keep popup open when switching tracks.

  • Popup no longer closes on next/prev track
  • Widget remains visible but empty when player is stopped (e.g. closed)

Note: Does not distinguish between stop and track change events. As a consequence, the bar widget is always visible (even if empty). This could be improved with a delay-based approach if needed.

🤖 Generated with Claude Code


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/JakeStanger/ironbar/pull/1303 **Author:** [@postsolar](https://github.com/postsolar) **Created:** 12/26/2025 **Status:** 🔄 Open **Base:** `master` ← **Head:** `fix/mpris-popup-persist` --- ### 📝 Commits (2) - [`e64941f`](https://github.com/JakeStanger/ironbar/commit/e64941fa7ceca74520840a57c11b6c6f86792cb4) fix(music): prevent popup from closing during track changes - [`714d5c8`](https://github.com/JakeStanger/ironbar/commit/714d5c80aba6408370f17895c833c3d535e84215) fix(music): add timeout to distinguish transient vs real stops ### 📊 Changes **1 file changed** (+44 additions, -5 deletions) <details> <summary>View changed files</summary> 📝 `src/modules/music/mod.rs` (+44 -5) </details> ### 📄 Description Changes behavior to keep popup open when switching tracks. - Popup no longer closes on next/prev track - Widget remains visible but empty when player is stopped (e.g. closed) Note: Does not distinguish between stop and track change events. As a consequence, **the bar widget is always visible (even if empty)**. This could be improved with a delay-based approach if needed. 🤖 Generated with [Claude Code](https://claude.com/claude-code) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
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
JakeStanger/ironbar#9718
No description provided.