mirror of
https://github.com/JakeStanger/ironbar.git
synced 2026-07-11 07:15:19 +01:00
[GH-ISSUE #390] workspaces: favorites are missing .inactive unless switched to #7166
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#7166
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 @eclairevoyant on GitHub (Dec 29, 2023).
Original GitHub issue: https://github.com/JakeStanger/ironbar/issues/390
Describe the bug
On Sway, the workspaces module doesn't appear to correctly style the favorites (apply
.inactiveclass) unless I switch to them and back.To Reproduce
Steps to reproduce the behavior:
Expected behavior
Favorite workspaces should have
.inactiveapplied from the start.System information:
Configuration
Additional context
n/a
Screenshots
First 3 workspaces have windows open, the rest are favorites.
Top is ironbar
Bottom is waybar, as a reference of expected behaviour with persistent workspaces
Recording at https://imgur.com/a/EhBE6X3
@JakeStanger commented on GitHub (Dec 30, 2023):
Hey, thanks for reporting. The attached video appears to be corrupt, are you able to re-upload please?
@eclairevoyant commented on GitHub (Dec 30, 2023):
I've uploaded it to imgur, does this work? https://imgur.com/a/EhBE6X3
@JakeStanger commented on GitHub (Dec 30, 2023):
Yes it does, thank you :)
@yavko commented on GitHub (Dec 30, 2023):
After checking the code it seems that inactive is only added on a remove event to replace an existing workspace. For some reason it was removed in this commit
github.com/JakeStanger/ironbar@25c490b8b4 (diff-357f6c3c36)@JakeStanger commented on GitHub (Dec 30, 2023):
Good spot, thanks. It looks like when this was refactored that was lost & slipped through review.