Skip to content

fix(settings): show what frame mode controls - #3654

Merged
purian23 merged 3 commits into
duxlabs-dev:masterfrom
Conava:frame-mode-settings
Oct 10, 2026
Merged

purian23 merged 3 commits into
duxlabs-dev:masterfrom
Conava:frame-mode-settings

Conversation

@Conava

@Conava Conava commented Oct 2, 2026 •

Copy link
Copy Markdown
Contributor

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.

  • Bar → Appearance → Frame gets Background and Override / Opacity rows. They read and write the frame bar, with the same toggle-plus-slider shape as the per-bar row in Interface style → Bars
  • Settings the frame provides in connected mode get a "Managed by Frame in Connected Mode" row linking to the Frame card: Interface style → Border, Corner style and Background blur, Interface style → Docks opacity, Shadows → Apply to, Launcher → Border
  • Settings that have no effect get "Disabled by Frame Mode": Bar → Maximize detection and Shadows → Bar on a frame bar, Bar → Use overlay layer in separate mode (the frame forces it there), and bar corner, border and shadow in connected mode, which resets them on every bar, including bars on displays without a frame
  • No longer hidden in frame mode, since they still apply: Bar → Size (it sets widget pill thickness), Bar → Use overlay layer in connected mode (it decides whether the bar joins the frame), Dock → Over fullscreen, and margin, opacity and border for docks with Use overlay layer on, Launcher → Border for a launcher with Use overlay layer on
  • Notifications → Over fullscreen shows as on and grayed out when the frame covers every display, since the frame forces the overlay layer there
  • Launcher → Size, Show footer, Unload on close and Border are grayed out for the Spotlight style, which ignores them
  • The frame's "Width" row is labeled Thickness, and Bar inset padding goes to 100 to match its automatic value
  • Removes an onFrameOpacityChanged handler in FrameWindow.qml whose signal no longer exists

No 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:

  • The Frame card rows are a second place to set the frame bar's color and opacity. If you'd rather the frame's look live only on the bar, I can drop them and keep the notes.
  • Settings calls SettingsData._frameBarConfig(), which is private by convention. Happy to rename it if you want it public.
  • The notes all jump to the Appearance Frame card, because SettingsControlledBy can'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.
  • The dock and launcher notes use the global connected-mode flag, so with a frame on only some displays they can show for a dock or launcher on a display without a frame.

No docs change: the docs don't cover these settings, and their one frame passage (layer behavior) stays accurate.

Validation

  • Each new condition was checked against the code that draws the surface, in connected mode, separate mode and with the frame off, plus island and dot bars, the Spotlight launcher, and bars, docks and the launcher with Use overlay layer on
  • Tested by hand against this branch in connected mode, separate mode and with the frame off
  • make lint-qml, make build, python3 quickshell/tests/run-qml.py logic qt lock, settings search index regenerated and checked for freshness, prek run on the changed files (skipped the qml-tests surface fixtures, which need niri)

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

Scr

screenshot_2026-10-02_14-50-02 eenshots / video

Checklist

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.
Copilot AI balanced review requested due to automatic review settings October 2, 2026 12:54

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@bbedward

bbedward commented Oct 2, 2026

Copy link
Copy Markdown
Member

/claude review

@claude

claude Bot commented Oct 2, 2026

Copy link
Copy Markdown
Contributor

Claude review

No issues found.
Checked: SettingsControlledBy targets/sections, _frameBarConfig/barTransparency wiring for the new Frame Background and Opacity rows (connected-mode sanitizer leaves them alone), frameWindowVisibleForScreen and framePeerSurfacesUseOverlayForScreen behind the overlay-layer and notification changes, the DockSelectionState consumers, the Spotlight backend condition, the removed onFrameOpacityChanged, and whether any catalog files were touched. Model: claude-opus-5-5.

# Conflicts:
#	quickshell/Modules/Settings/DBarAppearanceTab.qml
#	quickshell/Modules/Settings/DBarTab.qml
#	quickshell/Modules/Settings/ThemeSurfacesTab.qml
@purian23
purian23 merged commit 6d331b8 into duxlabs-dev:master Oct 10, 2026
2 checks passed
@Conava
Conava deleted the frame-mode-settings branch October 10, 2026 09:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants