[GH-ISSUE #337] Last app is displayed in focused module when no app is available on Hyprland #7153

Closed
opened 2026-05-23 02:52:45 +01:00 by JakeStanger · 2 comments
Owner

Originally created by @kepi on GitHub (Oct 17, 2023).
Original GitHub issue: https://github.com/JakeStanger/ironbar/issues/337

Describe the bug

This happens when I open new workspace or simply close only window on some workspace. Focused module doesn't clear itsef and I'm stuck with previous title.

To Reproduce

  1. start new hyprland session with ironbar with focused module on
  2. open any app with title
  3. close the app

Expected behavior

I expect focused module to be empty or dissappear.

System information:

  • Distro: Arch Linux
  • Compositor: Hyprland
  • Ironbar version: v0.13.0.r74.gc2306d6-1

Configuration

Config
center:
  - type: focused
    icon_size: 16
    truncate:
      mode: start

Originally created by @kepi on GitHub (Oct 17, 2023). Original GitHub issue: https://github.com/JakeStanger/ironbar/issues/337 **Describe the bug** This happens when I open new workspace or simply close only window on some workspace. Focused module doesn't clear itsef and I'm stuck with previous title. **To Reproduce** 1. start new hyprland session with ironbar with focused module on 2. open any app with title 3. close the app **Expected behavior** I expect focused module to be empty or dissappear. **System information:** - Distro: Arch Linux - Compositor: Hyprland - Ironbar version: v0.13.0.r74.gc2306d6-1 **Configuration** <details><summary>Config</summary> ```yaml center: - type: focused icon_size: 16 truncate: mode: start ``` </details>
JakeStanger 2026-05-23 02:52:45 +01:00
  • closed this issue
  • added the
    T:Bug
    label
Author
Owner

@JakeStanger commented on GitHub (Oct 17, 2023):

Thanks for reporting. Agreed it'd make sense for it to clear the label when nothing is in focus.

<!-- gh-comment-id:1767189443 --> @JakeStanger commented on GitHub (Oct 17, 2023): Thanks for reporting. Agreed it'd make sense for it to clear the label when nothing is in focus.
Author
Owner

@kepi commented on GitHub (Oct 19, 2023):

Thanks, for this use case it is working like a charm.

Unfortunately I described only one of two use cases hoping that fix will resolve both. I opened new issue in #339 for second one.

<!-- gh-comment-id:1771738846 --> @kepi commented on GitHub (Oct 19, 2023): Thanks, for this use case it is working like a charm. Unfortunately I described only one of two use cases hoping that fix will resolve both. I opened new issue in #339 for second one.
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#7153
No description provided.