Skip to content

Add conditional bar transparency option - #12446

Open
epgeroy wants to merge 11 commits into
omacom:quattrofrom
epgeroy:feat/bar-transparent-empty-workspace
Open

epgeroy wants to merge 11 commits into
omacom:quattrofrom
epgeroy:feat/bar-transparent-empty-workspace

Conversation

@epgeroy

@epgeroy epgeroy commented Sep 18, 2026 •

Copy link
Copy Markdown

Summary

A transparent bar should let the wallpaper breathe when the desktop is genuinely clear. The moment an application is visible, including a scratchpad or agent window, the bar should become solid again so controls remain visually grounded and readable.

for each monitor
  transparency disabled → solid
  workspace mode disabled → existing transparent behavior
  normal or visible special workspace has windows → solid
  no visible windows → transparent

What This Adds

  • bar.transparentOnlyWhenWorkspaceEmpty controls whether bar transparency follows visible windows.
  • bar.transparentForegroundPerMonitor gives each monitor its own wallpaper-aware text color while transparent.
  • Both settings default to false; the new transparency policies are opt-in.

Behavior

Situation Bar background
bar.background is "opaque" or "glassy" Existing opaque/glassy behavior
Transparency is enabled without workspace mode Transparent, unchanged behavior
Workspace mode is enabled and a normal workspace has a window Solid
Workspace mode is enabled and a visible special workspace has a window Solid
Workspace mode is enabled and no windows are visible on that monitor Transparent

The decision is made independently for every monitor. An empty display can keep its transparent bar while another display with applications has a solid one. A visible special workspace, such as the OpenCode agent scratchpad, counts as an application on that monitor; a hidden special workspace does not.

Configuration

{
  "bar": {
    "background": "none",
    "transparentOnlyWhenWorkspaceEmpty": true,
    "transparentForegroundPerMonitor": true
  }
}

transparentForegroundPerMonitor is optional. When enabled, every first-party bar surface samples the wallpaper using that monitor's dimensions and selects its own legible foreground color. This also keeps mixed transparent and opaque monitors independent, preventing a bar from disappearing when another monitor has a different visibility state.

Compatibility Notes

The two new settings default to false, preserving the existing solid/transparent background policy. Two color roles also change for existing transparent-bar setups: symbolic tray icons on the bar now follow the wallpaper-aware barForeground, and clock, weather, and tray popup text uses Color.popups.text. Shipped themes assign the same text color to bar and popups; custom themes can set those roles independently.

The branch now includes quattro through e485c622, preserving its opaque/glassy/clear background selection, five-section layout, persistent widget pools, notch-aware sizing, drag behavior and panel handoffs. Legacy transparent: true remains supported when background is absent; an explicit background takes precedence.

Upstream #17229, commit 796e169a, deliberately removed ScreenMoveRemap: Hyprland 0.57 moves mapped surfaces with their monitor. This PR retains upstream's removal and its notch-readiness visibility gate, rather than reintroducing the obsolete helper or forcing visible: true.

Implementation Notes

  • Tracks Hyprland normal workspace windows and visible special-workspace windows.
  • Handles both activespecial and activespecialv2 Hyprland events.
  • Gives each first-party bar surface a monitor-local bar facade for its transparency and foreground state.
  • Retains the existing shared foreground behavior unless the new per-monitor foreground option is explicitly enabled.
  • Keeps third-party facades scoped to persistent widget hosts, including duplicate copies of the same plugin.
  • Forwards click targets, notch-aware panel positioning, tray state and panel handoff geometry through first-party surfaces.
  • Updates a requesting widget's popup state immediately, without losing upstream's coalesced facade synchronization.

Related Work

#7568 proposes bar.transparent: "dynamic" with a different policy: it evaluates the focused workspace and considers floating-only workspaces empty. This PR evaluates every monitor independently and counts all visible windows, including floating windows, as occupied. The configuration approaches overlap and will need a maintainer choice if both move forward.

