Menus stuck in dark mode

Things you’d like to miss in the future...
Forum rules
:warnred20: :warnred20: :warnred20: :warnred20: :warnred20: READ THIS AND DO IT!!! :warnred20: :warnred20: :warnred20: :warnred20: :warnred20:

:info: Please include the following information:
1) Your XYplorer Version (e.g., v28.00.0801)
2) Your Windows Version (e.g., Win 11)
3) Your Screen Scaling Percentage (e.g., 125%).

:info: We strongly recommend adding your Windows Version and Screen Scaling Percentage to the Location field in your Profile or to your Signature. That way, you only have to type them once, and we won't have to search for that vital information.

:info: When attaching an Image, please use the Attachment tab at the bottom of your post and click "Add files".

:warnred20: :warnred20: :warnred20: :warnred20: :warnred20: READ THIS AND DO IT!!! :warnred20: :warnred20: :warnred20: :warnred20: :warnred20:
Post Reply
jaykay109
Posts: 11
Joined: 11 Dec 2013 22:57

Menus stuck in dark mode

Post by jaykay109 »

In the latest release (22.80), my menus are stuck in dark mode while I have the rest of XYplorer set to use light mode. I am assuming this is because it is honoring my Windows settings (which I have set to dark mode) instead of the application-specific settings. Is there a setting I am missing in the configuration somewhere?
To see the attached files, you need to log into the forum.

klownboy
Posts: 4468
Joined: 28 Feb 2012 19:27
Location: Windows 11, 25H2 Build 26200.8737 at 100% 2560x1440

Re: Menus stuck in dark mode

Post by klownboy »

As long as you're in Windows dark mode that's the way it is. Please refer to this post viewtopic.php?p=195631#p195631 where I asked the same thing.

admin
Site Admin
Posts: 66620
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Menus stuck in dark mode

Post by admin »

In the next version you can stop this:

Code: Select all

    + Admin Settings: Added a way to prevent dark menus in XYplorer when Windows is in 
      Dark Mode.
        eAP_IgnoreDarkWindows = 16384    
      In the "Admin.ini" file (located where "XYplorer.exe" is) add the following (or add 
      that value to the value that's already there):
        [Settings]
        Profile=16384
(For technical reasons this cannot be done via Configuration or even via tweak in the INI-file; it's too deep.)

Filehero
Posts: 2734
Joined: 27 Feb 2012 18:50
Location: Windows 11@100%

Re: Menus stuck in dark mode

Post by Filehero »

I "need" the opposite switch. :mrgreen:

I know, I know ... ;)

admin
Site Admin
Posts: 66620
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Menus stuck in dark mode

Post by admin »

:biggrin:

jaykay109
Posts: 11
Joined: 11 Dec 2013 22:57

Re: Menus stuck in dark mode

Post by jaykay109 »

This worked, thank you! (I had to create the Admin.ini file from scratch, as it was not there already.)
admin wrote: 07 Feb 2022 16:05 In the next version you can stop this:

Code: Select all

    + Admin Settings: Added a way to prevent dark menus in XYplorer when Windows is in 
      Dark Mode.
        eAP_IgnoreDarkWindows = 16384    
      In the "Admin.ini" file (located where "XYplorer.exe" is) add the following (or add 
      that value to the value that's already there):
        [Settings]
        Profile=16384
(For technical reasons this cannot be done via Configuration or even via tweak in the INI-file; it's too deep.)

admin
Site Admin
Posts: 66620
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Menus stuck in dark mode

Post by admin »

Yep, you did the right thing. :tup:

Post Reply