Repository navigation
feat: adjust launcher window shadow settings [cherry-pick] #860
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -348,8 +348,9 @@ AppletItem { | |
| DWindow.enableSystemResize: false | ||
| DWindow.enableSystemMove: false | ||
| DWindow.enableBlurWindow: true | ||
| DWindow.shadowOffset: Qt.point(0, 25) | ||
| DWindow.shadowColor: isDarkTheme ? Qt.rgba(0, 0, 0, 0.5) : Qt.rgba(0, 0, 0, 0.2) | ||
| DWindow.shadowRadius: 40 | ||
| DWindow.shadowOffset: DesktopIntegration.isTreeLand() ? Qt.point(0, 10) : Qt.point(0, 25) | ||
| DWindow.shadowColor: isDarkTheme ? Qt.rgba(0.23, 0.17, 0.17, 0.5) : Qt.rgba(0, 0, 0, 0.2) | ||
| D.ColorSelector.family: D.Palette.CrystalColor | ||
|
Comment on lines
+351
to
354
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🟡 Medium · Other launcher window keeps old shadow When the launcher is presented through the Apply the intended shadow settings to that window too, or confirm that this path is no longer used. Prompt for AI agentsIn `shell-launcher-applet/package/launcheritem.qml` at lines 351-354:
**Other launcher window keeps old shadow**
When the launcher is presented through the `qml/Main.qml` windowed path, when the launcher uses the window in `qml/Main.qml`, that window still has no `DWindow.shadowRadius`, `shadowOffset`, or `shadowColor` settings, so this launcher path keeps its previous shadow instead of getting the updated appearance.
Apply the intended shadow settings to that window too, or confirm that this path is no longer used. |
||
|
|
||
| StyledBehindWindowBlur { | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🟡 Medium · Non-TreeLand shadows use wrong offset
When the launcher runs under a non-TreeLand Wayland compositor,
DesktopIntegration.isTreeLand()returns true for every Wayland platform, so the binding selects the 10-pixel offset instead of 25 and the launcher shows the wrong shadow placement.Use a check that identifies TreeLand specifically rather than treating every Wayland platform as TreeLand.
Prompt for AI agents