Evidence

  • Before: On Omarchy 4.0.0.r7787.g5ea0c80-1, the cloned bar logged ScreenMoveRemap is not a type, then bar option epgeroy.bar failed to load, falling back to omarchy.bar. The updated mapped-surface regression assertion also failed before the fix.
    After: The merged branch's actual shell was run on Hyprland 0.57.1. Live pixel comparisons verified occupied → empty → occupied: solid background srgb(1,4,9) → wallpaper srgb(121,160,176) → pixel-identical solid background. Audio and display panels opened with readable content. Full-screen captures were inspected for layout and clipping. The original shell, configuration and workspace were restored after verification.

Focused tests passed after the compatibility fix:

  • bash test/shell.d/bar-test.sh
  • bash test/shell.d/bar-transparency-test.sh
  • bash test/shell.d/tray-test.sh
  • bash test/shell.d/qml-text-format-test.sh
  • bash test/shell.d/plugin-auth-boundary-test.sh (including runtime)
  • bash test/shell.d/bar-widget-contract-test.sh
  • bash test/shell.d/bar-drag-test.sh
  • bash test/shell.d/bar-notch-test.sh
  • bash test/shell.d/bar-click-clipping-test.sh
  • bash test/shell.d/tray-menu-test.sh
  • bash test/shell.d/keyboard-panel-lazy-test.sh
  • bash test/shell.d/color-reference-test.sh
  • bash test/shell.d/config-test.sh
  • bash test/shell.d/clock-test.sh
  • bash test/shell.d/weather-test.sh
  • git diff --check

The new runtime fixture instantiates the actual bar, persistent widget hosts and duplicate third-party widgets. It checks per-surface injection, one-click-switching click targets, popup geometry and state, clear/opaque transitions, and facade identity/ownership after removing one duplicate. The function harness retains the mixed-monitor, scratchpad and busy-sampler regressions and adds modern/legacy background precedence checks.

The config suite initially lacked sparse-checkout dependencies; it passes after materializing default/. Standalone Qt 6 qmllint rejects Quickshell's id inside the tooltip anchor property on both unchanged upstream and this branch. Real Quickshell runtime tests pass. The full shell suite and physical dual-monitor hotplug were not run for this merge-resolution follow-up.

Earlier feature validation included live dual-monitor checks: empty and occupied monitors render independently, visible scratchpad windows make their monitor's bar solid, and both bars remain visible in mixed states.

Screenshots

No visible change: the merge-resolution follow-up preserves the previously verified adaptive appearance while adopting upstream's current bar layout and background API. Local full-screen reference/candidate captures and audio/display popup captures were inspected; they are not committed to the repository.

Merge Danger

Door: Two-way

The feature and merge resolutions are revertible. No configuration migration or data changes are required.

Blast Radius: Bar

The feature affects bar backgrounds, wallpaper-aware icon colors, popup text roles and widget facade routing. Both policy flags default to off; opaque/glassy modes retain upstream behavior. Monitor movement relies on the current upstream Hyprland 0.57 behavior, not the removed remap workaround.

@llstrk

llstrk commented Sep 25, 2026

Copy link
Copy Markdown

Automated AI review

Community review: Independent automated community review, unaffiliated with the Omarchy team, intended to help prepare PRs for their review.

The defaults do not fully preserve existing behavior. Handing first-party widgets a per-monitor bar object drops clickTargets. With both new options at false, this breaks one-click switching between bar panels and fails an existing shell test. The opt-in per-monitor foreground can also make popup text match the popup background.

Verified (source review against Quickshell and Hyprland source):

  • Both new keys default to false in config/omarchy/shell.json and fallbackBarConfig, and are read with === true, so existing user configs without them behave as false.
  • Each bar surface paints its background from its own monitor (Hyprland.monitorFor(screen)), not the focused one. A visible special workspace with windows keeps that monitor's bar solid; a hidden one does not count.
  • BarModel.specialWorkspaceEvent matches the shapes Hyprland emits: activespecial as NAME,MON / ,MON and activespecialv2 as ID,NAME,MON / ,,MON.
  • omarchy-bar-text-color already accepts --screen WxH, and the helper output is checked against ^#[0-9A-Fa-f]{6}$ before use.

