Skip to content

settings: move the bar opacity override to the bar's page - #4196

Merged
purian23 merged 6 commits into
duxlabs-dev:masterfrom
Conava:bar-opacity-override
Nov 28, 2026
Merged

purian23 merged 6 commits into
duxlabs-dev:masterfrom
Conava:bar-opacity-override

Conversation

@Conava

@Conava Conava commented Nov 7, 2026 •

Copy link
Copy Markdown
Contributor

Description

Moves the opacity override of bars and docks from Interface style to their own page. The frame bar and the island satellites already had their row there, while a normal bar or a dock only had a link to Interface style and an island bar had nothing, so it was hard to find what overrides what. This keeps the override on the settings page of the item it concerns.

Type of change

  • Bug fix (non-breaking change that fixes an issue)
  • New feature (non-breaking change that adds functionality)
  • Breaking change (fix or feature that changes existing behavior)
  • Refactor / internal cleanup
  • Documentation
  • Other

Related issues

Screenshots / video

screenshot_2026-11-25_19-16-36

Checklist

  • My code follows the conventions in CONTRIBUTING.md
  • I have tested my changes locally
  • New user-facing strings are wrapped in I18n.tr() with translator context, reusing existing terms where possible
  • Go changes: ran make fmt, added/updated tests, make test passes, and go mod tidy is clean
  • QML changes: ran make lint-qml with no new warnings
  • I have opened a corresponding pull request in dux-docs to document any new behaviors: https://github.com/duxlabs-dev/dux-docs

The override for a bar lived in a list under Interface style, with only
a link to it from the bar's settings, while the frame bar and the island
satellites had their row on the bar's page.

Give every bar the same row in its Surface card and drop the Bars card
from Interface style. Island bars had no link at all, so they can now
reach it from their own page too. Docks stay in Interface style.

The satellite and widget opacity rows now read Opacity with Override
below it, like the frame row.
@github-actions github-actions Bot added the ui Quickshell UI under quickshell/ label Nov 7, 2026
@bbedward

bbedward commented Nov 8, 2026

Copy link
Copy Markdown
Member

/claude review

@github-actions

github-actions Bot commented Nov 8, 2026 •

Copy link
Copy Markdown
Contributor

Claude review

No issues found.
Checked: new BarOpacityRow and its use for frame, normal and island bars (visibility vs islandShadowsSelectedBar/frame styling, updateBarConfig patches, followInterfaceStyle consumers), the Docks-only ThemeSurfacesTab card and its row component for leftover bar/frame refs, removed surfaceOpacity_bar_/barOpacityOverrides section links, the regenerated search index, and i18n reuse. Model: claude-opus-5-5.

@bbedward

Copy link
Copy Markdown
Member

Please rebase

# Conflicts:
#	quickshell/Modules/Settings/DBarAppearanceTab.qml
@github-actions

github-actions Bot commented Nov 24, 2026 •

Copy link
Copy Markdown
Contributor

Claude review

No issues found.
Checked: after the rebase, BarOpacityRow for the frame, normal and island bars (Surface card gating on frame styling, islandShadowsSelectedBar visibility, updateBarConfig patches, followInterfaceStyle consumers), the Docks-only ThemeSurfacesTab card and row with no leftover bar/frame references, removed surfaceOpacity_bar_/barOpacityOverrides links, the regenerated search index, and i18n reuse. Model: claude-opus-5-5.

# Conflicts:
#	quickshell/Modules/Settings/DBarAppearanceTab.qml
#	quickshell/Modules/Settings/ThemeSurfacesTab.qml
@github-actions

github-actions Bot commented Nov 24, 2026 •

Copy link
Copy Markdown
Contributor

Claude review

No issues found.
Checked: after the latest master merge, BarOpacityRow against the reworked SettingsToggleSliderRow (sliderText, modified/valueModified, reset and drag signals), its use for the frame, normal and island bars (Surface card gating, islandShadowsSelectedBar visibility, updateBarConfig patches), the Docks-only ThemeSurfacesTab card with no leftover bar/frame refs, removed surfaceOpacity_bar_/barOpacityOverrides links, the regenerated search index, i18n reuse and deprecated shims. Model: claude-opus-5-5.

@Conava

Conava commented Nov 24, 2026

Copy link
Copy Markdown
Contributor Author

done @bbedward, merged master in.
One change compared to what is in the description: It now shows Override on top with Opacity on the slider, following the new changes I merged in.

@purian23

Copy link
Copy Markdown
Member

I think it makes sense to update the docks here as well. It would be the odd man out otherwise.

Docks get the same Override and Opacity row as bars, in a new Surface
card on the dock's Appearance page, which replaces the link to
Interface style. The Docks card under Interface style is removed, so
no per-item overrides are left there. The row component now serves
bars and docks.
An island bar draws its own surface while the frame is on, so its
Surface card stays visible then. The dock Surface card no longer hides
in connected frame mode: a dock on a screen without the frame still
uses its own opacity, as the old Docks card on Interface style allowed.
The dock Surface card only shows when the dock paints its own surface
on at least one of its screens, so it never sits next to the note that
the frame manages it. A bar on the island's edge keeps its opacity row,
like the Background row beside it.
@github-actions

github-actions Bot commented Nov 25, 2026 •

Copy link
Copy Markdown
Contributor

Claude review

No issues found.
Checked: the new OpacityOverrideRow and its bar/dock update paths, the frame, normal, island and island-edge bar rows (Surface card gating with frame styling), the dock Surface card gated on paintsOwnSurface against DockBody's per-screen connected chrome, the removed ThemeSurfacesTab Bars/Docks cards with no leftover section links, barTransparency consumers, the regenerated search index, i18n reuse, component reuse and deprecated shims. Model: claude-opus-5-5.

@Conava

Conava commented Nov 25, 2026

Copy link
Copy Markdown
Contributor Author

Done @purian23, description update too with all the changes I've made since

@purian23
purian23 merged commit 82c5ef5 into duxlabs-dev:master Nov 28, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

internal ui Quickshell UI under quickshell/

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants