Skip to content

fix(glass): glass and pointer light on Plasma applet popups; document Adaptive panel opacity - #25

Merged
arcultus merged 2 commits into
mainfrom
fix/glass-applet-popups
Nov 30, 2026
Merged

arcultus merged 2 commits into
mainfrom
fix/glass-applet-popups

Conversation

@arcultus

@arcultus arcultus commented Nov 30, 2026 •

Copy link
Copy Markdown
Contributor

What

Applet popups get the popup treatment. Plasma applet popups (calendar, notifications, system tray, third-party plasmoid popups) use KWin's AppletPopup window type. The effect didn't recognise it, so these popups were treated as app windows: no pointer light or lens, the window corner radius, and the Application windows toggle. A new isPopupLike() helper now counts them as menus/popups everywhere the effect classifies windows, including the popup match type for D-Bus registrations. The debug dump also prints each window's type.

Adaptive panel opacity is documented. With a panel's Opacity on Adaptive, Plasma draws the panel and its widgets' popups solid whenever a window touches the panel (Opaque always does), so the glass disappears. This is Plasma's behaviour, not the effect's.

  • Both READMEs now explain it and recommend Translucent.
  • The Fluctus Glass settings page shows a note while global mode is on.
  • The dock's Appearance page shows a notice when its panel isn't Translucent, with a Make Translucent action. It sets the panel's own Opacity through new FluctusApplet::panelOpacityMode / setPanelOpacityMode().

Testing

  • just build, just test, just test-san pass; clang-tidy is clean on the changed files.
  • Live: after re-login, the calendar popup gets the pointer light. Switching the panel to Translucent keeps the glass when a window touches the panel.
  • Live: with the panel set to Opaque, the dock's Appearance page shows the notice. Make Translucent switches the panel to Translucent, and the panel's own settings show the change.
  • Not tried live yet: the new note on the Fluctus Glass settings page.

🤖 Generated with Claude Code

arcultus and others added 2 commits November 30, 2026 22:11
Plasma applet popups (calendar, notifications, system tray and any
third-party plasmoid's popup) use KWin's AppletPopup window type, which
the effect didn't recognise, so they fell through to the app-window
rules: no pointer light or lens, the window corner radius and the
Application windows toggle. Count them as menus and popups everywhere
windows are classified, and print each window's type in the debug dump.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
In Adaptive mode, Plasma draws the panel and its widgets' popups solid
whenever a window touches the panel, and Opaque panels always do, so
there is nothing left to blur. Say so in both READMEs and in the
Fluctus Glass settings page while global mode is on. The dock's
Appearance page now shows a notice when its panel is not Translucent,
with a Make Translucent action that sets the panel's own Opacity.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@arcultus
arcultus merged commit 6f6e1bc into main Nov 30, 2026
2 checks passed
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.

1 participant