First-party keyboard panels lose one-click switching to another bar icon

ModuleSlot.injectProps now gives first-party widgets root.slotWindow(slot), the per-screen BarPanel, instead of root, in every configuration (shell/plugins/bar/Bar.qml:2159-2167). The BarPanel stand-in (Bar.qml:1306-1350) forwards most of the bar API but has no clickTargets. First-party panels (audio, network, bluetooth, clock, power, monitor, tailscale, weather, dropbox, agents) pass that bar to KeyboardPanel, which needs it to forward clicks on the bar strip:

panel open, click on another bar icon
  KeyboardPanel.onClicked
    forwardBarClick -> pressTargetAt
      base: root.bar.clickTargets = [registered buttons] -> target.triggerPress() -> new panel opens
      head: root.bar.clickTargets = undefined -> return null -> root.close()   (second click needed)

(shell/Ui/KeyboardPanel.qml:302-331)

Button registration still reaches root.clickTargets through the forwarded registerClickTarget, so only the read side is missing. No other member that first-party code or the shared shell/Ui components read from bar is missing.

Impact: with the new options off, every first-party panel now needs two clicks to switch to another bar panel. Established from source; not observed on a desktop.

Suggested change: add readonly property var clickTargets: root.clickTargets to BarPanel. Alternatively, keep passing root to first-party widgets and expose the per-surface state separately.

Existing shell test fails on this head

test/shell.d/plugin-auth-boundary-test.sh:88-92 asserts the literal target.bar = firstParty ? root : root.pluginBarApiFor(...). The head now reads ? (barSurface || root) :, so the file exits 1 with not ok - third-party widgets receive a bar facade instead of the host bar. The static portion of the test was run in a sandbox: all 11 groups pass on the merge-base, and the head fails at this group. The third-party branch itself is unchanged, so this is a test-contract mismatch, not a third-party exposure. shell/plugins/bar/README.md ("Widgets receive bar (the shell root)") describes the same contract.

Suggested change: once the facade question above is settled, update the assertion and the README to the new first-party contract.

transparentForegroundPerMonitor: popup text can match the popup background

With the option on and the bar transparent, BarPanel.foreground becomes the wallpaper-selected colour (Bar.qml:1316-1317), not the theme text colour. First-party panels use bar.foreground for content on their own popup card (for example panels/clock/Panel.qml:78, panels/weather/Panel.qml:540, shell/Ui/PanelSlider.qml).

Colour
Helper candidates Color.bar.text or Color.background
Popup card background Color.popups.background, which defaults to Color.background (shell/Commons/Color.qml:78-81)
Panel text when the helper picks the contrast colour Color.background, the same as the card

Impact: a dark theme with a bright top strip in the wallpaper can make panel labels, icons and slider fill invisible. Established from source; not rendered.

Suggested change: keep foreground: root.foreground on the facade and let only barForeground follow the per-monitor sample.

transparentOnlyWhenWorkspaceEmpty: stale special-workspace state after enabling at runtime

The activespecial listener runs only while the option is on (Bar.qml:1162-1170), and visibleSpecialWorkspaceNames takes priority over lastIpcObject.specialWorkspace, which Quickshell does not refresh on special-workspace events. Sequence: open a populated scratchpad with the option on, turn it off, hide the scratchpad, turn it on again. The stored name still points at the hidden, populated workspace. The reverse case is a scratchpad shown while the option is off.

Impact: after the option is toggled at runtime, a bar can stay solid on an empty monitor, or transparent over a shown scratchpad, until the next special-workspace toggle. Established from source; not observed on a desktop.

