Skip to main content
Inspiring
March 11, 2024
質問

White menu and application bar even in the dark and darkest theme

  • March 11, 2024
  • 返信数 3.
  • 747 ビュー

OS: Windows 10

 

Intended behaviour: Application bar and manu bar are dark in the "dark" and "darkest" theme.

Actual behaviour: White menu and application bar even in the dark and darkest theme

 

このトピックへの返信は締め切られました。

返信数 3

MihKr
Participant
September 11, 2024

With oled monitor it's double annoying, than ever

Participant
July 17, 2024

Same issue here. I'm surprised not more people are talking about it. The new UI looks much worse. Seems more like a downgrade. I just switched back to the older version

DiodorS作成者
Inspiring
July 19, 2024

I still stick to Bridge 2022, new versions are unusable for me.

 

Bridge 2022 is almost perfect - snappy (current version: laggy), previews load instantly (current version: I see low-res preview for about 1s after selecting a photo), filtering works fast (current version: feels slower and laggier), star rating and filenames do not take too much space (current version: they take too much space), dark theme is good (current version: dark theme is unusable).

DiodorS作成者
Inspiring
March 11, 2024

Here's another ugly hack (Windows 10). You lose the menu bar, but I don't mind - I never use the menu in Bridge.

 

 

1. Run the Bridge

2. Run the following Power Shell script. Everything will be back to normal one you quit and run Bridge again.

 

 

Add-Type @"
    using System;
    using System.Runtime.InteropServices;

    public class DwmApi {
        [DllImport("dwmapi.dll")]
        public static extern int DwmSetWindowAttribute(IntPtr hwnd, int dwAttribute, ref int pvAttribute, int cbAttribute);
    }
    
    public class UxTheme {
        [DllImport("uxtheme.dll", SetLastError=true, CharSet=CharSet.Unicode)]
        public static extern int SetWindowTheme(IntPtr hWnd, string pszSubAppName, string pszSubIdList);
    }
    
    public class User32 {
        [DllImport("user32.dll")]
        public static extern int SetMenu(IntPtr hWnd, IntPtr hMenu);
    }
"@


$DARK_IMMERSIVE_ID = 20
$DARK_MODE = 1

# Function to disable DWM non-client area rendering
function SetDarkMode([IntPtr]$hwnd) {
    $attributeValue = $DARK_MODE
    [DwmApi]::DwmSetWindowAttribute($hwnd, $DARK_IMMERSIVE_ID, [ref]$attributeValue, 4)
    
    # Set window theme (optional)
    [UxTheme]::SetWindowTheme($hwnd, "DarkMode_Explorer", $null)
}

function HideMenuBar([IntPtr]$hwnd) {
    [User32]::SetMenu($hwnd, [IntPtr]::Zero)
}


$windowHandle = (Get-Process -Name "Adobe Bridge").MainWindowHandle
SetDarkMode $windowHandle
HideMenuBar $windowHandle

 

 


--