PhotoDemon icon indicating copy to clipboard operation
PhotoDemon copied to clipboard

[BUG] - Light-colored top menu bar despite system-wide dark theme setting

Open suprunchuk opened this issue 1 year ago • 3 comments

Version information

2024.12

Describe the bug

The application's top menu bar appears in light theme while the rest of the application respects the system-wide dark theme setting.

How can I reproduce the bug?

Steps to Reproduce:

  1. Enable system-wide dark theme in Windows 11 settings
  2. Download PhotoDemon 2024.12
  3. Launch PhotoDemon
  4. Observe the top menu bar

Actual Result:

Top menu bar displays with light theme colors, creating inconsistency with the rest of the dark-themed application

Expected Result:

Top menu bar should match the system-wide dark theme setting, maintaining visual consistency throughout the application

Sample images and/or screenshots

img-2024-12-10-19-59-31

Thank you!

As a "thank you" for your help, I am happy to add your name to PhotoDemon's contributor list. Please let me know what name (and optional website link) you'd like me to use. Pasha Suprunchuk https://github.com/suprunchuk

suprunchuk avatar Dec 10 '24 17:12 suprunchuk

Thank you for suggesting this change, @suprunchuk . A similar issue was raised in https://github.com/tannerhelland/PhotoDemon/issues/397 . Let me quote my comment from that thread:

Themed menus and title-bars are on my TODO list and I completely agree: PhotoDemon would benefit greatly from them. I have already merged code to activate a dark title-bar but it looks atrocious with PhotoDemon's current bright menus, so I have disabled that feature until PhotoDemon's menus can be properly dark-themed.

It is hard to find time to address issues that are primarily cosmetic, especially when the workload involved is large.

I will keep this issue open and hopefully find time for it at some point in the future.

tannerhelland avatar Dec 12 '24 17:12 tannerhelland

Just discovered Windhawk, a tweaks tool for Windows and there's a tweak there for enabling dark mode in Win32 menus, based on this code: https://github.com/adzm/win32-darkmode

It doesn't work on the top menu bar in PhotoDemon, but it does apply to the pullouts. Perhaps some tweaking can get the top-bar to work -- with this method, you wouldn't have to owner-draw the entire menu

Image

Kroc avatar Sep 12 '25 12:09 Kroc

Thank you for sharing that find, @Kroc! Looks like a nice solution for menus on Win 10+ builds.

tannerhelland avatar Sep 12 '25 16:09 tannerhelland