Suggested change: track the special-workspace events regardless of the option, or clear and re-fetch monitor state when it is enabled.

Smaller notes

  • Existing transparent: true setups: the base kept the bar solid until the helper returned a text colour. The head clears the background immediately and shows theme text until the 120 ms timer and helper finish (Bar.qml:1310, 1426). This contradicts the comment at Bar.qml:1098-1099, and if the helper never returns a colour, the bar now stays transparent. Transient in the normal case.
  • Helper reruns on unrelated events: in workspace mode every Hyprland raw event, including title changes on other workspaces, schedules syncTransparency(). While the focused workspace is empty, that relaunches omarchy-bar-text-color (ImageMagick) after each burst. Filtering to window, workspace, special-workspace and monitor events would avoid this. CPU cost not measured.
  • Mixed monitors: third-party widgets (PluginBarApi, Bar.qml:130-145) and drag ghost/border chrome still take transparent and barForeground from the focused monitor. For example, a third-party widget on a solid monitor can get the contrast colour chosen for an empty focused monitor. Without the per-monitor option, an empty unfocused monitor also shows theme text whenever the focused monitor has windows.
  • --screen size: HyprlandMonitor.width/height are physical, untransformed mode pixels, while barSize is logical. A rotated or scaled monitor is sampled from the wrong region or too thin a strip. barWindow.screen.width/height gives the logical, oriented size.

Review information

Test scope: Source review of the pinned head 30b88100 and its merge-base, including the Quickshell Hyprland IPC module and Hyprland event and monitor source (Quickshell v0.3.1 and a 2026-09-25 revision; Hyprland v0.56.2 and a 2026-09-23 revision; Omarchy does not pin either). The static portion of plugin-auth-boundary-test.sh was run in a sandbox on base and head. The Node-based test blocks were not run, and no desktop session was used, so runtime and visual effects above are established from source, not observed.

AI process: Opus 5.5 Medium coordination and synthesis, independent Opus 5.5 Xhigh and GPT 6 Sol Xhigh technical assessments with targeted follow-up questions, Opus 5.5 Medium editorial check.

Opt out: To stop receiving these reviews, reply to this comment saying so.

@epgeroy

epgeroy commented Sep 26, 2026

Copy link
Copy Markdown
Author

@llstrk — following up on your review of 30b88100. The fixes are in 82333b0f and the newly pushed 4346ac35.

Changes addressing the review

82333b0f restored clickTargets on the first-party bar surface, updated the facade-contract test and README, separated popup text from wallpaper contrast, and kept special-workspace tracking active while workspace mode is disabled. It also restored the contrast-readiness gate for ordinary transparency, filtered unrelated Hyprland events, made third-party widget facades and drag chrome monitor-local, and switched per-monitor sampling to logical, oriented screen dimensions.

The follow-up in 4346ac35 closes two remaining color issues and a startup issue found during live verification:

  • Shared contrast across mixed monitors: keep and refresh the shared wallpaper foreground whenever any monitor needs transparency. Focusing an occupied monitor no longer clears the readable text color on an empty secondary monitor. Each monitor still controls its own background independently.
  • Tray popup colors: the preceding tray change also applied the bar's wallpaper color to opaque menus. Tray management and application-menu content now use Color.popups.text; symbolic icons on the bar retain wallpaper contrast, and copies inside the management popup receive a popup-specific tint.
  • Startup initialization: when initial Hyprland state makes a surface transparent, it now wakes the shared sampler without waiting for a raw event or focus change.

