mirror of
https://github.com/JakeStanger/ironbar.git
synced 2026-07-11 07:15:19 +01:00
[GH-ISSUE #339] Last app from previous workspace is displayed in focused module when you switch to empty workspace on Hyprland #8561
Labels
No labels
A:Build
A:CI
A:Client
A:Config
A:Core
A:Documentation
A:Documentation
A:IPC
A:Testing
A:UX/UI
blocked
BREAKING CHANGE
duplicate
good first issue
GTK4
help wanted
invalid
M:Battery
M:Battery
M:Bindmode
M:Bluetooth
M:Brightness
M:Cairo
M:Clipboard
M:Clock
M:Clock
M:Custom
M:Focused
M:Keyboard
M:Launcher
M:Menu
M:Music
M:Music
M:Music
M:Network Manager
M:Notifications
M:SysInfo
M:Tray
M:Volume
M:Workspaces
partially resolved
P:Critical
P:High
P:Low
P:Medium
pull-request
T:Bug
T:Bug
T:Core Enhancement
T:Module Enhancement
T:New Module
T:Question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
JakeStanger/ironbar#8561
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @kepi on GitHub (Oct 19, 2023).
Original GitHub issue: https://github.com/JakeStanger/ironbar/issues/339
Describe the bug
Just follow up for issue fixed in #337. This happens when I have one empty workspace and some workspace with window. When I'm on workspace with window and switch to empty workspace, there is still title of last app in focused module.
To Reproduce
Expected behavior
I expect focused module to be empty or dissappear on empty workspace.
System information:
Configuration
Config
@JakeStanger commented on GitHub (Oct 19, 2023):
Thanks for reporting, I completely missed that when testing.
I've just pushed a fix up on #340 that hopefully squashes it. I'm pretty sure Wayland should return results in the same order every time, but it does risk a race condition since the label is now cleared every time a window loses focus.
If you get a chance, can you give that branch a test and see if it seems reliable please? I'll be doing the same and if all seems good I'll merge in the next couple of days.
@kepi commented on GitHub (Oct 24, 2023):
Sorry, I had been away from computer most days. Just testing current git and works without any problem, thanks!