Repository navigation
settings: move the bar opacity override to the bar's page - #4196
Conversation
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.
|
/claude review |
Claude reviewNo issues found. |
|
Please rebase |
# Conflicts: # quickshell/Modules/Settings/DBarAppearanceTab.qml
Claude reviewNo issues found. |
# Conflicts: # quickshell/Modules/Settings/DBarAppearanceTab.qml # quickshell/Modules/Settings/ThemeSurfacesTab.qml
Claude reviewNo issues found. |
|
done @bbedward, merged master in. |
|
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.
Claude reviewNo issues found. |
|
Done @purian23, description update too with all the changes I've made since |
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
Related issues
Screenshots / video
Checklist
I18n.tr()with translator context, reusing existing terms where possiblemake fmt, added/updated tests,make testpasses, andgo mod tidyis cleanmake lint-qmlwith no new warnings