Validation

  • Added regression coverage for shared-color retention, refreshes with an occupied monitor focused, delayed monitor initialization, scratchpad visibility, late helper results, ordinary transparency, and tray color separation. The two original regression cases failed before the fixes and pass afterward.
  • Passed bar-transparency-test.sh, bar-test.sh, tray-test.sh, qml-text-format-test.sh, and the QML bar-widget-contract-test.sh.
  • The static/Node portion of plugin-auth-boundary-test.sh passed; its graphical runtime portion was skipped.
  • Live dual-monitor verification: tested the patched code through temporary user plugin copies on eDP-1 (1920×1200) and DP-3 (3440×1440), using a bright wallpaper and dark theme. Reproduced both reported color failures before applying the fixes, then inspected before/after screenshots. Verified focus switching, shared and per-monitor foreground modes, scratchpad show/hide, readable tray management and application menus, ordinary transparency with both new options off, and shell restart while the occupied monitor was focused.

The temporary diagnostics and test plugin were removed and the original desktop configuration restored after verification.

@llstrk

llstrk commented Sep 27, 2026

Copy link
Copy Markdown

Automated AI review

Community review: Independent automated community review, unaffiliated with the Omarchy team, intended to help prepare PRs for their review.

Follow-up to the earlier review of 30b88100 and the author's reply, checked at 4346ac35.

Verified: all eight earlier findings are resolved at 4346ac35, and no material regression was found in 82333b0f or 4346ac35. The changed tests pass on the head and on the head merged with the current quattro tip (d3fb0284). A few small notes follow.

Earlier finding Status at 4346ac35
First-party panels lose one-click switching (clickTargets) Resolved: BarPanel forwards clickTargets (Bar.qml:1402). Every bar.<member> that first-party code and shell/Ui read is forwarded, on the head and after the merge.
plugin-auth-boundary-test.sh failed; README described the shell root Resolved: assertions updated. The static part passes on head and merge; the README describes per-monitor surfaces and third-party facades.
Per-monitor foreground could make popup text match the popup card Resolved: BarPanel.foreground is Color.popups.text or root.foreground, never the wallpaper sample. Clock, weather and tray popups use Color.popups.text.
Stale special-workspace state after toggling the option Resolved: the activespecial/activespecialv2 listener runs regardless of the option (Bar.qml:1219-1228).
Ordinary transparent: true lost the wait-for-helper gate Resolved: the bar clears only after a valid helper result, including when switching back from workspace mode.
Helper reruns on unrelated Hyprland events Resolved: BarModel.affectsTransparency filters events, and syncTransparency reuses an existing colour.
Mixed monitors: third-party widgets and drag chrome followed the focused monitor Resolved: facades are per slot, drag chrome reads its own screen's surface, and the shared colour stays while any monitor is transparent.
--screen used physical monitor size Resolved: it uses barWindow.screen.width/height (logical), and the sampler reruns when that size changes.

The new bar-transparency-test.sh fails against single-line reverts of the shared-foreground, startup-wake and reuse-guard changes, so it protects those fixes. Reverting the per-surface wait-for-helper binding (Bar.qml:1378-1379) is caught only by a source-text check in bar-test.sh.

Correction to an earlier Verified note: the earlier review gave activespecialv2 as ID,NAME,MON. That matches Hyprland v0.56.2. On current Hyprland main, the first field is the workspace address; for special workspaces the address equals the name. BarModel.specialWorkspaceEvent does not read that field, so parsing is unaffected.

Shared wallpaper sampler keeps a colour computed from old inputs

The root sampler (Bar.qml:1161-1217) handles an input change that arrives while its helper is still running like this:

helper running (started with old theme/position; may already have read the old wallpaper)
  input changes -> scheduleTransparentForegroundRefresh() -> 120 ms timer
  timer fires   -> refreshTransparentForeground(): helper still running -> return  (request not remembered)
  helper exits  -> onRead applies the old-input colour; no rerun

This race already exists on the base. Before this PR, every shell.json re-apply took a fresh sample, which happened to correct a stale colour. Since 82333b0f, the reuse guard in syncTransparency (if (!useTransparentForeground), Bar.qml:1152) skips that resample. The same commit closed this gap in the per-surface sampler: it sets foregroundRefreshPending and reschedules from onRunningChanged (Bar.qml:1412-1415, 1471-1476).

