@@ -166,8 +166,8 @@ void MainWindow::enableAcrylicBlur() {
166166 DwmExtendFrameIntoClientArea (hwnd, &margins);
167167
168168 // Step 2: Try Windows 11 system backdrop (DWMWA_SYSTEMBACKDROP_TYPE = 38)
169- // Value 3 = DWMSBT_TRANSIENTWINDOW (Acrylic), Value 2 = DWMSBT_MAINWINDOW (Mica)
170- int backdropType = 3 ;
169+ // Value 2 = DWMSBT_MAINWINDOW (Mica) — same as File Explorer
170+ int backdropType = 2 ;
171171 HRESULT hr = DwmSetWindowAttribute (hwnd, 38 , &backdropType, sizeof (backdropType));
172172
173173 // Step 3: If Win11 backdrop failed, use SetWindowCompositionAttribute (Win10 1803+)
@@ -192,7 +192,7 @@ void MainWindow::enableAcrylicBlur() {
192192 ACCENT_POLICY policy = {};
193193 policy.AccentState = 4 ; // ACCENT_ENABLE_ACRYLICBLURBEHIND
194194 policy.AccentFlags = 2 ; // ACCENT_FLAG_DRAW_ALL
195- policy.GradientColor = 0x99191B21 ; // AABBGGRR — dark tint
195+ policy.GradientColor = 0x66191B21 ; // AABBGGRR — lighter tint for subtle blur
196196
197197 WINDOWCOMPOSITIONATTRIBDATA data = {};
198198 data.Attrib = 19 ; // WCA_ACCENT_POLICY
@@ -266,17 +266,18 @@ void MainWindow::paintEvent(QPaintEvent* event) {
266266 painter.setRenderHint (QPainter::Antialiasing);
267267
268268 // ── Semi-transparent dark background allowing desktop blur to show through ──
269+ // Lower alpha = more see-through (like File Explorer's Mica effect)
269270 QLinearGradient bgGrad (0 , 0 , rect ().width (), rect ().height ());
270- QColor color1 (25 , 27 , 33 ); color1.setAlpha (170 ); // ~65 % opacity
271- QColor color2 (18 , 19 , 23 ); color2.setAlpha (170 );
271+ QColor color1 (25 , 27 , 33 ); color1.setAlpha (115 ); // ~45 % opacity — subtle like File Explorer
272+ QColor color2 (18 , 19 , 23 ); color2.setAlpha (115 );
272273 bgGrad.setColorAt (0.0 , color1);
273274 bgGrad.setColorAt (1.0 , color2);
274275 painter.fillRect (rect (), bgGrad);
275276
276277 // ── Large warm orange/red ambient glow (top right, behind the banner) ──
277278 QRadialGradient glow1 (rect ().width () * 0.75 , rect ().height () * 0.2 , rect ().width () * 0.6 );
278279 QColor warmRed (220 , 60 , 40 ); // vibrant orange-red
279- warmRed.setAlpha (35 );
280+ warmRed.setAlpha (20 ); // Reduced to match lighter background
280281 glow1.setColorAt (0 , warmRed);
281282 glow1.setColorAt (0.5 , QColor (warmRed.red (), warmRed.green (), warmRed.blue (), 15 ));
282283 glow1.setColorAt (1 , QColor (0 , 0 , 0 , 0 ));
@@ -285,7 +286,7 @@ void MainWindow::paintEvent(QPaintEvent* event) {
285286 // ── Subtle secondary glow (bottom left) ──
286287 QRadialGradient glow2 (rect ().width () * 0.2 , rect ().height () * 0.8 , rect ().width () * 0.5 );
287288 QColor warmAmber (180 , 100 , 40 );
288- warmAmber.setAlpha (20 );
289+ warmAmber.setAlpha (12 ); // Reduced to match lighter background
289290 glow2.setColorAt (0 , warmAmber);
290291 glow2.setColorAt (1 , QColor (0 , 0 , 0 , 0 ));
291292 painter.fillRect (rect (), glow2);
0 commit comments