[GH-ISSUE #617] [Launcher] Multiple windows with focused state in Hyprland #7229

Closed
opened 2026-05-23 02:53:08 +01:00 by JakeStanger · 3 comments
Owner

Originally created by @donovanglover on GitHub (Jun 1, 2024).
Original GitHub issue: https://github.com/JakeStanger/ironbar/issues/617

Describe the bug
Possible to trigger states where multiple applications appear focused

To Reproduce
Steps to reproduce the behavior:

  1. Open a favorite application
  2. Switch to another workspace
  3. Open another favorite application
  4. Both applications now have the focused state

Expected behavior
Only one application should have the focused state

System information:

Configuration

Ironbar overlay for 24.05
final: prev: {
  ironbar = prev.ironbar.overrideAttrs (oldAttrs: rec {
    version = "0.15.1-unstable-2024-05-31";

    src = prev.fetchFromGitHub {
      owner = "JakeStanger";
      repo = "ironbar";
      rev = "6edfe940000d1a54a92fb71dd6254909724f9307";
      hash = "sha256-AD9lVgAfFUORYR/fCzO1vD7Ve8O9gFpJT/9dcZ47B2o=";
    };

    cargoDeps = oldAttrs.cargoDeps.overrideAttrs (prev.lib.const {
      name = "${oldAttrs.pname}-${version}-vendor.tar.gz";
      inherit src;
      outputHash = "sha256-eqyKX5eLiXjUFt/R5X8OIokz4s10GvFKvzoNURiWeAo=";
    });
  });
}

Additional context

  • Switching to the first open application removes the focus from the second one, and focus remains fixed when switching between the windows.
  • Switching to a new workspace and then the previous one (with the 2nd application) results in applications 1 and 2 appearing focused.
    • Only seems to occur when switching to a workspace that has application 2 focused
    • Opening a 3rd application causes the same behavior with the 1st and the 3rd
    • Application 1 remains focused when switching to an empty workspace
Originally created by @donovanglover on GitHub (Jun 1, 2024). Original GitHub issue: https://github.com/JakeStanger/ironbar/issues/617 **Describe the bug** Possible to trigger states where multiple applications appear focused **To Reproduce** Steps to reproduce the behavior: 1. Open a favorite application 2. Switch to another workspace 3. Open another favorite application 4. Both applications now have the focused state **Expected behavior** Only one application should have the focused state **System information:** - Distro: NixOS 24.05 at https://github.com/NixOS/nixpkgs/commit/805a384895c696f802a9bf5bf4720f37385df547 - Compositor: Hyprland v0.40.0 - Ironbar version: Latest commit from yesterday at https://github.com/JakeStanger/ironbar/commit/6edfe940000d1a54a92fb71dd6254909724f9307 **Configuration** <details><summary>Ironbar overlay for 24.05</summary> ```nix final: prev: { ironbar = prev.ironbar.overrideAttrs (oldAttrs: rec { version = "0.15.1-unstable-2024-05-31"; src = prev.fetchFromGitHub { owner = "JakeStanger"; repo = "ironbar"; rev = "6edfe940000d1a54a92fb71dd6254909724f9307"; hash = "sha256-AD9lVgAfFUORYR/fCzO1vD7Ve8O9gFpJT/9dcZ47B2o="; }; cargoDeps = oldAttrs.cargoDeps.overrideAttrs (prev.lib.const { name = "${oldAttrs.pname}-${version}-vendor.tar.gz"; inherit src; outputHash = "sha256-eqyKX5eLiXjUFt/R5X8OIokz4s10GvFKvzoNURiWeAo="; }); }); } ``` </details> **Additional context** - Switching to the first open application removes the focus from the second one, and focus remains fixed when switching between the windows. - Switching to a new workspace and then the previous one (with the 2nd application) results in applications 1 and 2 appearing focused. - Only seems to occur when switching to a workspace that has application 2 focused - Opening a 3rd application causes the same behavior with the 1st and the 3rd - Application 1 remains focused when switching to an empty workspace
JakeStanger 2026-05-23 02:53:08 +01:00
  • closed this issue
  • added the
    T:Bug
    label
Author
Owner

@donovanglover commented on GitHub (Jun 1, 2024):

FWIW I can reproduce this with NixOS 24.05 + Hyprland v0.39.1 at github.com/hyprwm/Hyprland@31d055f6d4 + Ironbar at github.com/JakeStanger/ironbar@6edfe94000

<!-- gh-comment-id:2143561390 --> @donovanglover commented on GitHub (Jun 1, 2024): FWIW I can reproduce this with NixOS 24.05 + Hyprland v0.39.1 at https://github.com/hyprwm/Hyprland/commit/31d055f6d487bd72fca5b10822e3f3bd95e94cc9 + Ironbar at https://github.com/JakeStanger/ironbar/commit/6edfe940000d1a54a92fb71dd6254909724f9307
Author
Owner

@JakeStanger commented on GitHub (Jun 3, 2024):

I can't replicate this one. Switching to another workspace immediately un-focuses the application for me, regardless of:

  • Whether it's a new or existing (populated) workspace
  • Whether the current focused application is a favourite
  • Whether the new focused application is a favourite

Is there something I'm missing here?

<!-- gh-comment-id:2146074276 --> @JakeStanger commented on GitHub (Jun 3, 2024): I can't replicate this one. Switching to another workspace immediately un-focuses the application for me, regardless of: - Whether it's a new or existing (populated) workspace - Whether the current focused application is a favourite - Whether the new focused application is a favourite Is there something I'm missing here?
Author
Owner

@donovanglover commented on GitHub (Jun 3, 2024):

No idea what happened but I can't reproduce with github.com/JakeStanger/ironbar@a93108b7e7 so I'm closing this

<!-- gh-comment-id:2146199761 --> @donovanglover commented on GitHub (Jun 3, 2024): No idea what happened but I can't reproduce with https://github.com/JakeStanger/ironbar/commit/a93108b7e70694583897b755aacf73bd2d728656 so I'm closing this
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#7229
No description provided.