Impact: small. A shared bar colour computed from the previous theme or position, and possibly the previous wallpaper, stays until the next wallpaper, theme or position change or transparency toggle. In workspace mode it is also resampled once every monitor is occupied and one empties again. This happens only when the timer fires before the helper exits. Established from a Node harness running the real Bar.qml sampler functions with a scripted timer and helper; helper runtime was not measured and nothing was rendered.

Suggested change: give the root sampler the same pending flag and onRunningChanged retry as the per-surface sampler.

Optional test improvement: no test exercises the per-surface retry. Setting foregroundRefreshPending = false (Bar.qml:1413), or disabling the retry condition at line 1472, leaves all changed tests passing, although a harness run shows the change is then lost. A test that changes the theme while a per-surface helper runs, and then checks for a second launch with the new arguments, would cover it.

Smaller notes

  • Documentation: transparentOnlyWhenWorkspaceEmpty and transparentForegroundPerMonitor do not appear in any documentation. The shell.json listing in docs/omarchy-shell.md (where quattro moved it from shell/README.md) and the example configs in shell/plugins/bar/README.md and manual/05-the-top-bar.md show transparent but neither new key. The custom-QML paragraph in docs/omarchy-shell.md does not mention barForeground, while the bar README now recommends barForeground for bar text.
  • Colour changes with both new options off: tray symbolic icons on the bar now use barForeground (Tray.qml:774), so with transparent: true they follow the wallpaper contrast colour like the other bar widgets. Clock, weather and tray popups now always use Color.popups.text, while other panels still use bar.text. Shipped themes set both to the same value, so the popup change is invisible with them. The PR description states that defaults preserve existing behaviour; mentioning these two changes there would help maintainers.
  • Related open PR: Add dynamic bar transparency mode #7568 adds an overlapping "dynamic" value for bar.transparent. It uses a different window policy: the focused workspace only, with floating-only workspaces counted as empty. That differs from the per-monitor, all-windows policy here. Both PRs change Bar.qml, BarModel.js and the bar docs and tests.

Review information

Test scope: Source review of 4346ac35, 82333b0f, 30b88100 and the base, plus Quickshell (main, 2026-09-25, and v0.3.1), Hyprland (main, 2026-09-26, and v0.56.2) and Qt Declarative source. In a sandbox, the PR's changed shell tests (Node and static portions) were run on base, head, quattro and head merged with quattro. The full test/shell.d suite was run on the merge and on quattro, with the same 11 failures on both, none in bar code, and no new ones. Also run: single-line mutants of Bar.qml, and Node harnesses executing the real Bar.qml functions with stubbed Hyprland objects. Compositor-dependent QML tests were skipped, no desktop session was used, and the author's live dual-monitor check was not repeated; visual effects are established from source, not observed.

AI process: Opus 5.5 Medium coordination and synthesis, Opus 5.5 Xhigh technical review and final fact check, GPT 6 Sol Xhigh search for related issues, Opus 5.5 Medium editorial check.

Opt out: To stop receiving these reviews, reply to this comment saying so.

@omarchybot omarchybot added the enhancement New feature or request label Sep 27, 2026
@epgeroy

epgeroy commented Sep 29, 2026

Copy link
Copy Markdown
Author

@llstrk — thanks for the follow-up review at 4346ac35. The remaining sampler race, test gap, and documentation notes are addressed in afd6f833 and 9ac06bee.

  • Shared sampler: A theme/position/wallpaper refresh requested while omarchy-bar-text-color is running is now remembered, then resampled with the latest inputs when the helper exits. Pending work is cleared if transparency is disabled or no monitor needs it.
  • Per-monitor sampler: A debounce timer that expires while its helper is busy now also records a pending refresh, rather than dropping that request.
  • Behavioral coverage: bar-transparency-test.sh executes the real QML functions and process handlers for both samplers. It checks in-flight theme changes, the second launch's arguments, coalescing, cancellation, and per-monitor screen dimensions. The shared-sampler case failed before the fix.
  • Documentation: Both options and their defaults are described in docs/omarchy-shell.md, manual/05-the-top-bar.md, and the bar README, including bar.barForeground for bar content versus Color.popups.text for popup cards. The PR description now qualifies the default-behavior claim and notes the different policy in Add dynamic bar transparency mode #7568.

