Notepad3
Notepad3 copied to clipboard
system dialogs missing dark mode, not always centered, sometimes offscreen
System: WIN11 22H2 X64 Notepad3: 6.23.203.2 X64
The issue only applies to the default system dialogs (Save unsaved changes, "(?)"-dialogs in search and replace) and not the ones that have the "Don't display this message again." checkbox.
- Basically, the dark mode does not apply to some of the system dialogs and it would be nice if it did.
- If you have two monitors and one is larger than the other, those dialogs do not appear at the center on the window on the secondary monitor and sometimes they even appear on the wrong monitor.
- If you move the window partially off screen, those dialogs will also appear off screen unlike the custom dialogs (with checkboxes).
Supporting Win10 Dark-Mode for this good old Win32 UI application (Notepad2/3) uses an undocumented hack (https://github.com/ysc3839/win32-darkmode). We did not found a solution yet to show Win32 system dialogs using Dark-Mode theme.
You can switch to a Dark-Mode dialog for "Save unsaved changes" by switching to Menu -> Settings -> Mute Message Beeps
,
which has some minor disadvantages compared to corresponding system dialog.
Thank you, that fixes all problems with that dialog although that setting doesn't affect the "(?)"-dialogs in search and replace. You could replace those with your own ones too if that's not too much work.
And one more minor detail: That space above the buttons is a bit too big:
Something like this would look better:
Yes, this is one of the mentioned disadvantages (beside avoiding the message beep): System dialog can adapt dynamically to long file paths, custom dialog not, so the space is a compromise for displaying longer paths ...
I see, thanks.