CodeEdit icon indicating copy to clipboard operation
CodeEdit copied to clipboard

🐞 Enforcing Dark Mode while system is in Light Mode doesn't apply everywhere

Open Jeehut opened this issue 1 year ago • 2 comments

Description

I let my system choose the light/dark mode based on time so I can use my apps in both modes to ensure both look good. But I enforce Xcode and now also CodeEdit to be in dark mode at all times. But this doesn't seem to be properly supported yet.

To Reproduce

  1. Set your system to light mode
  2. Set CodeEdit to Dark Mode via settings

Expected Behavior

The entire app should look dark. But the terminal and text editor clearly don't.

Version Information

CodeEdit: 0.3.3-alpha (44) macOS: 15.1 Xcode: 16.2

Additional Context

No response

Screenshots

Screenshot 2025-01-10 at 08 48 32

Jeehut avatar Jan 10 '25 07:01 Jeehut

In CodeEdit 0.3.4-dev (45), macOS 15.4.1, this issue occurs if settings are opened and modified while the initial open folder screen is active. However, if the full editor view is open, and settings are accessed with the theme set to dark, both the editor and terminal tabs correctly switch to dark mode.

aybarsnazlica avatar May 20 '25 09:05 aybarsnazlica

Another observation is that when the app window is closed (but the app is still running), and the macOS system appearance is changed (e.g. from Light to Dark or vice versa), reopening the window shows the old theme still applied in the editor and terminal areas. The UI does not reflect the updated system appearance even when match system appearance is enabled in settings.

aybarsnazlica avatar May 20 '25 14:05 aybarsnazlica