Repository navigation
fix(settings): show what frame mode controls - #3654
Merged
Merged
Conversation
With frame mode on, many settings did nothing or were hidden while still applying, and nothing said so. The frame takes its color and opacity from the first non-island bar, but that bar's Surface card is hidden while the frame styles it, so neither had a visible control. Add Background and Override/Opacity rows to the Appearance Frame card, bound to the same frame bar the renderer reads. Settings the frame provides in connected mode get a "Managed by Frame in Connected Mode" note (Interface style border, corner style, background blur and dock opacity, shadow targets, launcher border); settings with no effect get "Disabled by Frame Mode" (maximize detection, bar shadow, the bar's overlay layer in separate mode). Bar size, the bar's overlay layer in connected mode, dock Over fullscreen and the controls of overlay-layer docks and launchers are shown again, since they still apply. Notification Over fullscreen shows as forced on when the frame covers every display, and launcher rows the Spotlight style ignores are disabled. Also relabel the frame Width row as Thickness, raise the inset padding maximum to its automatic range, and drop a FrameWindow handler for the removed frameOpacity signal. No new strings.
6 of 12 tasks
Member
|
/claude review |
Contributor
Claude reviewNo issues found. |
# Conflicts: # quickshell/Modules/Settings/DBarAppearanceTab.qml # quickshell/Modules/Settings/DBarTab.qml # quickshell/Modules/Settings/ThemeSurfacesTab.qml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
This PR makes the settings UI show which settings frame mode controls, overrides or disables.
With frame mode on, many settings either do nothing or are hidden while still applying, and nothing says so (for example, Launcher → Border, which is never drawn on a launcher attached to the frame). The frame takes its color and opacity from the first enabled non-island bar (the frame bar) since 10e9c07, but that bar's Surface card is hidden while the frame styles it, so in frame mode there is no visible control for either.
In connected mode the frame, bar and popouts are drawn as one surface; in separate mode the frame is drawn on its own.
onFrameOpacityChangedhandler inFrameWindow.qmlwhose signal no longer existsNo new strings: every label reuses an existing term ("Managed by Frame in Connected Mode", "Disabled by Frame Mode", "Thickness", "Background", "Opacity", "Override"). "Frame Blur follows Background Blur in Theme & Colors" is now unused. No rendering changes.
A few things worth flagging:
SettingsData._frameBarConfig(), which is private by convention. Happy to rename it if you want it public.SettingsControlledBycan't target the General one. Frame settings being split over two cards both titled "Frame" (General and Appearance) is a separate question I've left out of this PR.No docs change: the docs don't cover these settings, and their one frame passage (layer behavior) stays accurate.
Validation
make lint-qml,make build,python3 quickshell/tests/run-qml.py logic qt lock, settings search index regenerated and checked for freshness,prek runon the changed files (skipped theqml-testssurface fixtures, which need niri)Type of change
Related issues
Scr
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