8000 Workspace color picker does not update custom workspace tab background (v0.7.17) · Issue #10 · amirlehmam/wmux · GitHub
[go: up one dir, main page]

Skip to content

Workspace color picker does not update custom workspace tab background (v0.7.17) #10

Closed

Description

@H37IX

Workspace color picker does not update active workspace background (v0.7.17)

Version: wmux v0.7.17
OS: Windows 11 Pro Version 10.0.26200 Build 26200
Install type: Release ZIP


Summary

Right‑clicking a workspace and selecting a color does not update the workspace background color.
The issue only affects all session tabs in workspace.

After investigation, the root cause is a CSS rule using !important that overrides the inline background color applied by the color picker. Running the app after making this change allowed me to once again change colors.


Steps to Reproduce

  1. Open wmux
  2. Right‑click a session tab in the sidebar
  3. Select a color
  4. Observe that:
    • The tab color does not update
    • Inline styles are applied, but overridden by CSS !important rule

Expected Behavior

  • The selected color should apply once selected
  • No CSS rule should block user‑selected colors

Actual Behavior

  • Active tab background remains unchanged
  • .workspace-row--active uses background: #0091FF !important, overriding inline styles
  • Removing !important resolves the issue

🔍 Root Cause

The following rule in the sidebar stylesheet prevents inline background colors from taking effect:

.workspace-row--active {
  background: #0091FF !important;
}

Activity

  1. amirlehmam commented on May 11, 2026

    @amirlehmam
    Owner

    Fixed in v0.7.18 — the actual one-line fix landed via @H37IX's #11, thanks!

    Your analysis was exactly right: .workspace-row--active { background: #0091FF !important; } was beating the inline style={{ backgroundColor: workspace.customColor }} that WorkspaceRow already sets. Inline styles normally win over class rules, so the !important was the only thing blocking the picker. Removed in sidebar.css, with a comment so it doesn't get reintroduced next time someone tweaks the active-row look.

    Custom colors now apply to the active row as expected. Closing — please reopen if anything still misbehaves after grabbing the new zip.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      0