Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions shell-launcher-applet/package/launcheritem.qml
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Copy link
Copy Markdown

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
In `shell-launcher-applet/package/launcheritem.qml` at line 352:

**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.

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

Copy link
Copy Markdown

Choose a reason for hiding this comment

The 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 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.

Prompt for AI agents
In `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 {
Expand Down
Loading