Files
loki/scripts
g-butandClaude Sonnet 4.6 6bf9fefd2c fix(beacon): remove WA_TranslucentBackground — end PyQt transparency bug
Root cause: WA_TranslucentBackground + QGraphicsDropShadowEffect causes
fully-transparent windows on Linux without compositor support (common on
NVIDIA/X11 setups). Both the stop and confirm popups were affected.

Fix:
- Remove WA_TranslucentBackground from BasePopup
- Use QPalette to paint solid card-color background on the window itself
  (window bg = card bg = seamless visual, rounded border still visible)
- Remove QGraphicsDropShadowEffect — only meaningful with transparency
- Collapse outer layout margins 16→0 (were shadow bleed space only)
- Remove QGraphicsDropShadowEffect import (unused)

Applies to both ContinuePopup (stop mode) and ConfirmPopup (destructive
command confirmations). Both inherit from BasePopup.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-08 11:08:35 +02:00
..