Repository navigation
fix(frame): keep launcher edge-hover on the Top layer - #3453
Merged
bbedward merged 1 commit intoSep 17, 2026
Merged
Conversation
Opening the launcher by hovering the frame edge requested the Overlay layer via CompositorService.framePeerSurfacesUseOverlayForScreen(), which resolves to whether the frame is configured for the screen and is true in normal use. DankLauncherV2ModalConnected's frameOwnsConnectedChrome requires the Top layer, so the overlay request silently dropped connected-chrome anchoring: the launcher opened dead-centered with a different animation instead of emerging from the configured frame side. The keybind/bar-button path already opens on the Top layer by passing no overlay argument. The edge-hover trigger only runs in connected frame mode to begin with (gated by usesConnectedFrameChromeForScreen in this file's own eligible check), so there's no case where it needs standalone/overlay behavior. Match the keybind path.
bbedward
pushed a commit
that referenced
this pull request
Sep 17, 2026
Opening the launcher by hovering the frame edge requested the Overlay layer via CompositorService.framePeerSurfacesUseOverlayForScreen(), which resolves to whether the frame is configured for the screen and is true in normal use. DankLauncherV2ModalConnected's frameOwnsConnectedChrome requires the Top layer, so the overlay request silently dropped connected-chrome anchoring: the launcher opened dead-centered with a different animation instead of emerging from the configured frame side. The keybind/bar-button path already opens on the Top layer by passing no overlay argument. The edge-hover trigger only runs in connected frame mode to begin with (gated by usesConnectedFrameChromeForScreen in this file's own eligible check), so there's no case where it needs standalone/overlay behavior. Match the keybind path. (cherry picked from commit 579d6f7)
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.
Title: fix(frame): keep launcher edge-hover on the Top layer
Branch: launcher-edge-hover-overlay-layer (off upstream/master 641d65c, commit d891957)
Push with: git push origin launcher-edge-hover-overlay-layer
Description
Opening the launcher by hovering the frame edge (Frame → "Edge Hover Reveal") opens it centered with a different animation than opening it by keybind or the bar button, even with a frame side configured for it to emerge from.
Modules/Frame/FrameLauncherHoverZone.qml:46opens the launcher withCompositorService.framePeerSurfacesUseOverlayForScreen(zoneLoader.modelData)as the overlay-layer argument. That function resolves toframeConfiguredForScreen()(CompositorService.qml:719-721,763), true whenever the frame is enabled for the screen, so the hover trigger requests the Overlay layer in ordinary use.DankLauncherV2ModalConnected.qml:88requires the Top layer forframeOwnsConnectedChrometo be true, so on Overlay the connected side-anchoring is skipped andmodalX/modalYfall back to plain screen-center (lines 143-144), with the standalone animation curve instead of the connected one.The keybind/bar-button path (
DMSShellIPC.qml:1481,:1525) callsopenDankLauncherV2()with no arguments, so it stays on the Top layer and anchors correctly. The edge-hover zone only activates in connected frame mode to begin with (its owneligiblecheck already requiresCompositorService.usesConnectedFrameChromeForScreen), so there's no case where it needs the overlay/standalone behavior. This PR passesfalseexplicitly instead:_setDankLauncherV2TriggerUsesOverlayLayer'svalue === truecheck treats an explicitfalsethe same as the keybind path's omitted argument, so both land on the Top layer.Same gate shape (
frameOwnsConnectedChromerequiring the Top layer) also affects the power menu, per a comment on #3401 — that one hardcodesuseOverlayLayer: trueinPowerMenuModal.qmlagainst the identical check inDankModalConnected.qml:40. Not touched here: fixing it there means editing the gate shared by every connected modal, not just this one call site.Type of change
Related issues
Fixes #3394
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(No Go changes, no new strings, no new behavior to document, so no dlx-docs PR.)
Validation
Tested on Hyprland, frame mode connected,
frameLauncherEmergeSide: bottom, via./dms-dev:make lint-qml— PASS (3 entrypoints)prek run --files quickshell/Modules/Frame/FrameLauncherHoverZone.qml— clean