Verification: The focused transparency, bar, and tray shell tests, QML text-format check, bar-widget contract, qmllint, and git diff --check passed. Live tests on the installed user bar plugin used a deliberately slow helper and confirmed that both samplers record a pending request and launch the normal helper afterward. On eDP-1 (1920×1200) and DP-3 (3440×1440), I inspected captures of empty/occupied monitors in both directions, with shared and per-monitor foregrounds, focus changes, a visible scratchpad, and a shell restart while the occupied monitor was focused. The temporary diagnostics and test-only configuration were removed afterward.

@jandrusk

Copy link
Copy Markdown

Conditional bar transparency is interesting UX. Merge is dirty; community review caught clickTargets / sampler races that the author says are fixed. Rebase and re-verify the facade contract before review.

@greptile-apps

greptile-apps Bot commented Nov 11, 2026 •

Copy link
Copy Markdown
Contributor

RetriggerView in GreptileConfidence Score: 5/5

[Medium impact] The PR appears safe to merge; the previous test concern is fully addressed.

Summary

Adds opt-in, per-monitor bar transparency based on visible windows, with optional wallpaper-aware text colors for each monitor.

  • Each monitor's bar turns transparent when its visible workspaces are empty.
  • Each bar surface and widget facade follows its own monitor's foreground.
  • Tray, clock, and weather popups use their own text colors.

Diagram

%%{init: {'theme': 'neutral'}}%%
flowchart TD
  A[For each monitor] --> B{Clear background enabled?}
  B -->|No| C[Keep opaque or glassy background]
  B -->|Yes| D{Workspace mode enabled?}
  D -->|No| E[Transparent bar]
  D -->|Yes| F{Normal or visible special workspace has windows?}
  F -->|Yes| G[Solid bar]
  F -->|No| E
Loading

Reviews (3) · Last reviewed commit: "Remove implementation-restating bar test..." · Reviewed by Greptile

Comment thread shell/plugins/bar/Bar.qml Resolved
@epgeroy

epgeroy commented Nov 11, 2026

Copy link
Copy Markdown
Author

@jandrusk — the conflicts are resolved in 73bf16a8. I merged current quattro (e485c622) rather than rewriting the already-reviewed commits. GitHub now reports the PR as mergeable.

The resolution preserves upstream's background API, five layout sections, persistent widget hosts, notch handling and drag behavior, while retaining the earlier click-target, special-workspace and sampler-race fixes.

Facade re-verification also covered the new upstream contracts:

  • First-party surfaces forward click targets, notch-aware sizing, hidden state, tray drawer state and popup handoff geometry.
  • Third-party facades follow their own persistent widget host, including duplicate plugin copies.
  • Popup state updates immediately; removing one duplicate retains the surviving facade and its click target.

The new bar-transparency QML fixture exercises the real bar and widget hosts, not just source-text assertions. It and the authentication-boundary runtime, widget-contract, sampler, bar, drag, notch, clipping, tray/menu, keyboard-panel, palette, config, clock, weather and text-format tests pass.

I also ran the merged branch's actual desktop shell on Hyprland 0.57.1, inspected full-screen captures, verified solid → transparent → identical solid pixels, and opened audio/display panels. The original desktop shell and settings were restored afterward. Physical dual-monitor hotplug was not repeated.

Standalone Qt qmllint rejects the same Quickshell-specific tooltip-anchor syntax on unchanged upstream and the merged branch; actual Quickshell runtime tests pass. The PR description has been updated for the current configuration API and validation scope.

Comment thread test/shell.d/config-test.sh Resolved
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants